Re: Pass command line arguments to the app?
Re: Pass command line arguments to the app?
- Subject: Re: Pass command line arguments to the app?
- From: Thomas Deniau <email@hidden>
- Date: Thu, 17 Jul 2003 16:48:21 -0400
On Thursday, July 17, 2003, at 03:26 PM, Chad Armstrong wrote:
How is it possible to pass command line parameters from a Cocoa
application to the rest of the app? The main() function has the argc
and argv and passes those to NSApplication. How might my other
classes be able to access those arguments?
use -[NSProcessInfo arguments]
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSProcessInfo.html
_______________________________________________
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.