Chapter 19. Working with Data

When building applications of any complexity, it's quite common to need to persist and retrieve data locally. There are a few different options at your disposal within MonoTouch. First, you can use the XML features in .NET to read and write to XML files and access data that way. Second, you can use the built-in SQLite database and access it via various technologies. Finally, you can use Apple's CoreData framework as a data persistence and access technology.

We won't cover either XML or CoreData, for a couple reasons. First, reading and writing XML in MonoTouch is just like reading and writing XML in .NET, so if you're interested in that, I would recommend the .NET documentation. Second, as compared to even the most ...

Get Developing C# Apps for iPhone and iPad Using MonoTouch: iOS Apps Development for .NET Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.