Re: EOs and NSData
Re: EOs and NSData
- Subject: Re: EOs and NSData
- From: Ricardo Strausz <email@hidden>
- Date: Mon, 18 Aug 2003 17:37:55 -0500
On lunes, agos 18, 2003, at 17:18 America/Mexico_City, Art Isbell wrote:
On Monday, August 18, 2003, at 12:01 PM, Ricardo Strausz wrote:
Hola Art!
On miircoles, juni 4, 2003, at 20:48 America/Mexico_City, Art Isbell
wrote:
By default, EO classes derive from EOGenericRecord whose instance
variables are private, including the dictionary that stores property
values. EOGenericRecord's snapshot() method will return a
dictionary of EO property values which could be serialized into an
NSData object by NSPropertyListSerialization.dataFromPropertyList().
Is this what you mean?
Can you give me an example on how to use this, please.
dataFromPropertyList recives two parameters: an Object and a String;
I do not know what do I have to put in the string...
I assume that this, being Java, would be a Java character encoding
string (see
http://java.sun.com/j2se/1.3/docs/api/java/lang/package-
summary.html#charenc).
Does this means that I can simply call it with
NSPropertyListSerialization.dataFromPropertyList(eo.snapshot(),"UTF-
8"); ?
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.