Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
- Subject: Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
- From: Bill Bumgarner <email@hidden>
- Date: Tue, 11 Aug 2009 10:18:49 -0700
On Aug 11, 2009, at 10:04 AM, Kyle Sluder wrote:
On Tue, Aug 11, 2009 at 9:47 AM, Alastair
Houghton<email@hidden> wrote:
If you want to process the command line arguments, you can either
do so from
your main() function, before calling NSApplicationMain(), or you
can use
NSProcessInfo to examine them once your app is running.
I believe I suggested that at one point, but it was pointed out to me
that NSApplicationMain irreversibly munges argv before NSProcessInfo
accesses it.
What Alastar said; you have free reign over argv/argc prior to
calling NSApplicationMain().
b.bum
_______________________________________________
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