I am trying to find good resource of book to learn more about memory management in Objective C. To be more exact I wonder when and how to use properly alloc, init, retain and/or copy on object, how it's managed, and released; besides what autorelease is and how to use it, when And why? how to handle this in simple methods to work with incoming argument.
Coming from Java this topic is kind of new one for me, and I am aware how bad memory management can create memory leaks, so I need to dig as deep as possible ;-) from the very beginning to understand.