On 07/09/2012, at 4:36 AM, Jerry Krinock <je...@ieee.org> wrote: > But I'm still using my other triggers because sometimes my document opens > with no windows
Don't forget also that Cocoa will be creating instances of your document at all sorts of odd times with Autosave and Versions in play. This can play havoc with complex connections between elements of your app and throw up all sorts of weird bugs. Extensive testing is needed to catch all of these (and one reason I found using windowWillClose: was best for much of my tear-down in my case, because I skip the set-up associated with windows if there aren't any). --Graham _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com