Chapter 16. Data: actions, preferences, files, SQLite, and addresses

 

This chapter covers

In part 3 of this book, we offered a tutorial on the most important features of the SDK: we outlined Objective-C and the iPhone OS; we explored the two main tools, Xcode and Interface Builder; we examined view controllers of all types; and we looked at the standard event and action models for the iPhone. In the process, we tried to provide the strong foundation that you need to do any type of iPhone programming. Armed with that knowledge, and with the extensive documentation available online (or as part of Xcode), you should be able to start programming right away.

But we also want to offer you some additional information on many of the SDK’s best features—that’s the purpose of the fourth and final part of this book. In these five chapters, we’re going to touch upon five major categories of SDK tools and show you how to use them.

In the process, we’re going to go over some ground covered by Apple in its own documentation for each of these tools. As usual, we’re going to add value by approaching things in a tutorial manner and by offering specific examples of how each of the tools can be used in a real program.

16.1. Accepting user actions

16.2. Maintaining user preferences

16.3. Opening files

16.4. Using SQLite

16.5. Accessing the Address Book

16.6. Summary

sitemap