NSKeyedArchiver and NSValue
NSKeyedArchiver and NSValue
- Subject: NSKeyedArchiver and NSValue
- From: Jean Bovet <email@hidden>
- Date: Mon, 27 Oct 2003 14:51:38 +0100
Hi,
I was surprised to see that I'm not able to archive an array containing
NSValue when these NSValue are representing a NSRange structure: I get
the message "[NSKeyedArchiver encodeValueOfObjCType:at:] this archiver
cannot encode structs". When I encode the same array with NSArchiver,
everything goes well.
Can someone confirm that NSKeyedArchived cannot encode struct ? If that
correct, how can I save struct when using an NSKeyedArchiver for my
other data ?
Thanks in advance.
Jean Bovet
------------------------------------------------------------------
Jean Bovet
Software Engineer
Automation, Production Engineering and Robotics Laboratory (LPR)
E-mail : email@hidden - Voice : ++41 (0)32 930 38 43
EIAJ, Le Locle Site
7, avenue de l'Httel-de-Ville, 2400 Le Locle, Switzerland
------------------------------------------------------------------
_______________________________________________
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.