![](https://csdnimg.cn/release/download_crawler_static/2034415/bg14.jpg)
Preface xix
Chapter 14 In this chapter, we demonstrate the use of the several devices available on the iPhone.
We discuss the use of the accelerometer, show how to play small sound files, and show how to
play video files. After that, we discuss how to obtain iPhone/iPod touch device information.
Using the built-in camera and the photo library are also discussed in this chapter. After that,
we show you how to obtain state information regarding the battery of the device. Finally, we
discuss the proximity sensor.
Chapter 15 In this chapter, we start by looking at a step-by-step procedure for localizing strings for
a set of supported languages. Next, we look at date formatting. After that, we cover formatting
currencies and numbers. Finally, we discuss how to generate a sorted list of countries of the
world.
Chapter 16 In this chapter, we show how to marry various UI components and build custom
reusable ones. First, we show how to build an alert view with a text field in it. Next, we
present a table view inside an alert view. Finally, we show how to build a progress alert view.
Chapter 17 This chapter addresses several advanced networking topics. We start by looking at
how we can determine network connectivity of the device. After that, we tackle the issue
of uploading multimedia content (e.g., photos) to remote servers. Next, we present a category
on
NSString that allows you to easily compute the MD5 digest of a string. This is important
as some services, such as Flickr, require posting parameters with the appropriate signature.
After that, we show you how to present a responsive table view whose data rows are fed
from the Internet without sacrificing the user experience. Next, we address the topic of push
notification. Finally, we discuss sending email from within your iPhone application.
Chapter 18 In this chapter, we discuss the foundation of the address book API and several
UI elements that can be used to modify the contacts database. First, we provide a brief
introduction to the subject. Next, we discuss property types. After that, we show how to
access single- and multi-value properties. Next, we go into the details of the person record
and the address book. Issues related to multithreading and identifiers are then addressed. After
covering the foundation of the address book API, we provide several sample applications.
Chapter 19 In this chapter, you learn how to use the Core Data framework in your application.
First, you learn about the main components in the Core Data application. Next, we talk about
the major classes in the Core Data framework. After that, you learn how to use the graphical
modeling tool to build a data model. Next, we address the basic operations in persistence
storage using Core Data. After that, we show how to use relationships in the Core Data model.
Finally, we present a search application that utilizes Core Data for storage.
Chapter 20 In this chapter, you learn about undo management support in the iPhone OS. First, we
discuss the basic steps needed to utilize undo management. After that, we present a detailed
example that shows how to use undo management. Finally, we summarize the main rules in
using the undo capabilities in an application.
Chapter 21 This chapter examines the copy and paste capabilities of the iPhone OS and the
supporting APIs. We start by discussing pasteboards. Next, you learn about pasteboard items
More free ebooks : http://fast-file.blogspot.com