Re: Notification when displays are detected?
Re: Notification when displays are detected?
- Subject: Re: Notification when displays are detected?
- From: Dave Keck <email@hidden>
- Date: Tue, 29 Dec 2009 09:56:04 -1000
> What is the difference between that center and my center?
The NSWorkspace notification center is usually reserved for
system-wide events (WillPowerOffNotification, WillSleepNotification,
DidPerformFileOperationNotification), while the +defaultCenter is
reserved for events occurring within the current application's context
(NSWindowWillMoveNotification, NSApplicationWillUnhideNotification).
The NSWorkspaceDidChangeScreenParametersNotification notification is
probably a better fit for NSWorkspace's notification center, but I
guess the implementors didn't think so.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden