NSKeyedArchiver exception
NSKeyedArchiver exception
- Subject: NSKeyedArchiver exception
- From: Ken Victor <email@hidden>
- Date: Mon, 19 Sep 2005 14:27:28 -0700
i've narrowed a problem i'm getting to the following 3 lines of code:
NSMutableDictionary* piDict = [[myDoc printInfo] dictionary];
NSPrintInfo* newPI = [[NSPrintInfo alloc] initWithDictionary: piDict];
NSData* pd = [NSKeyedArchiver archivedDataWithRootObject: newPI];
the third line throws the following exception:
*** -[NSKeyedArchiver encodeValueOfObjCType:at:]: this
archiver cannot encode structs
i've searched the archives and didn't find anything that would explain this.
what am i doing wrong?
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden