Re: How to resolve conflict between 2 NSPanels?
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