Head First iPhone and iPad Development - Dan Pilone, Tracey Pilone

Head First iPhone and iPad Development

A Learner's Guide to Creating Objective-C Applications for the iPhone and iPad. Covers iOS 7 and XCode 5
Buch | Softcover
368 Seiten
2014 | 3. Auflage
O'Reilly Media (Verlag)
978-1-4493-1657-0 (ISBN)
35,90 inkl. MwSt
Have a killer app idea for iPhone and iPad? Head First iPhone and iPad Development will help you get your first application up and running in no time. You'll not only learn how to design for Apple's devices, you'll also master the iPhone SDK tools -- including Xcode -- and Objective-C programming principles to create eye-catching, top-selling apps.
Let's say you have a killer app idea for iPhone and iPad. Where do you begin?

»Head First iPhone and iPad Development« will help you get your first application up and running in no time. You'll not only learn how to design for Apple's devices, you'll also master the iPhone SDK tools -- including Xcode -- and Objective-C programming principles to make your app stand out.

Whether you're a seasoned Mac developer who wants to jump into the App store, or someone with strong object-oriented programming skills but no Mac experience, this book is a complete learning experience for creating eye-catching, top-selling iPhone and iPad applications.

  • Install the iPhone OS SDK and get started using XCode
  • Put Objective-C core concepts to work, including message passing, protocols, properties, and memory management
  • Take advantage of iPhone OS patterns such as datasources and delegates
  • Preview your applications in the Simulator
  • Build more complicated interactions that utilize multiple views, data entry/editing, and rotation
  • Work with the iPhone's camera, GPS, and accelerometer
  • Optimize, test, and distribute your application


We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First iPhone and iPad Development has a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

Dan Pilone is a Senior Software Architect with Blueprint Technologies, Inc. He has designed and implemented systems for Hughes, ARINC, UPS, and the Naval Research Laboratory. He also teaches project management and software design and engineering at The Catholic University in Washington D.C. Dan is the author of several books on software development, including »UML 2.0 in a Nutshell« and »UML 2.0 Pocket Reference« (O'Reilly).

Tracey Pilone, a licensed Civil Engineer, is a freelance technical writer who has worked on mission planning and RF analysis software for the Navy. She has a Civil Engineering degree from Virgina Tech and a Masters of Education from the University of Virginia.

Chapter 1 Getting Started: Getting mobile with iOS
So you want to build an iOS app...
Welcome to the Apple universe!
iOS apps are written in Objective-C
It all starts with the SDK
Pin Xcode...you’re going to be here a lot
Meet Sue, your new boss
Xcode and Git...new best friends
Xcode is the hub of your iOS project
The iOS simulator
Your code is stored in source files
Code Editor, Hub...and debugging, too
One iPhone, two iPhones, red iPhone, blue iPhone...
Your iPhone Development toolbox
Chapter 2 Basic iOS Patterns: Building from scratch
iOS apps run full screen, but there’s a lot going on
Model-View-Controller is a design pattern
Get started with Xcode and Git
Design time!
Design time...redux
Cosmetic changes are easy in Xcode
You could code this if you’re into that kind of thing...
iOS controls are more than skin deep
You’ll create the action using the Xcode GUI editor
Connect your controls to your actions
So how do we get to that text?
Properties handle creating getters and setters
Create a property for that text field
You connect your controls to outlets
Twitter, the easy way...
Your iOS Basics toolbox
Chapter 3 Interlude: Syntax
Classes: Interface and Implementation
Header files describe the interface to your class
Properties are about efficiency
Message passing: How Objective-C gets around
Speaking of messages....
Your Syntax toolbox
Chapter 4 Tables, Views, and Data: A table with a view
Congratulations!
SpinCity browsing app overview
The way iOS apps work
Using the touch screen....
Hierarchical data—get out your table view
We need to hook these views together...
Three views in one template
Use MVC to separate your concerns...
Adding a new class
Properties expose class attributes
Data Access Objects hide low-level data access
You’ve built your DAO!
A table is a collection of cells
Your View toolbox
Chapter 5 Multiview Applications: It’s all about the details
An app with a view...
Table views don’t always look like...tables
Change your UIViewController to a UITableView Controller
Layout for the new detail view
Layout your view within the storyboard
Design the rest of the view dynamically
Segues connect view controllers
Connect your scenes in your storyboard
Segues let you prepare for a new scene
Update your prepareforSegue callback
There’s an app a list for that
Create a new property list
You need to load each album from the plist
Convert your data to plists in one easy step
Your View toolbox
Chapter 6 The Review Process, Design, and Devices: How to live with Apple
It’s Apple’s world...you’re just living in it
Device checking... it’s not optional
Device checking case study: the camera
iOS handles the heavy lifting
Hmmm... supported device, missing feature
The HIG helps, rather than hurting you
You’ve already gotten used to the HIG...
Design = look + feel
iOS 7 Top 5
More to think about: your iPad is not your iPhone
Your Apple toolbox
Chapter 7 Basic Core Data and Table View Cells: Reruns are hard to find
This is your application
This is your application on data
Introducing Core Data
...and speaking of data
The Gilligizer app
Core Data starts with...data
Core Data works with entities
Core Data describes entities with a Managed Object Model
Build your Show entity
Our generated Show class matches our Managed Object Model
NSManagedObject also implements the properties
You have an object...now present it.
Present each entity in Gilligizer
Your Core Data toolbox
Chapter 8 Implementing search with core data: Looking for info
The app is working, but it’s limited...
Use an NSFetchRequest to describe your search
Let’s give it a shot...
iOS 7 has Core Data and UIKit support for searching
SearchDisplayController handles just about everything
Use predicates for filtering data
The NSFetchRequest predicate controls what data is returned
It was a trick question...
Your searching toolbox
Chapter 9 Core data, mapkit, and core location: Finding a phone booth
Everything old is cool new again
An app, an iPad, and a phone booth
iOS apps are read-only (well, kind of...)
An iOS application structure defines where you can read and write data
Enter... UIImagePicker
Prompt the user with action sheets
Where Who... are you? Where Who, who?
Core Location can find you in a few ways
Map Kit comes with every iOS device
Annotations require a little more work finesse
Fully implement the annotation protocol
Your kit Toolbox

Erscheint lt. Verlag 4.2.2014
Reihe/Serie Head First
Verlagsort Sebastopol
Sprache englisch
Maße 203 x 235 mm
Gewicht 667 g
Einbandart Paperback
Themenwelt Informatik Programmiersprachen / -werkzeuge Mac / Cocoa Programmierung
Informatik Software Entwicklung Mobile- / App-Entwicklung
Informatik Weitere Themen Smartphones / Tablets
ISBN-10 1-4493-1657-3 / 1449316573
ISBN-13 978-1-4493-1657-0 / 9781449316570
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Apps programmieren für macOS, iOS, watchOS und tvOS

von Thomas Sillmann

Buch (2023)
Carl Hanser (Verlag)
59,99
Das umfassende Handbuch. Apps entwickeln für iOS, macOS und tvOS. …

von Michael Kofler

Buch | Hardcover (2019)
Rheinwerk (Verlag)
49,90
The Big Nerd Ranch Guide

von Mikey Ward; Matthew Mathias; John Gallagher

Buch | Softcover (2020)
Big Nerd Ranch Guides (Verlag)
48,75