• 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: Newbie:initialize at app. startup?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie:initialize at app. startup?


  • Subject: Re: Newbie:initialize at app. startup?
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 10 Sep 2006 08:18:47 -0700


On Sep 10, 2006, at 7:57 AM, Marcus Pedersén wrote:

Hi all!
If I want to init and run some code before my interface is up and running, like initialize my Tablewiev with values at startup (suppose that the interface must be up for that). Read in values from files aso. How do I do that?

Consider...

-[NSObject awakeFromNib]; (NSNibAwaking informal protocol)
-[NSApplication applicationDidFinishLaunching:]
-[NSApplication applicationWillFinishLaunching:]

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Protocols/NSNibAwaking_Protocol/index.html>

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/Classes/NSApplication_Class/Reference/Reference.html#// apple_ref/occ/instm/NSObject/applicationDidFinishLaunching:>

-Shawn


_______________________________________________ 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: 
 >Newbie:initialize at app. startup? (From: Marcus Pedersén <email@hidden>)

  • Prev by Date: Tight NSBox around view
  • Next by Date: Re: Tight NSBox around view
  • Previous by thread: Newbie:initialize at app. startup?
  • Next by thread: Tight NSBox around view
  • Index(es):
    • Date
    • Thread