After reading the previous thread on memory management of Nib objects,
I am unsure how it applies to memory-managed apps. The Garbage
Collection programming guide says that if you don't want the collector
to collect top-level Nib objects, you must maintain a strong reference
to them in your File's Owner, such as an Outlet.
That's fine, but what happens when the Owner goes away? Is it still
responsible for setting top-level Nib objects to nil before its -
finalize method is called or will the collector clean up the Nib
objects automatically?
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com