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 Stevenson <email@hidden>
- Date: Fri, 3 Nov 2006 19:35:40 -0800
On Nov 3, 2006, at 7:25 PM, N!K wrote:
What if I want some C code to run once at the start of the program,
not as part of a method whenever (if ever) it is invoked?
I have a suggestion, but try not to take it personally. :)
You may *think* you want to run C code at the start, but I'm betting
you actually don't. When you run into something that seems hard in
Cocoa, it's often because you're approaching it from the wrong angle.
If you try to get around the Cocoa conventions, you're probably going
to end up with a Mac app that doesn't act like a Mac app, and users
won't be happy.
Why are you actually trying to do? There's probably a better way.
- Scott
_______________________________________________
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