• 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: Starting Cocoa apps from the command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting Cocoa apps from the command line


  • Subject: Re: Starting Cocoa apps from the command line
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 11 Dec 2008 10:55:46 -0800


On Dec 11, 2008, at 10:35 AM, Shayne Wissler wrote:

Yes, that is exactly what I want, and your solution worked brilliantly! Thanks!

Great!

Can you perhaps suggest a book from which I would have learned this
and other architectural nuances of systems programming on the Mac?

I can't, partly because I haven't done an exhaustive survey of all programming books on Mac OS X topics. But mostly because this is an uncommon case, and as Bill says, the standard approach is to create a bundled application, so there's probably little discussion of this case, which is relatively rare.


Although not so rare that it hasn't been discussed multiple times on both the Carbon and Cocoa programming lists; you're not the first person to run into this, and it's a fairly common desire especially for authors of scripting language runtimes who might want to be able to run a script from the command line that becomes a UI-capable application later.

You could certainly file a bug with Apple asking for explicit documentation about this usage case.

-eric

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Starting Cocoa apps from the command line
      • From: "Shayne Wissler" <email@hidden>
References: 
 >Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: Eric Schlegel <email@hidden>)
 >Re: Starting Cocoa apps from the command line (From: "Shayne Wissler" <email@hidden>)

  • Prev by Date: Re: Starting Cocoa apps from the command line
  • Next by Date: Re: [SOLVED] Re: NSTextField setStringValue not updating properly
  • Previous by thread: Re: Starting Cocoa apps from the command line
  • Next by thread: Re: Starting Cocoa apps from the command line
  • Index(es):
    • Date
    • Thread