• 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: where does cocoa start up a program?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: where does cocoa start up a program?
      • From: N!K <email@hidden>
References: 
 >where does cocoa start up a program? (From: N!K <email@hidden>)

  • Prev by Date: Re: where does cocoa start up a program?
  • Next by Date: Re: where does cocoa start up a program?
  • Previous by thread: Re: where does cocoa start up a program?
  • Next by thread: Re: where does cocoa start up a program?
  • Index(es):
    • Date
    • Thread