Memory management in Cocoa & Objective-C tends to be confusing at times, especially when trapping and handling errors. Chris Hanson has written a nice article describing the basics of memory managment and error handling with @try
, @catch
, and @finally
code blocks.
Related Links: