Course

Build a Simple iPhone App (iOS7)

Building the Crystal Ball app will teach you how to use the Objective-C language and the Xcode and Interface Builder tools. You will also learn core concepts such as a design pattern called Model-View-Controller, View hierarchy, View Controller life-cycle. In addition, you will learn how to connect views/controls to code, create animations, respond to touch and motion events. Towards the end you will have finished creating a fun app that will get you oriented with world of iOS development.

Build a Simple iPhone App (iOS7)

7 Achievements

Getting Started (iOS7)

Getting Started

Get familiar with the basic layout and functionality of Xcode. Find out how to use Interface Builder to drag and drop controls on a view. Run your app in the iPhone simulator. Connect controls on the view to the view controller which manages the user interface via IBAction and IBOutlet.

Understanding Views and View Controllers

Understanding Views and View Controllers

The key to building an iPhone app is to unlock the mystery of views and view controllers. A view is comprised of several views and controls whose hierarchy is determined by the order in which they were added. A view controller manages several views and allows you to capture events during its life-cycle for customization.

Creating a Data Collection

Creating a Data Collection

There are several classes that allow you to store a collection of objects (or data), one of which is an NSArray. An array stores indexed data which can easily be accessed. Learn how to store data in an array, create a property and access it randomly using a pseudo-random generator.

0 of 5 Steps Complete
Refactoring into a Model

Refactoring into a Model

The Model-View-Controller design pattern is architected to separate out the roles played by the classes. Learn how to create a custom class that plays the role of a model. Find out what goes on behind the scenes with @property and how it can be modified using a readonly attribute.

Designing your App

Designing your App

An app without design is no app at all. Learn how to spruce up your app with design elements like adding a background image for the entire app and customizing the button. Finally, see how you can design an app that adapts to the screen size using the powerful feature called Auto Layout.

0 of 9 Steps Complete
Animate This (iOS7)

Animating and Intercepting Events

The iPhone has two remarkable built-in sensors which detect motion and acceleration. Find out how responding to motion events can add a shake-to-predict feature. By using the touch gesture we can eliminate the use of a button.

Animations are a great way to make an app stand out. There are several animation techniques like animating a series of images using a UIImageView or simple view animations based on view properties.

0 of 10 Steps Complete
Testing and Debugging

Testing and Debugging

Test the app on an actual device rather than the simulator. There are several techniques to debug your application, learn basic ones like using NSLog, stepping through code and adding breakpoints.

0 of 5 Steps Complete

Instructor

  • Amit Bijlani

    Amit is an iOS Developer who loves teaching and speaking about iOS. When not in front of a computer, he's exploring the outdoors or meditating. Find him on Twitter @paradoxed.

Download videos

You have to sign up for Treehouse in order to download course videos.

Sign up