• 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
cocoa and argv
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cocoa and argv


  • Subject: cocoa and argv
  • From: Brian Ling <email@hidden>
  • Date: Thu, 15 Aug 2002 01:33:55 -0700 (PDT)

Hi,

I seem to have a slight problem, I need to open a
cocoa app from the command line, with an argument.
When the app is open by:
myapp.app/Contents/MacOS/myapp argument

I can access argv from the main.m main function.
The problem is how can I access argv from my
Controller class?

Thanks.

Brian
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
_______________________________________________
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: cocoa and argv
      • From: Angela Brett <email@hidden>
    • Re: cocoa and argv
      • From: Pierre-Olivier Latour <email@hidden>
  • Prev by Date: Re: [TRTFM]ICMP ping using Obj-C
  • Next by Date: Getting classes from bundles in an array
  • Previous by thread: open textedit with UTF8 encoding
  • Next by thread: Re: cocoa and argv
  • Index(es):
    • Date
    • Thread