• 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: Command line arguments...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command line arguments...


  • Subject: Re: Command line arguments...
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 21 Jun 2003 05:15:39 -0400

On Friday, June 20, 2003, at 11:04 PM, Jeff LaMarche wrote:

Does Cocoa provide a way to determine if command line arguments were passed in (e.g. ./MyProgram.App -mySpecialFlag), or would you have to subclass NSApplication to handle this?

Check out the NSProcessInfo class in Foundation.

sherm--

UNIX: Where /sbin/init is Job 1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Command line arguments... (From: Jeff LaMarche <email@hidden>)

  • Prev by Date: Re: TrollTech releases QT for Mac under GPL
  • Next by Date: Re: NSOpenGLView in NSSplitView, redraw problems
  • Previous by thread: Command line arguments...
  • Next by thread: Re: Command line arguments...
  • Index(es):
    • Date
    • Thread