• 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: Code to Run on Application Load
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code to Run on Application Load


  • Subject: Re: Code to Run on Application Load
  • From: Ben Lachman <email@hidden>
  • Date: Sat, 11 Mar 2006 23:38:59 -0500

Any class that is instantiated through interface builder is sent - awakeFromNib: upon loading. You can define this method in your controller object and set things up. Other objects are supposed to be sent an -init message of some sort and you can override this method to do object specific initialization.

HTH,

->Ben

On Mar 11, 2006, at 6:59 PM, Mitchell Hashimoto wrote:

Hi,

I am brand new to Cocoa development. I was wondering how to specify a
method or what method is run after the application, UI, etc. is
loaded? I use XCode.

Thank you,
Mitchell Hashimoto
 _______________________________________________
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

_______________________________________________ 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: 
 >Code to Run on Application Load (From: "Mitchell Hashimoto" <email@hidden>)

  • Prev by Date: Re: NSLog(@"%@",[NSProxy class]);
  • Next by Date: Re: NSLog(@"%@",[NSProxy class]);
  • Previous by thread: Re: Code to Run on Application Load
  • Next by thread: Re: Code to Run on Application Load
  • Index(es):
    • Date
    • Thread