Skip to Main Content
iPhone and iPad in Action
book

iPhone and iPad in Action

by Brandon Trebitowski, Shannon Appelcline
August 2010
Beginner to intermediate content levelBeginner to intermediate
432 pages
15h 39m
English
Manning Publications
Content preview from iPhone and iPad in Action

Chapter 9. Data: advanced techniques

This chapter covers

  • Using SQLite
  • Using the Address Book framework
  • Using Core Data

In the last chapter, we discussed how information can be saved and retrieved on the iPhone and iPad. Those techniques are great for simple data such as user preferences, but what happens when you want to save thousands of records?

Saving large amounts of information to NSUserDefaults would be awkward and clunky, and serialization is too slow. The solution is to use a relational database. Apple has provided a couple of options for mass storage using relational databases. These options are SQLite and Core Data. We’ll look at both as well as the built-in Address Book framework, which isn’t related to data storage but has some ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Android Wireless Application Development, 2/e

Android Wireless Application Development, 2/e

Shane Conder, Lauren Darcey
iPhone in Action

iPhone in Action

Christopher R. Allen, Shannon Appelcline
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Stefan Kaczmarek, Brad Lees, Gary Bennett, Mitch Fisher

Publisher Resources

ISBN: 9781935182580Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link