Re: registerDefaults error and NSCoding protocol

2008-11-27 Thread Bill Bumgarner
From the documentation: ... A default’s value must be a property list, that is, an instance of (or for collections a combination of instances of): NSData,NSString, NSNumber, NSDate, NSArray, or NSDictionary. If you want to store any other type of object, you should typically archive it to c

registerDefaults error and NSCoding protocol

2008-11-27 Thread John Clayton
Hi, Question about registering defaults - I'd assumed the following would be valid, assuming that GuideSettings implements the NSCoding protocol - but my app doesn't like this and throws a bad access exception in CFRetain when I run this code: The bit that falls over is the registerDefaul