• 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: Help. How to use the argument list passed in NSApplicationMain?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help. How to use the argument list passed in NSApplicationMain?


  • Subject: Re: Help. How to use the argument list passed in NSApplicationMain?
  • From: Justin Spahr-Summers <email@hidden>
  • Date: Thu, 24 Feb 2005 08:04:14 -0600

The class doesn't change if you use it somewhere differently; you can
access the methods of NSProcessInfo anywhere, if I'm not mistaken.

On Wed, 23 Feb 2005 16:56:19 -0800 (PST), M M <email@hidden> wrote:
> Hi Ben,
>
> I tried to use NSProcessInfo like the ff and got the
> argument list.
>
> NSProcessInfo* processInfo= [NSProcessInfo
> processInfo];
>     NSArray *commandLineArguments= [processInfo
> arguments];
>
> but i would like to use the arguments in my Controller
> class which is my main dialog.
>
> How can i get the argument list after launching the
> main dialog or is it possible to get it during
> awakeFromNib?
> How can i use NSProcessInfo in my Controller class?
 _______________________________________________
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: 
 >Re: Help. How to use the argument list passed in NSApplicationMain? (From: Ben Golding <email@hidden>)
 >Re: Help. How to use the argument list passed in NSApplicationMain? (From: M M <email@hidden>)

  • Prev by Date: Re: Binding name must be same as ivar name?
  • Next by Date: Setting up CoreAudio Package for Audio/Midi Setup icons?
  • Previous by thread: Re: Help. How to use the argument list passed in NSApplicationMain?
  • Next by thread: user defaults - NSDateTimeOrdering string
  • Index(es):
    • Date
    • Thread