iphone programming intro
TRANSCRIPT
-
7/28/2019 iPhone Programming Intro
1/25
Copyright 2009 Servin Corporation
iPhone Programming
Introduction
Norman McEntire
-
7/28/2019 iPhone Programming Intro
2/25
Copyright 2009 Servin Corporation
Legal Info
iPhone is a trademark of Apple Inc.
Servin is a trademark of Servin
Corporation
-
7/28/2019 iPhone Programming Intro
3/25
Copyright 2009 Servin Corporation
Welcome
Welcome!
Thank you!
My promise to you
Course Description
Course Prerequisites
-
7/28/2019 iPhone Programming Intro
4/25
Copyright 2009 Servin Corporation
Today's Objectives
Learn what you'll need
Explore iPhone SDK
Write Hello World
Assign Lab Exercise
-
7/28/2019 iPhone Programming Intro
5/25
Copyright 2009 Servin Corporation
What you'll need
Mac or Macbook (Intel-Based)
Membership in ADC
Apple Developer Connection
Membership is free
iPhone SDK
Software Developers Kit Membership is free
-
7/28/2019 iPhone Programming Intro
6/25
Copyright 2009 Servin Corporation
iPhone SDK
Xcode
Interface Builder
iPhone Simulator
Organizer
Instruments
Documentation
-
7/28/2019 iPhone Programming Intro
7/25
Copyright 2009 Servin Corporation
Start-up Xcode
/Developer/Applications/Xcode
-
7/28/2019 iPhone Programming Intro
8/25
Copyright 2009 Servin Corporation
Xcode Startup View
-
7/28/2019 iPhone Programming Intro
9/25
Copyright 2009 Servin Corporation
Xcode New Project
-
7/28/2019 iPhone Programming Intro
10/25
Copyright 2009 Servin Corporation
Xcode Active Project
-
7/28/2019 iPhone Programming Intro
11/25
Copyright 2009 Servin Corporation
Xcode Key Files
HelloWorldAppDelegate.h
HelloWorldAppDelegate.m
main.m
MainWindow.xib
-
7/28/2019 iPhone Programming Intro
12/25
Copyright 2009 Servin Corporation
Interface Builder - MainWindow
-
7/28/2019 iPhone Programming Intro
13/25
Copyright 2009 Servin Corporation
Interface Builder - Window
-
7/28/2019 iPhone Programming Intro
14/25
Copyright 2009 Servin Corporation
Xcode Help > Documentation
-
7/28/2019 iPhone Programming Intro
15/25
Copyright 2009 Servin Corporation
Interface Builder - Tools > Library
-
7/28/2019 iPhone Programming Intro
16/25
Copyright 2009 Servin Corporation
Tools > Inspector
-
7/28/2019 iPhone Programming Intro
17/25
Copyright 2009 Servin Corporation
Build Your App
Build and Go
Builds
Installs on iPhone Simulator Starts Running
-
7/28/2019 iPhone Programming Intro
18/25
Copyright 2009 Servin Corporation
iPhone Simulator
-
7/28/2019 iPhone Programming Intro
19/25
Copyright 2009 Servin Corporation
Xcode Debugger
-
7/28/2019 iPhone Programming Intro
20/25
Copyright 2009 Servin Corporation
Xcode: Run > Console
-
7/28/2019 iPhone Programming Intro
21/25
Copyright 2009 Servin Corporation
Instruments
-
7/28/2019 iPhone Programming Intro
22/25
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
-
7/28/2019 iPhone Programming Intro
23/25
Copyright 2009 Servin Corporation
Summary
iPhone SDK
Xcode
Interface Builder iPhone Simulator
Debugger
Instruments
-
7/28/2019 iPhone Programming Intro
24/25
Copyright 2009 Servin Corporation
Lab Exercise
Develop Window-Based iPhone App
Yellow Background
LabelHelloiPhoneProgramming
-
7/28/2019 iPhone Programming Intro
25/25
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