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: N!K <email@hidden>
- Date: Sat, 4 Nov 2006 08:31:30 -0800
On Nov 3, 2006, at 7:35 PM, Scott Stevenson wrote:
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. :)
No problem! :)
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?
Simplified, I have a substantial amount of C code that generates
data from math functions and rewriting it is definitely unappealing
(labor, mistakes, etc.). That's all hidden, while Cocoa and its
conventions are for control and for displaying and printing the
generated data.
Sound OK?
There's probably a better way.
All suggestions are appreciated.
- Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40alumni.purdue.edu
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