• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notification when displays are detected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Notification when displays are detected? (From: Jacob Schwartz <email@hidden>)
 >Re: Notification when displays are detected? (From: "Paul Sanders" <email@hidden>)
 >Re: Notification when displays are detected? (From: Jacob Schwartz <email@hidden>)
 >Re: Notification when displays are detected? (From: Dave Keck <email@hidden>)
 >Re: Notification when displays are detected? (From: Jacob Schwartz <email@hidden>)

  • Prev by Date: Re: Notification when displays are detected?
  • Next by Date: Reference NSSearchFieldCell within NSSearchField?
  • Previous by thread: Re: Notification when displays are detected?
  • Next by thread: Re: Notification when displays are detected?
  • Index(es):
    • Date
    • Thread