Foundation Tool & NSApplicationMain?
Foundation Tool & NSApplicationMain?
- Subject: Foundation Tool & NSApplicationMain?
- From: George Lawrence Storm <email@hidden>
- Date: Mon, 21 Nov 2005 16:04:45 -0800
I am in the process of converting a traditional Cocoa application
into a UNIX command line tool.
The project started life as a "Cocoa Application". Currently I am
working within XCode (2.2). The tool is working fine within the IDE,
but not under the Terminal.
If I attempt to start as a new "Foundation Tool" I cannot see anyway
to get it to function with NSApplicationMain, as the project "Target"
has no properties tab to allow me to set a principle class or nib
file (needed to use NSApplicationMain).
On the other hand leaving it as a Cocoa application it is not being
recognized by the "Terminal" application despite being moved to /bin.
(works fine in the IDE)
My question is how do I get a Cocoa application to work as a
"Foundation Tool", or get a Foundation tool to work using
NSApplicationMain.
-----
George Lawrence Storm
Macintosh Applications Development
Edmonds (Seattle), Washington
E-mail: <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