• 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
Multiple instances of [NSUserDefaults standardUserDefaults]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple instances of [NSUserDefaults standardUserDefaults]


  • Subject: Multiple instances of [NSUserDefaults standardUserDefaults]
  • From: Chris Idou <email@hidden>
  • Date: Sat, 23 Oct 2010 03:47:51 -0700 (PDT)


I'm printing out the address of [NSUserDefaultsstandardUserDefaults] in several
places in my app, and getting a different result! This is causing me problems.

I'm using a plugin architecture, so I'm guessing this has something to do with
it, but even so, I haven't seen anything like this happen before as far as being
multiple instances of global variables.

Has anyone got any thoughts?



_______________________________________________

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: Multiple instances of [NSUserDefaults standardUserDefaults]
      • From: Zach Drayer <email@hidden>
    • Re: Multiple instances of [NSUserDefaults standardUserDefaults]
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: [NSImage] Bug in System Preferences? [solved]
  • Next by Date: DO over unnamed sockets
  • Previous by thread: Crazy UITableView Display Issue
  • Next by thread: Re: Multiple instances of [NSUserDefaults standardUserDefaults]
  • Index(es):
    • Date
    • Thread