Chapter 8. Data: actions, preferences, and files
This chapter covers
- Accepting user input through controls
- Allowing user choice through preferences
- Accessing and creating files
In the preceding chapters, we offered a tutorial on the most important features of the SDK: we outlined Objective-C and iOS and explained Xcode, we examined view controllers of all types, and we looked at the standard event and action models for the iPhone and iPad. In the process, we tried to provide the strong foundation that you need to do any type of iOS 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 about many of the SDK’s best features. In the coming chapters, we’ll touch on some of the major categories of SDK tools and show you how to use them.
We’ll expand on the sample programs a bit. Having completed the introduction to the SDK, we can take advantage of your knowledge of Objective-C to incorporate at least one in-depth example in each upcoming chapter; our intent is to show how different objects can work together to create a more complex Objective-C project. We can’t give you ready-to-submit App Store programs because of the breadth of what we’re covering here, but expect to see some code examples that are more than a page long and that typically include some off-topic elements.