Have you called [[NSUserDefaults standardUserDefaults]
registerDefaults:dictionaryObject] prior to any calls to setObject (and
friends)?
--
Adam Younce
ayou...@ripcord.net
On Jun 24, 2010, at 10:10 PM, cocoa-dev-requ...@lists.apple.com wrote:
> On Jun 23, 2010, at 5:11 PM, Patrick William Wal
On Jun 24, 2010, at 2:40 PM, Jens Alfke wrote:
> On Jun 23, 2010, at 5:11 PM, Patrick William Walker wrote:
>> NSUserDefaults *prefs = [NSUserDefaults standardUserDefaults];
>>
>> [prefs setObject: @"120" forKey: @"Length"];
>>
>> [prefs synchronize];
>>
>>
>> When the program is run
On Jun 23, 2010, at 5:11 PM, Patrick William Walker wrote:
> 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
On Wed, 23 Jun 2010 21:11:40 -0300, Patrick William Walker
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, no
... 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. Nothing on the console log s