文件名称:Learning iOS Programming, 2nd Edition.pdf
文件大小:33.19MB
文件格式:PDF
更新时间:2016-05-20 04:36:58
ios
Chapter 1, Why Go Native? This chapter discusses the need for native applications and compares building native applications to building web applications. Chapter 2, Becoming a Developer This chapter walks you through the process of registering as an iOS developer and setting up your work environment, from installing Xcode and the iOS SDK to generating the developer certificates you’ll need to build your applications and deploy them onto your own iPhone, iPod touch, or iPad. Chapter 3, Your First iOS App This chapter allows you to get hands-on as quickly as possible and walks you through building your first Hello World application, including how to deploy and run the application on your iPhone, iPod touch, or iPad. Chapter 4, Coding in Objective-C This chapter provides a crash course in the basics of the Objective-C language, and if you’re familiar with another C-derived language (and perhaps with objectoriented programming), it should be enough to get you up and running with Objective-C and the Cocoa Touch frameworks. Chapter 5, Table View–Based Applications The UITableView and associated classes are perhaps the most commonly used classes when building user interfaces for iOS applications. Due to the nature of the applications, these classes can be used to solve a large cross section of problems, and as a result, they appear almost everywhere. In this chapter, we dive fairly deeply into the table view classes. Chapter 6, Other View Controllers After discussing the table view controller in detail, we discuss some of the other view controllers and classes that will become useful when building your applications: simple two-screen views, single-screen tabbed views, modal view controllers, and a view controller for selecting video and images. Chapter 7, Connecting to the Network This chapter discusses connecting to the Internet, browsing the Web, sending email, and retrieving information. Chapter 8, Handling Data This chapter discusses how to handle data input, both from the application user and programmatically, and how to parse XML and JSON documents. The chapter also covers storing data in flat files and storing data with the SQLite database engine. Chapter 9, Using Sensors This chapter discusses how to determine what hardware is available and illustrates how to deal with the major sensors on iOS devices: the accelerometer, magnetometer, camera, and GPS. Chapter 10, Geolocation and Mapping This chapter walks you through the process of building applications that make use of the Core Location and MapKit frameworks. Chapter 11, Introduction to iCloud This chapter provides a brief introduction to integrating Apple’s iCloud service into your own applications. iCloud is a service that helps you synchronize your data across devices, making documents and data available to all of your subscribed devices. Chapter 12, Integrating Your Application This chapter shows you some of the tricks to integrate your application with iOS’s software ecosystem, how to present user preferences with Settings Bundles, and how to use custom URL schemes to launch your application. It also discusses how to make use of the Media Player and Address Book. Chapter 13, Distributing Your Application This chapter talks about how to add some final polish to your application and walks you through the process of building your application for distribution, either via ad hoc distribution or for the App Store. Chapter 14, Going Further This chapter provides a collection of pointers to more advanced material on the topics we covered in the book, as well as material covering some of those topics that we didn’t manage to talk about in the book.