Have you tried calling -synchronize before accessing user defaults to get a value (or after accessing them to set a value)? It should force a synchronization of all the defaults to disk.
- Zach On Oct 23, 2010, at 5:47 AM, Chris Idou wrote: > > > 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 (Cocoa-dev@lists.apple.com) > > 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: > http://lists.apple.com/mailman/options/cocoa-dev/zach%40drayer.name > > This email sent to z...@drayer.name _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com