Book description
The iPhone is the hottest gadget of our generation, and much of its success has been fueled by the App Store, Apple's online marketplace for iPhone applications. Over 1 billion apps have been downloaded in the 9 months the App Store has been open, ranging from the simplest games to the most complex business apps. Everyone has an idea for the next best-selling iPhone app—presumably that's why you're reading this now. And with the release of the iPad, this demand will just continue to grow.
So how do you build an application for the iPhone and iPad? Don't you need to spend years learning complicated programming languages? What about Objective-C, Cocoa Touch, and the SDK? The answer is that you don't need to know any of those things. Anybody can start building simple applications for the iPhone and iPad, and this book will show you how.
This book takes you to getting your first applications up and running using plain English and practical examples. It cuts through the fog of jargon and misinformation that surrounds iPhone and iPad application development, and gives you simple, step-by-step instructions to get you started.
Teaches iPhone and iPad application development in language anyone can understand
Provides simple, step-by-step examples that make learning easy
Offers videos that enable you to follow along with the author—it's like your own private classroom
Table of contents
- Copyright
- Foreword: About the Author
- About the Contributing Authors
- About the Technical Reviewer
- Acknowledgments
- Preface
- 1. Before We Get Started
- 2. Blast-Off!
-
3. What's Next?
-
3.1. §I: THE ROAD AHEAD
- 3.1.1. Introducing Chapter 4—An Introduction to the Code
- 3.1.2. Introducing Chapter 5—Buttons & Labels with Multiple Graphics
- 3.1.3. Introducing Chapter 6—Switch View with Multiple Graphics
- 3.1.4. Introducing Chapter 7—Dragging, Rotating, and Scaling
- 3.1.5. Introducing Chapter 8—Table Views, Navigation, and Arrays
- 3.1.6. Introducing Chapter 9—MapKit
- 3.2. §II: THE iPHONE AND THE iPAD
- 3.3. §III: A LOOK UNDER THE HOOD
-
3.1. §I: THE ROAD AHEAD
- 4. An Introduction to the Code
-
5. Buttons & Labels with Multiple Graphics
-
5.1. helloWorld_005: a View-Based Application
- 5.1.1. Preliminaries
- 5.1.2. Xcode - Beginning a New Project
- 5.1.3. Understanding IBOutlets
- 5.1.4. Pointers
- 5.1.5. Properties: Management & Control
- 5.1.6. Adding IBActions
- 5.1.7. Coding the Implementation File
- 5.1.8. Providing for Synthesis
- 5.1.9. Interface Builder: Making the Connections
- 5.1.10. Final Step: File's Owner & uiImageView
- 5.2. Digging the Code
- 5.3. In the Chapter Ahead
-
5.1. helloWorld_005: a View-Based Application
-
6. Switch View with Multiple Graphics
- 6.1.
-
6.2. einSwitch_001—a Window-Based Application
- 6.2.1. Preliminaries
- 6.2.2. Name your Project "einSwitch01"
- 6.2.3. Create the 1st UIViewController Subclass
- 6.2.4. Create the Ein1Controller
- 6.2.5. Check Header and Implementation Files
- 6.2.6. Create the Ein2Controller
- 6.2.7. Make Sure Images Are Embedded
- 6.2.8. Save Einstein2View.xib
- 6.2.9. Drag the Images into Xcode
- 6.2.10. Assign your Icon in the "plist"
- 6.2.11. Code the AppViewDelegate
- 6.2.12. Working SwitchView
- 6.2.13. SwitchViewController and AppDelegate
- 6.2.14. SwitchViewController Header File
- 6.2.15. Ready for Lazy Load–Implementation File
- 6.2.16. A Note about Comments and Lazy Loads
- 6.2.17. Copy Contents of SwitchViewController.txt
- 6.2.18. A Note about Apple's Boilerplate Implementation File
- 6.2.19. Working on the .xib Files
- 6.2.20. Select the File's Owner
- 6.2.21. Drag a View onto the Screen
- 6.2.22. Start Working on the Einstein#View.xib Files
- 6.2.23. Repeat Process for Second Image
- 6.3. einSwitch_002—a Tab-Bar Application
- 6.4. einSwitch_003—a Window-Based Application
- 6.5. Digging ... Your Brain
-
7. Dragging, Rotating, and Scaling
-
7.1. DragRotateAndScale—a View-Based Application
- 7.1.1. Preliminaries
- 7.1.2. Starting the DragRotateAndScale App
- 7.1.3. Creating a Custom UIImageView Subclass
- 7.1.4. Overriding – initWithImage in TransformView.m
- 7.1.5. Creating Touch-Handling Stubs
- 7.1.6. Translating in touchesMoved
- 7.1.7. Making Use of TransformView
- 7.1.8. Creating a TransformView
- 7.1.9. Preparing TransformView for Rotation and Scaling
- 7.1.10. Helper Methods
- 7.1.11. Adding to "-touchesBegan"
- 7.1.12. Modifying -touchesMoved
- 7.2. Digging the Code
-
7.1. DragRotateAndScale—a View-Based Application
-
8. Table Views, Navigation, and Arrays
- 8.1. How Shall We Proceed?
- 8.2. Table Views and Navigation Stacks
-
8.3. Food: Following the App Store Model
- 8.3.1. Starting the Food App
- 8.3.2. Adding the Category Names Array in RootViewController.h
- 8.3.3. Creating the Categories Array in -viewDidLoad
- 8.3.4. Setting Up Table View Data Source Methods
- 8.3.5. Table View Delegation
- 8.3.6. Setting up FoodTableViewController
- 8.3.7. Creating the Convenience Constructor for the FoodTableViewController
- 8.3.8. Data Source and Delegation for the FoodTableViewController
- 8.3.9. Creating the FoodViewController Class
- 8.3.10. The FoodViewController Header File
- 8.3.11. The FoodViewController Convenience Constructor
- 8.3.12. Setting Up FoodViewController, -viewDidLoad, and the (.xib)
- 8.3.13. Icon File
- 8.3.14. Testing the App
- 8.4. Digging the Code
-
9. MapKit
- 9.1. A Little about Frameworks
- 9.2. Important Things to Know
- 9.3. Preinstalled MapKit Apps
- 9.4. Cool and Popular MapKit Apps to Inspire You
- 9.5. MapKit_01: A View-Based Application
- 9.6. Preliminaries
-
9.7. A New View-Based Template
- 9.7.1. Adding the Annotation File
- 9.7.2. It's Already Working!
- 9.7.3. Check It Out—the iPad Simulator
- 9.7.4. Make It Look a Little Bit Better
- 9.7.5. Dealing with the Implementation
- 9.7.6. Coding the myPos.h File
- 9.7.7. The myPos.m File
- 9.7.8. The AppDelegate Files
- 9.7.9. Connect MapView with MKMapView
- 9.8. Digging My Students' MapKit Code
- 9.9. Zoom Out ... Seeing the Big Picture
Product information
- Title: iPhone and iPad Apps for Absolute Beginners
- Author(s):
- Release date: June 2010
- Publisher(s): Apress
- ISBN: 9781430227007
You might also like
audiobook
Transformed
Help transform your business and innovate like the world's top tech companies! Transformed: Moving to the …
audiobook
What's New in Software Architecture: Data Mesh and the AI Revolution with Zhamak Dehghani (Audio)
Join Neal Ford and Zhamak Dehghani for a discussion about the challenges of creating, sharing, and …
audiobook
What's New in AI: Open Source Large Language Models with Eric Xing (Audio)
Join host George Anadiotis and guest Eric Xing, for a discussion about the current and expanding …
video
Automate Application with Specflow and Selenium WebDriver C#
SpecFlow is a framework that brings Behavior-Driven Development (BDD) into life. It is all about filling …