What is the difference between auto release & manu

2019-09-09 21:18发布

问题:

I know there is two ways to release the memory of an object in objective C. The first one is "Autorelease" & the another one is manual release by using [objectName release];

I want to know the difference between them. What are all the things we should remember while choosing the release type?

回答1:

try this link

http://forums.macrumors.com/showthread.php?t=703441

This will give you the difference between the release and autorelease