I am wondering what is the difference between release and dealloc? After reading the rules of memory management (see below). I think that most of the time I will use the release. However, I wanted to know what to do for the properties.
@property (save) ....
I use dealloc, but after reading this article I am not sure if this is correct.
You get ownership of the object if you create it using a method whose name begins with "alloc" or "new" or contains "copy" (for example, alloc, newObject or mutableCopy), or if you send to save the message. You are responsible for refraining from owning your own property through release or auto-advertising. At any other time, when you receive an object, you should not let it go.
iphone
jp chance
source share