I still have some unclear understand about release and autorelease. What are the difference between both of them? I have this code. For facebook connection. I crash it somet
According to the Memory Management Programming Guide for Cocoa:
The autorelease method, defined by NSObject, marks the receiver for later release. By autoreleasing an object—that is, by sending it an autorelease message—you declare that you don't want to own the object beyond the scope in which you sent autorelease.
Also:
The autorelease method thus allows every object to use other objects without worrying about disposing of them.