• 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: Access to argc & argv
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Access to argc & argv (From: George Lawrence Storm <email@hidden>)

  • Prev by Date: Re: Access to argc & argv
  • Next by Date: Custom framework and Interface Builder.
  • Previous by thread: Re: Access to argc & argv
  • Next by thread: Re: Access to argc & argv
  • Index(es):
    • Date
    • Thread