• 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:01:36 -0500

Hola Art!

On miircoles, juni 4, 2003, at 20:48 America/Mexico_City, Art Isbell wrote:

On Wednesday, June 4, 2003, at 02:03  PM, Ricardo Strausz wrote:

Is there a simple way to encapsulate all instance variables of an eo into a single nsdata object?

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...


De antemano, gracias
Dino



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>
  • Prev by Date: Re: Mapping multiple EOs to one table
  • Next by Date: Re: Mapping multiple EOs to one table
  • Previous by thread: Parallel OS X / Windows development?
  • Next by thread: Re: EOs and NSData
  • Index(es):
    • Date
    • Thread