I was just reminded of something. I use GC in my app, and unless I
specifically disable collection for a window controller, it's
destroyed as soon as it loses key. I solved it by setting the
controller as the delegate of the window, disabling collection for the
window controller in windowDidLoad, and re-enabling it in
windowWillClose:. Is there another way?
-B
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]