• 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: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
      • From: DeNigris Sean <email@hidden>
References: 
 >Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays) (From: DeNigris Sean <email@hidden>)
 >Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays) (From: Alastair Houghton <email@hidden>)
 >Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays) (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: UITabBarController Confusion
  • Next by Date: Rescheduling an NSTimer from a completion method
  • Previous by thread: Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
  • Next by thread: Re: NSUserDefault and Negative numerical arguments (Was: Posting mouse clicks with multiple displays)
  • Index(es):
    • Date
    • Thread