Colors and NSUserDefaults
Colors and NSUserDefaults
- Subject: Colors and NSUserDefaults
- From: Jeremy Dronfield <email@hidden>
- Date: Sun, 7 Jul 2002 12:41:34 +0100
I'm trying to put a colour value into my NSUserDefaults object. I tried
using:
[prefs setObject:[myColorWell color] forKey:@"ColorSetting"];
which gives me a signal 10. There's nothing wrong with my prefs object;
it puts other values into the .plist file perfectly well. Also,
myColorWell performs its function in the application just fine, so there
can't be a problem with that. The only other default setting methods are
bool, float and integer, none of which are appropriate.
- Jeremy.
_______________________________________________
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.