Re: Command line arguments...
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.