Re: Close all windows
Re: Close all windows
- Subject: Re: Close all windows
- From: Shawn Erickson <email@hidden>
- Date: Tue, 30 Jan 2007 20:11:46 -0800
On Jan 30, 2007, at 8:58 AM, Theodore H. Smith wrote:
Is there some way to close all windows, before quit?
I'm getting some bugs happening with event ordering on quit, and
I'd like to fix them by quitting all windows myself before saving
the preferences as the final stage before quit.
Consider...
[[NSApp windows] makeObjectsPerformSelector:@selector(performClose:)
withObject:self] ;
... or maybe ...
[[NSApp windows] makeObjectsPerformSelector:@selector(close)];
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden