Objective-C Memory Management
Just remember, you need to call release on a particular object if you do one of the following things:
- [myObj new]
- [myObj alloc]
- [myObj retain]
- [myObj copy]
In other words, remember the acronym NARC.
Just remember, you need to call release on a particular object if you do one of the following things:
In other words, remember the acronym NARC.
Copyright © 2012 Matthew Kimber. All Rights Reserved. Effector Theme by Carlo Franco.
Powered by Tumblr