Re: Application start-up
Re: Application start-up
- Subject: Re: Application start-up
- From: Bas Scheffers <email@hidden>
- Date: Mon, 29 Aug 2005 22:23:04 +0100
Hi Alex,
Simply implementing awakeFromNib in my controler does what I need,
thanks!
I will make a note about the other ways and investigate them too,
they do seem more appropriate for a complex app.
Thanks for the quick response.
Cheers,
Bas.
On 29 Aug 2005, at 22:02, Alexander von Below wrote:
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