[MonoTouch] custom object serialization from monotouch using NSUserDefaults?

Simon Guindon sguindon at truecontext.com
Mon Oct 5 11:40:34 EDT 2009


I am serializing to the file system as a .xml file and reloading them via deserialization.

Thanks!
Simon

From: Chris Sells [mailto:csells at sellsbrothers.com]
Sent: Monday, October 05, 2009 10:36 AM
To: Simon Guindon; monotouch at lists.ximian.com
Subject: RE: [MonoTouch] custom object serialization from monotouch using NSUserDefaults?

Where are you serializing to? User defaults?

From: Simon Guindon [mailto:sguindon at truecontext.com]
Sent: Monday, October 05, 2009 7:33 AM
To: Chris Sells; monotouch at lists.ximian.com
Subject: RE: [MonoTouch] custom object serialization from monotouch using NSUserDefaults?

I'm using XML serialization of object graphs. You don't need objc API's to achieve this. Just plain old .NET :)

Thanks!
Simon

From: monotouch-bounces at lists.ximian.com [mailto:monotouch-bounces at lists.ximian.com] On Behalf Of Chris Sells
Sent: Monday, October 05, 2009 1:32 AM
To: monotouch at lists.ximian.com
Subject: [MonoTouch] custom object serialization from monotouch using NSUserDefaults?

Is it possible? NSCoder doesn't seem to have the methods I except. What are folks doing here? I wrote my own little serializer, but it's prefer to use the real one.

Or, is there another way to get custom object serialization into user settings besides NSUserDefaults? I'm open.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20091005/69259bbf/attachment.html 


More information about the MonoTouch mailing list