O'Reilly logo

Multimobile Development: Building Applications for the iPhone and Android Platforms by Matthew Baxter-Reynolds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. iOS: An ORM Layer on SQLite

In this chapter, we're going to look at downloading the bookmarks from the server and storing them in the database. iOS comes with a copy of the SQLite database as standard, and so we'll use this as our storage mechanism.

Note

iOS comes with an object-persistence mechanism called Core Data. We won't be using this in this chapter, mostly because the implementation of the other platforms is based on a relational database, but also because of personal preference.

In the last two chapters, we've been working with Objective-C and Cocoa Touch features, which, as you know, are implemented as class libraries. SQLite is implemented using a flat C API, which means we need to take a slightly different approach. Those ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required