> 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 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]

Reply via email to