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      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
> 
> This email sent to farrukh.i...@fuegodigitalmedia.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to