• 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: Application start-up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application start-up


  • Subject: Re: Application start-up
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 29 Aug 2005 23:02:56 +0200

Hello bas,

if you are loading objects from NIBs, then you can do things in the "awakeFromNib" method. You can also register to receive an NSApplicationHasFInishedLaunching notification, and do things then, or set an Object as the NSApp's delegate and react on the applicationDidFinishLaunching delegate method.

HTH

Alex

Am 29.08.2005 um 22:59 schrieb Bas Scheffers:

Hi,

I am new to the list, quite proficient C, Java, C# and various other languages, but very little GUI experience (been a server guy all this time) and just getting started with Cocoa dev in Objective- C. (Recen Mac switcher, yay!)

I can't find in the documentation how to do things at application start up. In my "Hello World", I have an NSTableView that I need to put some data in. The problem is that in the init of my controler, the NSTableView Outlet is stil nil, so while I can create my datasource, I can't bind it yet to the table.

What is the correct place to do this kind of thing?

Thanks for any pointers,
Bas.
_______________________________________________
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
  • Follow-Ups:
    • Re: Application start-up
      • From: Bas Scheffers <email@hidden>
References: 
 >Application start-up (From: Bas Scheffers <email@hidden>)

  • Prev by Date: Re: Apple crash reports
  • Next by Date: Re: Application start-up
  • Previous by thread: Application start-up
  • Next by thread: Re: Application start-up
  • Index(es):
    • Date
    • Thread