Cargando…

IPhone programming : the Big Nerd Ranch guide /

This is the eBook version of the printed book. If the print book includes a CD-ROM, this content is not included within the eBook version. Written by the trainers at the Big Nerd Ranch, the worldwide leader in professional training for Mac developers, this book provides a hands-on guide to learning...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Conway, Joe
Otros Autores: Hillegass, Aaron
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Atlanta, Ga. : Big Nerd Ranch, ©2010.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Cover
  • Contents
  • Introduction
  • 1. A Simple iPhone Application
  • Creating an Xcode Project
  • Using Interface Builder
  • Model-View-Controller
  • Declarations
  • Declaring instance variables
  • Declaring methods
  • Making Connections
  • Setting pointers
  • Setting targets and actions
  • Summary
  • Implementing Methods
  • Build and Run on the Simulator
  • Event-driven Programming
  • Deploying an Application
  • Application Icons
  • Default Images
  • 2. Objective-C
  • Objects
  • Using Instances
  • Writing the RandomPossessions Tool
  • NSArray and NSMutableArray
  • Subclassing an Objective-C Class
  • Instance variables
  • Accessors and properties
  • Instance methods
  • Initializers
  • self
  • super
  • Initializer chain
  • Class methods
  • Exceptions and the Console Window
  • Objective-C 2.0 Additions
  • 3. Memory Management
  • Memory Management Concepts
  • Managing memory in C
  • Managing memory with objects
  • Reference Counting
  • Using retain counts
  • Avoiding memory leaks with autorelease
  • Managing memory in accessors and properties
  • Retain count rules
  • Managing Memory in RandomPossessions
  • 4. Delegation and Core Location
  • Delegation
  • Beginning the Whereami Application
  • Using frameworks
  • Core Location
  • Receiving updates from CLLocationManager
  • Releasing Controller Instance Variables
  • Challenge: Heading
  • For the More Curious: Compiler and Linker Errors
  • For the More Curious: Protocols
  • 5. MapKit and Text Input
  • Object Diagrams
  • MapKit Framework
  • Interface Properties
  • Being a MapView Delegate
  • Your own MKAnnotation
  • Tagging locations
  • Challenge: Annotation Extras
  • Challenge: Reverse Geocoding
  • Challenge: Changing the Map Type
  • For the More Curious: Renaming an Application
  • 6. Subclassing UIView
  • Creating a Custom View
  • The drawRect: method
  • Instantiating a UIView
  • Drawing Text and Shadows
  • Using UIScrollView
  • Zooming
  • Hiding the Status Bar
  • Challenge: Colors
  • For the More Curious: Retain Cycles
  • For the More Curious: Redrawing Views
  • 7. View Controllers
  • View Controllers and XIB Files
  • Using View Controllers
  • Creating the UITabBarController
  • Creating view controllers and tab bar items
  • Creating views for the view controllers
  • viewWillAppear:
  • The Lifecycle of a View Controller
  • Challenge: Map Tab
  • For the More Curious: Paging
  • 8. The Accelerometer
  • Setting Up the Accelerometer
  • Getting Accelerometer Data
  • Orientation and Scale of Acceleration
  • Using Accelerometer Data
  • Smoothing Accelerometer Data
  • Detecting Shakes
  • Challenge: Changing Colors
  • For the More Curious: Filtering and Frequency
  • 9. Notification and Rotation
  • Notification Center
  • UIDevice Notifications
  • Autorotation
  • For the More Curious: Forcing Landscape Mode
  • Challenge: Proximity Notifications
  • For the More Curious: Overriding Autorotation
  • 10. UITableView and UITableViewController
  • Beginning the Homepwner Application
  • UITableViewController
  • Subclassing UITableViewController
  • UITableView's Data Source
  • UITableViewDataSource protocol
  • UITableViewCells.