• 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
Foundation Tool & NSApplicationMain?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Foundation Tool & NSApplicationMain?
      • From: Uli Kusterer <email@hidden>
    • Re: Foundation Tool & NSApplicationMain?
      • From: Jerry Krinock <email@hidden>
    • Re: Foundation Tool & NSApplicationMain?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Obtaining an array of the names of the attributes and relations of a class
  • Next by Date: Re: NSURLConnection not reentrant?
  • Previous by thread: Looking for an engineer with Cocoa and CoreData prog. experience
  • Next by thread: Re: Foundation Tool & NSApplicationMain?
  • Index(es):
    • Date
    • Thread