• 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 get notification of rerun application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get notification of rerun application


  • Subject: Re: How to get notification of rerun application
  • From: "Shawn Erickson" <email@hidden>
  • Date: Thu, 20 Nov 2008 07:53:00 -0800

On Thu, Nov 20, 2008 at 6:37 AM, Macarov Anatoli
<email@hidden> wrote:

> 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;
> }

That needs to be implemented by the object that is a delegate of NSApplication.

-Shawn
_______________________________________________

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

References: 
 >Re: How to get notification of rerun application (From: Macarov Anatoli <email@hidden>)
 >Re: How to get notification of rerun application (From: Macarov Anatoli <email@hidden>)

  • Prev by Date: Re: Which Mac models use the new 64-bit Objective-C ABI?
  • Next by Date: Plist -> array -> tableview
  • Previous by thread: Re: How to get notification of rerun application
  • Next by thread: Re: How to get notification of rerun application
  • Index(es):
    • Date
    • Thread