Re: where does cocoa start up a program?
Re: where does cocoa start up a program?
- Subject: Re: where does cocoa start up a program?
- From: Scott Ribe <email@hidden>
- Date: Sat, 04 Nov 2006 09:50:51 -0700
- Thread-topic: where does cocoa start up a program?
> Thank you for the specific direction to try.
While it doesn't really hurt to put something in main.m (or main.mm if you
have C++ code), it's often the case that the data you want to initialize is
sufficiently related to the app startup process that it's better to put it
in one of those app delegates where you have access to the app environment
at various stages. And even if the data really stands on its own without
reference to those Cocoa framework objects, it still doesn't hurt to put it
in one of the "usual & expected" places where a Cocoa app starts itself.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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