CS 646 iPad/iPhone Application Development Fall Semester, 2012 Doc 1 Introduction Aug 28, 2012

Copyright ©, All rights reserved. 2012 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent (http:// www.opencontent.org/openpub/) license defines the copyright on this document.

Monday, August 27, 12 References

CS193P iPhone Application Development Course Lecture notes, Tuesday Jan 5, 2010 by Cannistraro & Shaffer, Standford University from iTunes University

2

Monday, August 27, 12 Course Mechanics http://blackboard.sdsu.edu/

Crashing Screencasts & Lecture videos Prerequisites Blackboard In-class verses on-line course Grading Project Xcode & Macs

3

Monday, August 27, 12 Blackboard Demo

4

Monday, August 27, 12 How to ask questions on-line

Use Backboard Discussion Board

Only send email if personal in nature

5

Monday, August 27, 12 In-Class verses On-line version

Same course but

6

Monday, August 27, 12 In-Class verses On-line version

Same course but

In class provides visible social context

7

Monday, August 27, 12 In-Class verses On-line version

Same course but

In class give access to other students

8

Monday, August 27, 12 In-Class verses On-line version

Same course but

In class makes it easy to ask questions

9

Monday, August 27, 12 In-Class verses On-line version

Same course but

on-line course requires more discipline and work

10

Monday, August 27, 12 Grading Course has 1000 points

6 assignments (400 points) See syllabus for due dates

2 exams (190 points each) Sept 20 & October 23

Semester project (220 points)

11

Monday, August 27, 12 Semester Project Grading

iPhone or iPad app Originality (5% or 17.5 points)

Teams of 1 or 2 Size of project (15% or 52.5 points)

Quality of UI (40% or 140 points) Start thinking about project ideas

Working code (30% or 105 points)

Quality of code (10% or 35 points)

12

Monday, August 27, 12 Blackboard & Course Portal

All on-line course activities are done through Blackboard except:

Turning in assignments

Grades

These will be done using Course Portal

First time you access portal you need to create a password

13

Monday, August 27, 12 Xcode 4.4.1

Current version of IDE for iPhone development

Includes iOS SDK & simulator

Supports iOS 5 and earlier

Requires Mac OS 10.7.4 or later

Free download from Mac

14

Monday, August 27, 12 Xcode 4.5

Due soon

Supports iOS 6

Beta available if paid developer

15

Monday, August 27, 12 Xcode 3.2

Major differences from Xcode 4

Runs on Mac OS 10.6

Does not support iOS 5 or 6

Does not support recent changes in Objective-C

Avoid using this version if at all possible

16

Monday, August 27, 12 SDSU Mac labs

Love Library Macs

Only run Mac OS 10.6 so no Xcode

GMCS 422

Mac Mini's with Xcode

17

Monday, August 27, 12 Goal

Learn how to create iPhone/iPod Touch/iPad apps

18

Monday, August 27, 12 Mobile World

5 billion mobile phones

Mobile space changing rapidly

19

Monday, August 27, 12 Scale Changes Things

20

Monday, August 27, 12 Relative Screen Sizes - Pixels

iPhone 480 * 320

20 inch monitor 1680 * 1050 iPad 768 * 1024

21

Monday, August 27, 12 Relative Screen Sizes - Actual Dimensions

iPhone 1 7/8 * 3

20 inch monitor 17 1/4 * 10 3/4 iPad 5 3/4 * 7 3/4

22

Monday, August 27, 12 Restrictions

23

Monday, August 27, 12 iPhone

iPhone iPhone 3G iPhone 3GS iPhone 4 Processor Speed 412 MHz 412 MHz 600 MHz Memory 128 MB 128 MB 256 MB 512 MB

24

Monday, August 27, 12 Mobile Phone Application Developers & money

25

Monday, August 27, 12 Lots of jobs now Ways to create Mobile "apps"

Native Apps Objective-C - iPhone Java - Android

HTML 5, CSS, & Javascript Apps Apps installed on Device

Web Apps Web from Network

26

Monday, August 27, 12 Stanford iPhone Course

http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.3124430053

Video & Audio of lectures

27

Monday, August 27, 12 What we have to Learn

Language Objective-C UI

Frameworks Foundation UIKit

Tools Xcode Interface Builder

28

Monday, August 27, 12 Language

Objective-C

Super set of C

Used for iPhone & Mac development

Classes & objects

Some odd syntax

29

Monday, August 27, 12 Tools

Xcode, Simulator

Require Mac OS 10.7.4 or later

Free download at Apple iPhone Dev Center &

Part of iOS download

30

Monday, August 27, 12 Simulator

Part of iOS SDK

Runs iPhone apps on Mac

No need for iOS device

31

Monday, August 27, 12 Running Apps on Device

Simulators are not perfect

Real development requires testing on devices

Need certificate to run on a device

SDSU is an Apple University Developer

So can generate certificates for class

32

Monday, August 27, 12