• 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: appicationDidFinishLaunching?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: appicationDidFinishLaunching?


  • Subject: Re: appicationDidFinishLaunching?
  • From: William Bumgarner <email@hidden>
  • Date: Tue, 25 Apr 2006 10:50:20 -0700

On Apr 25, 2006, at 10:43 AM, Alan Smith wrote:
I'm afraid I didn't remember. I'll do that, lol. But how do I enable many
classes to implement that method?

Add any instances that you want to the NSNotificationCenter, observing the NSApplicationDidFinishLaunchingNotification notification.


Of course, the tricky part is to actually have your instances add themselves to the notification center prior to the notif being sent. And this always raises the question of what you are doing at that point that could not be done as a normal part of object initialization.
_______________________________________________
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
References: 
 >appicationDidFinishLaunching? (From: "Alan Smith" <email@hidden>)
 >Re: appicationDidFinishLaunching? (From: Nick Zitzmann <email@hidden>)
 >Re: appicationDidFinishLaunching? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: appicationDidFinishLaunching?
  • Next by Date: Re: appicationDidFinishLaunching?
  • Previous by thread: Re: appicationDidFinishLaunching?
  • Next by thread: Re: appicationDidFinishLaunching?
  • Index(es):
    • Date
    • Thread