Xcode 4 iOS Development Beginner's Guide

More Information
Learn
  • Install and configure a set of frameworks to make your life easier for developing iPhone applications
  • Download and install the Xcode 4 Development Tools
  • Get started with Apple's Objective-C and Cocoa Touch
  • Understand the Model-View-Controller (MVC) development paradigm
  • Implement application input and views
  • Build rotatable and resizable user interfaces
  • Read and write data using the Core-Data framework
  • Use the iPhone's media playback to play sounds and videos
  • Create map and location-based services
  • Sense motion using the Accelerometer and Gyroscope
  • Manage source code with the Version Editor
  • Use instruments to make your applications run smoothly
  • Build, package and distribute your applications through the App Store
About

The iPhone is one of the hottest mobile devices on the planet. Whether you are just starting out with iOS Development or already have some knowledge in this area, you will benefit from what this book covers. Using this book's straightforward, step-by-step approach, you will go from Xcode 4 apprentice to Xcode 4 Jedi master in no time.

Xcode 4 iOS Development Beginner's Guide will help you learn to build simple, yet powerful applications for the iPhone from the ground up. You will master the Xcode 4 tools and skills needed to create applications that are simple yet, like Yoda, punch far above their weight.

You will start by learning about the Xcode 4 Development Tools, Xcode IDE, iOS Simulator, Objective-C 2, and Organizer. Then you will jump straight in and create applications using Xcode and Interface Builder. You finish up by learning how to build, package, and distribute your application to the Apple App Store.

This book will teach you how to go about building simple applications from scratch, you will master how to download and install the Xcode 4 Development Tools, get to know the development environment and how to build great user interfaces (using Interface Builder), learn about the different iOS frameworks, learn how to implement video and audio playback, learn how to sense motion using the Accelerometer and Gyroscope, and how to improve the reliability and performance of your applications.

After reading Xcode 4 iOS Development Beginner's Guide, you will be able to write your own applications for the iPhone with supreme efficiency. There are a lot of examples and images provided to get you up to speed quickly.

Features
  • Learn how to use Xcode 4 to build simple, yet powerful applications with ease
  • Each chapter builds on what you have learned already
  • Learn to add audio and video playback to your applications
  • Plentiful step-by-step examples, images, and diagrams to get you up to speed in no time with helpful hints along the way
  • A practical guide to building your own fun and exciting iOS applications rapidly using Xcode 4
Page Count 432
Course Length 12 hours 57 minutes
ISBN 9781849691307
Date Of Publication 24 Aug 2011
Getting to know the Interface Builder environment
Time for action – creating the HelloXcode4_GUI application
Time for action – adding object controls to our View
Time for Action – enabling Interface Rotation
Making our Components work together
Time for action – binding Control Objects
Time for action – repositioning the Controls
Time for action – hiding the keyboard
Introducing Document-based applications
Time for action – creating a Document-based application
Time for action – implementing file saving and loading
Summary
Introducing the Frameworks
Using Frameworks and APIs in iPhone development
Time for action – creating the Core Data application
Time for action – creating the MusicPlayer application
Time for action – creating the MoviePlayer application
Time for action – making your application location aware
Time for action – creating a simple geographical application
New Framework APIs
Summary
Developing iOS applications using MVC design
Implementing MVC using Xcode and Interface Builder
Time for action – building a Pizza order application
Time for action – binding our Controls using Outlets and Actions
Time for action – declaring input field as a property of View Controller
Creating a view-based application template
Time for Action – creating the FavoriteColor application
Time for action – binding our Controls using Outlets and Actions
Time for action – creating a Table view application
Time for action – grouping row items in our TableViewExample application
Time for action – creating the SwitchesSlidersSegments project
Time for action – binding our Controls using Outlets and Actions
Time for action – creating the ScrollingViews project
Time for action – binding our Controls using Outlets and Actions
Time for action – creating the Date Picker project
Time for action – binding our Controls using Outlets and Actions
Time for Action – creating the Custom Picker project
Time for action – binding our Controls using Outlets and Actions
Time for action – creating application with Text fields, Text Views, and Buttons
Time for action – binding our Controls using Outlets and Actions
Summary
Exploring the notification methods
Generating alerts
Time for action – creating the GetUsersAttention application
Time for action – adding the AudioToolbox Framework to our application
Time for action – adding controls to our View
Time for action – implementing the Show Activity Indicator method
Time for action – implementing the Display Alert Dialog method
Using Action Sheets to associate with a view
Time for action – implementing the Display Action Sheet method
Time for action – handling alerts via sounds and vibrations
Summary
Introducing the MultiTouch architecture
Time for action – creating the TapExample project
Time for action – binding our Controls
Time for action – creating the SwipeExample project
Time for action – creating the PinchExample project
Time for action – creating the ShakeExample project
Time for action – implementing the motionBegan, motionEnded, and motionCancelled methods
Exploring the Accelerometer/Gyroscope
Time for action – creating the OrientationExample project
Time for action – creating the AccelGyroExample project
Summary
Introducing the new and improved Debugger
Creating a new debugging project
Time for action – creating the DebuggingExample project
Running and debugging the project
Time for action – setting up the LLVM compiler
Exploring the new Debugger
Time for action – using the Scheme Editor to define a Scheme
Time for action – running the Static Analyzer
Time for action – configuring your project to perform automatic Static Analysis
Time for action – Detecting a memory leak
Time for action – detecting an instance of an uninitialized variable
Time for action – working with code completion
Time for action – stopping Xcode from alerting you to problems
Summary
Introducing the new Version Editor
Time for action – setting up a local Subversion repository
Time for action – configuring the Subversion repository
Time for action – adding our TapExample project to the repository
Time for action – checking out the project from the repository
Using Git to manage multiple projects
Time for action – creating a new Xcode project using Git
Time for action – assigning address book identities within the organizer
Summary
Introducing Instruments
Time for action – creating the InstrumentsExample project
Time for action – running and Profiling the project
Adding and configuring Instruments
New Instruments in Xcode 4
Summary
Build configurations – debug to release
Time for action – setting up the team
Time for action – generating a Certificate Request
Time for action – getting the certificate
Time for action – registering devices
Time for action – creating the application ID
Time for action – creating the profile
Time for action – creating and deploying the app to an iOS device
Time for action – getting the Distribution Certificate
Time for action – uploading the application icon and screenshot images
Summary

Authors

Steven F. Daniel

Steven F. Daniel is the CEO and founder of GENIESOFT STUDIOS, a software development company based in Melbourne, Victoria, that focuses primarily on developing games and business applications for the iOS, Android, and Mac OS X platforms.

He is an experienced software engineer with more than 17 years' experience and is extremely passionate about making people employable by helping them use their existing skills in iOS, Android, and Xamarin to get the job done. He is a member of the SQL Server Special Interest Group (SQLSIG), CocoaHeads, and the Java Community. He was the co-founder and Chief Technology Officer (CTO) at SoftMpire Pty Ltd., a company focused primarily on developing business applications for the iOS and Android platforms.