• 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: NSApplicationMain arguments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplicationMain arguments


  • Subject: Re: NSApplicationMain arguments
  • From: Michael Vannorsdel <email@hidden>
  • Date: Fri, 11 Apr 2008 20:21:37 -0600

BTW, not sure why you're trying to feed in custom args but if it's for testing purposes you can tell Xcode what args to pass by getting info on your program under Executables and put the launch arguments in there.


On Apr 11, 2008, at 8:01 PM, email@hidden wrote:

'm trying to add some launch arguments to my executable by modifying
the arguments passed to main.m, but find that the new arguments are
completely ignored. No matter what I pass to NSApplicationMain the
executable launches with the same old default argsv[]. Is this not the
right approach? Should I rather subclass NSApplication? If so, how?
Any help appreciated. Thanks.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSApplicationMain arguments
      • From: email@hidden
References: 
 >NSApplicationMain arguments (From: email@hidden)

  • Prev by Date: Re: NSApplicationMain arguments
  • Next by Date: Custom view output to projector
  • Previous by thread: Re: NSApplicationMain arguments
  • Next by thread: Re: NSApplicationMain arguments
  • Index(es):
    • Date
    • Thread