• 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: How to create plist from ERXGenericRecord ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create plist from ERXGenericRecord ?


  • Subject: Re: How to create plist from ERXGenericRecord ?
  • From: Farrukh Ijaz <email@hidden>
  • Date: Sat, 25 Jun 2011 17:01:52 +0300

Hi Fred,

Use:

NSPropertyListSerialization.stringFromPropertyList(yourObject);

yourObject can be NSArray, NSDictionary or any object that implements NSKeyValueCoding interface I believe. This works for me without any problems.

Farrukh

On 2011-06-25, at 3:06 PM, Fred Opims wrote:

Hi!
I have an iPhone application that talks with a webOject application using Entreprise Object.
From iPhone application to the WOObject application, i'm using a plist to send data. It works great! I can parse my plist and feed my EO entity.
I want to use plist to send data in the other way but i don't know how.

I want to convert any fetch result into a Plist or a dictionary but i haven't found a way to do that.
Is there a way to do this from a ERXGenericRecord ?
I tried with ERXPropertyListSerialization, but i couldn't use it with a ERXGenericRecord.
Can you help me please?
Thank you!
Fred

Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >How to create plist from ERXGenericRecord ? (From: Fred Opims <email@hidden>)

  • Prev by Date: Re: How to create plist from ERXGenericRecord ?
  • Next by Date: Re: AjaxInPlaceEditor
  • Previous by thread: Re: How to create plist from ERXGenericRecord ?
  • Next by thread: Building Wonder w/Jenkins/Hudson
  • Index(es):
    • Date
    • Thread