Re: Strange behavior of "NSUserDefaults"
Re: Strange behavior of "NSUserDefaults"
- Subject: Re: Strange behavior of "NSUserDefaults"
- From: Itrat Khan <email@hidden>
- Date: Wed, 21 Aug 2002 12:54:51 -0400
On Tuesday, August 20, 2002, at 04:48 PM, Frank Blome wrote:
tells me: "syntax error, found `forKey' " while compiling but I can
start the app after it.
If have even tried the code above in one line:
[[NSUserDefaults standardUserDefaults] setBool:[sender state]
forKey:@"CheckVersion"];
but the result is the same. It is basic work, but I can't fix this damn
syntax error...
I've seen this problem when I've accidentally added an option-space
somewhere in a line instead of a space. That was a couple of Project
Builder releases ago, but maybe it's the same problem you're having. Try
deleting and retyping the entire function.
Regards,
Itrat.
............................................................
Modeless Software, Inc.
London, Ontario (Canada)
Tel: +1 519 473 2037
Web: www.liquidledger.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.