Re: orderOut a sheet while app is hidden
Re: orderOut a sheet while app is hidden
- Subject: Re: orderOut a sheet while app is hidden
- From: Nico <email@hidden>
- Date: Tue, 10 Dec 2002 19:41:57 +0100
On Dienstag, Dezember 10, 2002, at 06:05 Uhr, Matt Covey wrote:
[self setOrderOutNeeded: YES]; // (set our internal flag)
if( ! [self haveAddedAsUpdateObserver] )
{
[self setHaveAddedAsUpdateObserver: YES];
[[NSNotificationCenter defaultCenter]
addObserver: ...
selector: ...
name: NSWindowDidUpdateNotification
object: ...
];
}
Looks great, but please tell me how to implement this part!
My window controller doesn't respont to the first three
methods. Must I derive from a special class?
I also don't know exactly how to use addObserver:... .
I'm feeling very stupid now. :(
Nico
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.