Re: How to get notification of rerun application
Re: How to get notification of rerun application
- Subject: Re: How to get notification of rerun application
- From: Macarov Anatoli <email@hidden>
- Date: Thu, 20 Nov 2008 06:37:25 -0800 (PST)
I found this function. But it doesn't respond to reopen application. I just declare it in class MainMenu.nib. This is my code:
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag
{
NSLog(@"****Reopen****");
return YES;
}
or I should create notificationCenter?
How it will correct?
________________________________________________________
Вы уже с Yahoo!?
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com
_______________________________________________
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