Re: About notification NSWindowDidMiniaturizeNotification
Re: About notification NSWindowDidMiniaturizeNotification
- Subject: Re: About notification NSWindowDidMiniaturizeNotification
- From: Jim McGowan <email@hidden>
- Date: Tue, 08 Mar 2011 11:45:29 +0000
>
> I write the following code and try to observe the window miniaturized notification, it doesn't work, can anyone tell me why?
> ...
> // Observing window status
> [self registerDefaultNotification:NSWindowDidMiniaturizeNotification withSelector:@selector(windowMiniaturized:) onObject:nil];
>
with "onObject:nil" you are not providing an NSWindow instance to observe
Jim
_______________________________________________
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