Copyright ã1997, All Rights Reserved.  

NSUserDefaults 

Category Name:	MiscColorExtensions
Declared In:	NSUserDefaults+MiscColorExtensions.h

Category Description
 
These are extensions to the NSUserDefaults class which can handle additional non-NSPPL compliant object values.  The propalby most wanted is easy NSColor support.

Method Types
 
- setColor:forKey:
- colorForKey:

Instance Methods
 
colorForKey:
- (NSColor *)colorForKey:(NSString *)defaultName

Invokes stringForKey: with key defaultName and uses the retrieved string to recreate the color object.  This method uses NSColors colorWithStringRepresentation: method which has to ensure that decoding of NSColor sublasses is handled properly. 

setColor:forKey:
- (void)setColor:(NSColor *)aColor forKey:(NSString *)defaultName

Uses setObject:forKey: to set the string value return by aColor's stringRepresentation method.