Re: NSApplicationMain arguments
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