You are on page 1of 25

iPhone Programming

Introduction Norman McEntire

Copyright 2009 Servin Corporation

Legal Info

iPhone is a trademark of Apple Inc.

Servin is a trademark of Servin Corporation

Copyright 2009 Servin Corporation

Welcome

Welcome! Thank you! My promise to you Course Description Course Prerequisites

Copyright 2009 Servin Corporation

Today's Objectives

Learn what you'll need Explore iPhone SDK Write Hello World Assign Lab Exercise

Copyright 2009 Servin Corporation

What you'll need


Mac or Macbook (Intel-Based) Membership in ADC


Apple Developer Connection Membership is free Software Developers Kit Membership is free
Copyright 2009 Servin Corporation

iPhone SDK

iPhone SDK

Xcode Interface Builder iPhone Simulator Organizer Instruments Documentation

Copyright 2009 Servin Corporation

Start-up Xcode

/Developer/Applications/Xcode

Copyright 2009 Servin Corporation

Xcode Startup View

Copyright 2009 Servin Corporation

Xcode New Project

Copyright 2009 Servin Corporation

Xcode Active Project

Copyright 2009 Servin Corporation

Xcode Key Files


HelloWorldAppDelegate.h HelloWorldAppDelegate.m main.m MainWindow.xib

Copyright 2009 Servin Corporation

Interface Builder - MainWindow

Copyright 2009 Servin Corporation

Interface Builder - Window

Copyright 2009 Servin Corporation

Xcode Help > Documentation

Copyright 2009 Servin Corporation

Interface Builder - Tools > Library

Copyright 2009 Servin Corporation

Tools > Inspector

Copyright 2009 Servin Corporation

Build Your App


Build and Go Builds Installs on iPhone Simulator Starts Running

Copyright 2009 Servin Corporation

iPhone Simulator

Copyright 2009 Servin Corporation

Xcode Debugger

Copyright 2009 Servin Corporation

Xcode: Run > Console

Copyright 2009 Servin Corporation

Instruments

Copyright 2009 Servin Corporation

iPhone Developer Program


Yearly Individual/Business Membership Enterprise Membership Option Required to test on real device Required to release on iTunes Xcode: Tools > Organizer

Copyright 2009 Servin Corporation

Summary

iPhone SDK Xcode Interface Builder iPhone Simulator Debugger Instruments

Copyright 2009 Servin Corporation

Lab Exercise

Develop Window-Based iPhone App Yellow Background Label Hello iPhone Programming

Copyright 2009 Servin Corporation

Lab Solution

Xcode: File > New Project Xcode: Window-Based Project Interface Builder:

Set background color of window Drag Label onto window Change text of label

Xcode: Build and Go


Copyright 2009 Servin Corporation

You might also like