lab 12: Objective C Tutorial: memory management and free
Closed this issue · 1 comments
jlacomis commented
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 commented
Moved to markfloryan#15