• 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
How to get at argc/argv?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get at argc/argv?


  • Subject: How to get at argc/argv?
  • From: email@hidden (Simon Fraser)
  • Date: Wed, 10 Mar 2004 17:31:15 -0800 (PST)
  • Organization: AOL

This has stumped me, and Google doesn't seem to have the answer.

In a Cocoa app, how (other than changing the default main())
do you get at the argc/argv that were used to launch the app?
I would have expected NSApplication to squirrel them away
somewhere, or call the app delegate with them. But I can't see
that happening anywhere.

Simon
_______________________________________________
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.


  • Follow-Ups:
    • Re: How to get at argc/argv?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: setFrameAutosaveName question
  • Next by Date: Re: How to get at argc/argv?
  • Previous by thread: Re: setFrameAutosaveName question
  • Next by thread: Re: How to get at argc/argv?
  • Index(es):
    • Date
    • Thread