MonoTouch and storing application data
Posted on 2012-12-21
I am porting a mobile application which currently runs on Windows Phone and Android to iOS. I am using MonoTouch and I have previously used Mono for Android.
I have items of data which I need to store - for example I read an XML file from the server which defines a number of 'jobs'. I create Job objects from the XML and then save the job objects to IsolatedStorage using the IsolatedStorageSettings object.
Unfortruantely IsolatedStorageSettyings does not exist under MonoTouch apparently so I need an alternative. I guess I could serialize the objects back to XML and store as files but the IsolatedStorageSettings was much cleaner as I didn't need toi woory about the underlying mechanisms and it was portable. Any suggestions please.