Have a look at the documentation for -writeToFile:atomically: In
particular this quote:
"This method recursively validates that all the contained objects are
property list objects (instances of NSData, NSDate, NSNumber,
NSString, NSArray, or NSDictionary) before writing out the file, and
Le 16 nov. 08 à 15:41, Vera Tkachenko a écrit :
Hello to mac developers :)
If I don't misunderstand things NSError objects can be archived
because NSError implements NSCoding protocol.
I try to archive it as follows:
NSMutableDictionary * dict = [[NSMutableDictionary alloc]
Hello to mac developers :)
If I don't misunderstand things NSError objects can be archived
because NSError implements NSCoding protocol.
I try to archive it as follows:
NSMutableDictionary * dict = [[NSMutableDictionary alloc] init];
NSError * error = [[NSError alloc] initWith