• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOs and NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: EOs and NSData
      • From: Art Isbell <email@hidden>
References: 
 >Re: EOs and NSData (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Mapping multiple EOs to one table
  • Next by Date: Re: Mapping multiple EOs to one table
  • Previous by thread: Re: EOs and NSData
  • Next by thread: Re: EOs and NSData
  • Index(es):
    • Date
    • Thread