Cocoa memory management - object going nil on me
- by SirRatty
Hi all,
Mac OS X 10.6, Cocoa project, with retain/release gc
I've got a function which:
iterates over a specific directory, scans it for subfolders (included nested ones), builds an NSMutableArray of strings (one string per found subfolder path), and returns that array.
e.g. (error handling removed for brevity).
NSMutableArray *…