• 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: How to resolve conflict between 2 NSPanels?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to resolve conflict between 2 NSPanels?


  • Subject: Re: How to resolve conflict between 2 NSPanels?
  • From: glenn andreas <email@hidden>
  • Date: Fri, 11 Nov 2005 11:47:11 -0600


On Nov 11, 2005, at 11:34 AM, Luc Vandal wrote:

Hi,

I can't find anything about nil for this notification in the documentation... I did change @"NSWindowDidBecomeKeyNotification" to NSWindowDidBecomeKeyNotification but it did not fix the problem.

Luc



- (void)addObserver:(id)anObserver selector:(SEL)aSelector name: (NSString *)notificationName object:(id)anObject

Registers anObserver to receive notifications with the name notificationName and/or containing anObject. When a notification of name notificationName containing the object anObject is posted, anObserver receives an aSelector message with this notification as the argument. The method for the selector specified in aSelector must have one and only one argument. If notificationName is nil, the notification center notifies the observer of all notifications with an object matching anObject. (The objects are matched by comparing their pointers.) If anObject is nil, the notification center notifies the observer of all notifications with the name notificationName. anObserver may not be nil.
The notification center does not retain anObserver or anObject. Therefore, you should always send removeObserver: or removeObserver:name:object: to the notification center before releasing these objects.




Glenn Andreas                      email@hidden
 <http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to resolve conflict between 2 NSPanels? (From: Luc Vandal <email@hidden>)
 >Re: How to resolve conflict between 2 NSPanels? (From: j o a r <email@hidden>)
 >Re: How to resolve conflict between 2 NSPanels? (From: Luc Vandal <email@hidden>)
 >Re: How to resolve conflict between 2 NSPanels? (From: j o a r <email@hidden>)
 >Re: How to resolve conflict between 2 NSPanels? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: alias not resolving after a movePath
  • Next by Date: Re: alias not resolving after a movePath
  • Previous by thread: Re: How to resolve conflict between 2 NSPanels?
  • Next by thread: alias not resolving after a movePath
  • Index(es):
    • Date
    • Thread