Re: Access to argc & argv
Re: Access to argc & argv
- Subject: Re: Access to argc & argv
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 26 Oct 2005 19:59:37 +0100
[[NSProcessInfo processInfo] arguments]
-- Finlay
On 26/10/05, George Lawrence Storm <email@hidden> wrote:
> Starting with a traditional Cocoa application in main() we pass argc
> & argv into NSApplicationMain()
> i.e.: return NSApplicationMain(argc, (const char **) argv);
>
> I need to gain access to argc & argv at a point later in my program.
>
> I am unable to locate an acessor from NSApplication. Is there one I
> am missing?
>
> Otherwise as I look back into the archives I see conflicting
> recommendations as as to if I should access them through
> NSUserDefaults or NSProcessInfo.
>
> -----
>
> 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
>
_______________________________________________
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