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 ...
Get Multimobile Development: Building Applications for the iPhone and Android Platforms 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.