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
|