1. Trang chủ
  2. » Công Nghệ Thông Tin

iphone sdk development

561 364 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Contents

  • Foreword

  • Introduction

    • In This Book

    • Acknowledgments

  • Hello iPhone

    • Gearing Up

    • Create the Hello iPhone Project

    • Creating a Simple Interface

    • Rotating the Text---Adjusting the UI

    • Rotating the Text---Adjusting the Code

    • Code Navigation

    • Running Your App on Your iPhone

  • iPhone Development Fundamentals

    • The iPhone Software Architecture

    • Coding in Objective-C

    • Essential Cocoa Touch Classes

    • Working with Xcode and Interface Builder

    • Anatomy of Your iPhone Application

    • Customizing Behavior with Delegation

    • Managing Application Memory

    • Accessing Variables as Properties

    • Take-Away: Stuff to Remember

  • View Controllers

    • Implementing a Button Action

    • Building a Model

    • Adding Outlets and Actions to the Controller

    • Updating the UI

    • Implementing the Controller

    • Creating the New View Controller

    • Building the UI

    • Making the MovieEditorViewController

    • The Editing View Controller in Interface Builder

  • Table Views

    • Parts of a Table

    • Setting Up Table-Based Navigation

    • Modeling Table Data

    • Table Cells

    • Editing Tables

    • Navigating with Tables

    • Custom Table View Cells

    • Sorting Table Data

  • Navigation

    • Navigating Through Mail

    • The Navigation Controller

    • Navigation-Based Applications

    • Pushing View Controllers

    • Customizing the Navigation Bar

    • Popping View Controllers

  • Tab Bar Controllers

    • When to Use Tabs

    • Creating a Tab Bar Controller

    • View Controllers in Tab Controllers

    • Many Controllers

  • File I/O

    • Exploring Your Filesystem

    • Creating Our Project

    • Getting File Attributes

    • Reading Data from Files

    • Asynchronous File Reading

    • Creating and Deleting Files and Directories

    • Writing Data to Files

    • Property Lists and NSCoding

  • Preferences

    • Displaying a Flippable Preference View in Your Application

    • Managing Preferences

    • Changing and Updating Preferences

    • Side Trip: Updating the Clock Label Every Second

    • Using the System Settings Application for Preferences

    • Loading Preferences Configured in the Settings Application

  • The SQLite Database

    • Creating Your Database

    • Creating the Sample Application

    • Putting Your Database on the Device

    • Using Your Database on the Device

  • Core Data

    • The Conference Application

    • The Core Data Stack

    • Building the Core Data Stack

    • Modeling

    • Track Table View

    • Fetching the Tracks

    • Change the Tracks

    • Navigation

  • Connecting to the Internet

    • Building a Browser in Ten Minutes with UIWebView

    • Reading Data from the Network

    • HTTP Authentication

    • Parsing XML from Web Services

    • Sending Mail from Your Application

  • Peer-to-Peer Networking

    • Using Ad Hoc Network Services with Bonjour

    • Bonjour Service Discovery

    • Game Kit Overview

    • Setting Up a Bluetooth-Networked Game

    • Setting Up a Peer Picker

    • Providing a Peer Picker Delegate

    • Network Game Logic

    • Communicating via the GKSession

    • Voice Chat

  • Video Playback

    • Video Playback with MPMoviePlayerController

    • Receiving Notifications from the Movie Player

    • Supported Media Formats

  • iPod Library Access

    • Monitoring iPod Playback

    • Controlling iPod Playback

    • Using the iPod Library

    • Browsing the iPod Library

  • Playing and Recording Audio

    • Creating an AVAudioRecorder

    • Uncompressed Audio Formats

    • Encoded Audio Formats

    • Using the AVAudioRecorder

    • Monitoring Recording Levels

    • Playing Audio with the AVFramework

    • Interacting with Audio Sessions

  • Core Audio

    • Using the Procedural-C APIs

    • Playing System Sounds

    • A Core Audio Overview

  • Events, Multi-Touch, and Gestures

    • Event Model

    • Tracking Touches

    • Tapping

    • Multi-Touch Gestures

  • Drawing in Custom Views

    • Drawing Model

    • Vector Drawing

    • Paths

    • Graphics Context

    • Redisplaying a View

  • Drawing Images and Photos

    • Basic Image Drawing

    • Customizing the Image Display

    • Image Picker

    • Capturing Video

  • Core Animation

    • Introduction to Core Animation

    • Animating UIView

    • Layers

    • OpenGL ES

  • Accelerometer

    • Getting Device Orientation

    • Getting Shakes from the UIResponder Chain

    • Getting Raw Accelerometer Data

    • Filtering Accelerometer Data

  • Address Book

    • Address Book UI

    • People Picker Delegate

    • Creating and Configuring the People Picker

    • Person Controller

    • Adding New Contacts

  • iPhone Location API

    • Knowing Where

    • Location Updates

    • Compass

  • Map Kit

    • Contact Mapper

    • Showing a Map

    • Map Annotations

    • Selecting an Annotation

  • Application Integration

    • Launching Other Applications

    • Becoming Integration Ready

  • Debugging

    • Understanding and Fixing Build Errors

    • Understanding and Fixing Importing/Linking Errors

    • Using iPhone SDK Documentation

    • Understanding and Fixing Interface Builder Errors

    • Debugging

    • Finding Over-Released ``Zombie'' Objects

  • Performance Tuning

    • Investigating Performance with Shark

    • Investigating Performance with Instruments

    • Investigating Performance with the Clang Static Analyzer

  • Before and After

    • Starting Right

    • Polish

    • Other Features

    • Beta Testing

    • Getting into the Store

    • Promoting Your Application

  • Bibliography

  • Index

    • Symbols

    • A

    • B

    • C

    • D

    • E

    • F

    • G

    • H

    • I

    • K

    • L

    • M

    • N

    • O

    • P

    • Q

    • R

    • S

    • T

    • U

    • V

    • W

    • X

    • Z

Nội dung

[...]... documentation is excellent and is built into Xcode Let’s make sure that you have the development tools installed If you’ve not already done so, download the iPhone SDK from http://developer apple.com /iphone You need to sign up as an iPhone developer, but membership is free Membership and the SDK are free It’ll cost you $99 USD to join the iPhone Developer Program, but you’ll need to do that to get a certificate... NTRODUCTION As an iPhone SDK developer, you don’t need to worry about fragmentation The iPhone and iPod touch are highly predictable, with only a few models thus far and highly consistent features and behavior between them The SDK brings the tools and technologies of Mac OS X—refined by years of use creating world-class desktop applications— and makes its essential elements available for creating iPhone and... the tools and the basic development cycle for the iPhone Our first application is purposefully simple We’re going to build an application that displays the static text “Hello iPhone on the screen You’ll first check that you have all the developer tools you need installed You’ll then use two of them to create and run your application in the iPhone Simulator Because this is an iPhone app, you’ll rotate... G EARING U P Terminology From here on out when we say iPhone, we mean any iPhone OS device So, if you are pushing to an iPod touch, don’t feel left out, because we mean you too If you are coming to the iPhone from another platform—welcome You have undoubtedly used an integrated development environment (IDE) in the past Xcode fills that role for iPhone developers Xcode provides all the features you’d... from my iPhone Report erratum this copy is (P1.0 printing, September 2009) 14 Chapter 1 Introduction The iPhone has changed everything Maybe by the time you read this you’ll no longer notice that the latest cool new phone from every manufacturer looks and behaves more like the iPhone than like the models they used to sell before the iPhone was released Meanwhile, at the time we write this, Apple’s iPhone. .. Under the Active SDK list, choose Device – iPhone OS X (where X is the version installed on the device) Report erratum this copy is (P1.0 printing, September 2009) 33 R UNNING Y OUR A PP ON Y OUR I P HONE If you don’t see this item, you probably have a problem in your developer certificates Log onto the iPhone developer portal site, and review the direction in Obtaining Your iPhone Development Certificate... applications Report erratum this copy is (P1.0 printing, September 2009) 34 Chapter 3 iPhone Development Fundamentals Now that you’ve had a chance to get a simple application up and running with the iPhone SDK tools, let’s take a step back and understand how we got here In this chapter, we’ll take a look at the organization of the iPhone s application stack, how the tools work in relationship to this architecture,... product we know as the iPhone is more than a gadget It is a phenomenon Many of us know news headlines, stock trends, and our day’s schedule before we even get out of bed And thanks to the iPhone SDK, there are more than 50,000 other things we can do, wherever and whenever we want It truly is “your life in your pocket.” When I joined Apple in 2001, there was no App Store, no iPhone, and no iPod Mac... industry that has resulted from the one-two punch of the SDK and the App Store Carriers that had locked down their networks are now racing to open app stores of their own, terrified that every cool new app for the iPhone potentially lures away more of their customers Some mobile developers are going iPhone- only Given the realization that with iPhone users far more likely to download and pay for applications,... So, to be writing an introduction to a book on iPhone development, it would seem I’ve got some explaining to do It really all comes down to one moment in March 2008 I was at a Java conference, skeptically following the web coverage of the iPhone SDK announcement Few people, myself included, thought we’d get a substantial level of functionality in the SDK and were shocked when what was unveiled was most . broad coverage of all things iPhone SDK, y ou’ll hit the ground running. John Muchow Founder, iPhoneDeveloperTips.com CTO, 3 Sixty Software iPhone SDK Development Building iPhone Applications Bill. y0 w1 h1" alt="" What Readers Are Saying About iPhone SDK Development I love thi s book’s no-nonsense, straig htforward approach to iPhone SDK development. Chris and Bill’s approach is easy to. into iPhone development myself, this is definitely a must-have for my digital bookshelf. Alex Lindsay Founder, Pixel Corps Dudney and Adamson’s book streamlines the process of learning iPhone development

Ngày đăng: 05/05/2014, 14:24

TỪ KHÓA LIÊN QUAN