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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com