Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lab 12: Objective C Tutorial: memory management and free #134

Closed
jlacomis opened this issue Dec 6, 2015 · 1 comment
Closed

lab 12: Objective C Tutorial: memory management and free #134

jlacomis opened this issue Dec 6, 2015 · 1 comment

Comments

@jlacomis
Copy link
Contributor

jlacomis commented Dec 6, 2015

free isn't a method in NSObject (perhaps it was at the time of writing and it isn't any more). I'm not too familiar with Objective C memory management (other than knowing it uses reference counting), but I believe that the proper way to deallocate an object created with [SomeObject new] is with the release keyword (e.g., [SomeObject release]).

@aaronbloomfield aaronbloomfield changed the title Objective C Tutorial: memory management and free lab 12: Objective C Tutorial: memory management and free Jan 19, 2017
@aaronbloomfield
Copy link
Owner

Moved to markfloryan#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants