On Wed, 23 Jun 2010 21:11:40 -0300, Patrick William Walker <[email protected]> said: >... beyond me but here it is. > >NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults]; > >[prefs setObject: @"120" forKey: @"Length"]; > >[prefs synchronize]; > > >When the program is run in the iPhone simulator (v3.2, not using 4.0 yet), it just dies.
These are irreproducible results. If you just copy and paste your code into the applicationDidFinishLaunching method of a completely new project, it works fine. So clearly something else is going on - something you are not mentioning. m. -- matt neuburg, phd = [email protected], <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
