学习iPhone编程

学习iPhone编程

(美) 艾伦 (Allan,A.) , 著

出版社:东南大学出版社

年代:2010

定价:49.0

书籍简介:

获取为iPhone和iPod Touch编程所需的实战经验。有了这本易学易用的指南,你将通过学习如何运用Xcode、Objective-C编程语言与核心框架,构建多个样例应用程序。在你掌握它之前,你将不仅拥有开发应用的技能,还会知道如何顺利完成提交应用到iTunes App Store的流程。

作者介绍:

Alasdair Allan是一位Exeter大学资深研究员,他负责构建P2P望远镜网络。他还忙于制作开源硬件,还有一系列用于管理云服务和监控分布式传感器网络的iPhone应用。

书籍目录:

Preface

1. Why Go Native?

The Pros and Cons

Why Write Native Applications?

The Release Cycle

Build It and They Will Come

2. Becoming a Developer

Registering As an iPhone Developer

Enrolling in the iPhone Developer Program

The Apple Developer Connection

Installing the iPhone SDK

Preparing Your iPhone or iPod touch

Creating a Development Certificate

Getting the UDID of Your Development Device

Creating an App ID

Creating a Mobile Provisioning Profile

Making Your Device Available for Development

3. Your First iPhone App

Objective-C Basics

Object-Oriented Programming

The Objective-C Object Model

The Basics of Objective-C Syntax

Creating a Project

Exploring the Project in Xcode

Our Project in Interface Builder

Adding Code

Connecting the Outlets in Interface Builder

Putting the Application on Your iPhone

4. Coding in Objective-C

Declaring and Defining Classes

Declaring a Class with the interface

Defining a Class with the Implementation

Object Typing

Properties

Synthesizing Properties

The Dot Syntax

Declaring Methods

Calling Methods

Calling Methods on nil

Memory Management

Creating Objects

The Autorelease Pool

The alloc, retain, copy, and release Cycle

The dealloc Method

Responding to Memory Warnings

Fundamental iPhone Design Patterns

The Model-View-Controller Pattern

Views and View Controllers

The Delegates and Data Source Pattern

Conclusion

5. Table-View-Based Applications

Simplifying the Template Classes

Creating a Table View

Organizing and Navigating Your Source Code

Connecting the Outlets

Building a Model

Adding Images to Your Projects

Connecting the Controller to the Model

Mocking Up Functionality with Alert Windows

Adding Navigation Controls to the Application

Adding a City View

Edit Mode

Deleting a City Entry

Adding a City Entry

The “Add New City...” Interface

Capturing the City Data

6. Other View Controllers

Utility Applications

Making the Battery Monitoring Application

Tab Bar Applications

Refactoring the Template

Adding Another Tab Bar Item

Finishing Up

Modal View Controllers

Modifying the City Guide Application

The Image Picker View Controller

Adding the Image Picker to the City Guide Application

7. Connecting to the Network

Detecting Network Status

Apples Reachability Class

Embedding a Web Browser in Your App

A Simple Web View Controller

Displaying Static HTML Files

Getting Data Out of a UI Web View

Sending Email

Getting Data from the Internet

Synchronous Requests

Asynchronous Requests

Using Web Services

8. Handling Data

Data Entry

UI Text Field and Its Delegate

UI Text View and Its Delegate

Parsing XML

Parsing XML with libxml2

Parsing XML with NSXML Parser

Parsing JSON

The Twitter Search Service

The Twitter Trends Application

Regular Expressions

Introduction to Regular Expressions

Storing Data

Using Flat Files

Storing Information in an SQL Database

Core Data

9. Distributing Your Application

Adding Missing Features

Adding an Icon

Adding a Launch Image

Changing the Display Name

Enabling Rotation

Building and Signing

Ad Hoc Distribution

Developer-to-Developer Distribution

App Store Distribution

Submitting to the App Store

The App Store Resource Center

Reasons for Rejection

10. Using Sensors

Hardware Support

Determining Available Hardware Support

Setting Required Hardware Capabilities

Using the Camera

The Core Location Framework

Location-Dependent Weather

Using the Accelerometer

Writing an Accelerometer Application

Using the Digital Compass

Accessing the Proximity Sensor

Using Vibration

11. Geolocation and Mapping

User Location

Annotating Maps

12. integrating Your Application

Application Preferences

Accessing Global Preferences

Custom URL Schemes

Using Custom Schemes

Registering Custom Schemes

Media Playback

Using the Address Book

Interactive People Picking

Programmatic People Picking

13. Other Native Platforms

Phone Gap

Download and Installation

Building a Phone Gap Project

Mono Touch

Download and Installation

Building a Mono Touch Project

14. Going Further

Cocoa and Objective-C

The iPhone SDK

Web Applications

Core Data

Push Notifications

In-App Purchase

Core Animation

Game Kit

Writing Games

Look and Feel

Hardware Accessories

Index

内容摘要:

无论你是一位Mac编程新手还是摩拳擦掌准备上手iPhone和iPod Touch的Mac开发行家,《学习iPhone编程(英文)(影印版)》都将为你构建面向市场的iPhone应用开一个好头。获取为iPhone和iPod Touch编程所需的实战经验。有了这本易学易用的指南,你将通过学习如何运用Xcode、Objective-c编程语言与核心框架,构建多个样例应用程序。在你掌握它之前,你将不仅拥有开发应用的技能,还会知道如何顺利完成提交应用到iTunes App Store的流程。

书籍规格:

书籍详细信息
书名学习iPhone编程站内查询相似图书
9787564124113
如需购买下载《学习iPhone编程》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN
出版地南京出版单位东南大学出版社
版次影印本印次1
定价(元)49.0语种英文
尺寸26 × 19装帧平装
页数印数

书籍信息归属:

学习iPhone编程是东南大学出版社于2010.9出版的中图分类号为 TN929.53 的主题关于 移动通信-携带电话机-应用程序-程序设计-英文 的书籍。