Professional Documents
Culture Documents
1. Introduction
Everybody loves iPhones Everybody wants iPhones ... But Why ??? Let us explain to you !
2. Platform
2.1 Hardware
Color: Black (8 GB or 16 GB) or white (16 GB) Weight: 133 g Screen size: 3.5 in 2 megapixel camera Screen resolution: 480320 pixels Wi-Fi (802.11b/g)
Bluetooth 2.0 Multi-touch screen 3G for broadband data speeds : (UMTS / HSPDA: UMTS 850/1900/2100) GPS
2. Platform
Screen
9 cm (3.5 in) liquid crystal display
HVGA touchscreen created for use with a finger or multiple finger for multi-touch sensing
262.144 colors
Audio
Loudspeakers are located above the screen. Volume controls are located on the left side. Both speakers are used for Handsfree operations and media playback
2. Platform
Battery
Built-in rechargeable lithiun-ion non-removable battery Charging via USB to computer system or power adapter Talk time : Up to 5 hours on 3g and 10 hours on 2G Standby time: Up to 300 hours
2. Platform
SIM card
The Sim card is located in a slot at the top of devices. It can be ejected with a paperclip or a tool included with the iPhone 3G. In most countries, the iPhone is usually sold with a SIM lock, which prevents the iPhone from being used on different mobile networks.
2. Platform
2.2 iPhone OS
iPhone OS
2. Platform
2.2 iPhone OS
Cocoa
Key frameworks for application development UIKit Framework: GUI Foundation Framework
2. Platform
2.2 iPhone OS
Media :
Multimedia Services Graphics/Audio/Video frameworks Quartz: CoreGraphics, Quartzcore framework OpenGL ES CoreAudio OpenAL Media Player Framework
2. Platform
2.2 iPhone OS
Provides fundamental system services for all applications Services used directly/indirectly Building foundation of all system tech. Core Foundation framework SQL Lite and XML support access
2. Platform
2.2 iPhone OS
Core OS Layer
Encompasses kernel environment + drivers + basic OS interfaces Responsible for every aspect of the OS Manages core functions
2. Platform
2.2 iPhone OS
2.x
3.0a
Battery life improvement Overall stability improvement 3G firmware upgrades MMS Copy Paste Landscape typing Expansion Developer APIs
Networking / 1
Technical Specifications
UMTS/HSDPA
(850, 1900, 2100 MHz) GSM/EDGE (850, 900, 1800, 1900 MHz) Wi-Fi (802.11b/g) Bluetooth 2.0 + DER
Networking / 2
Bonjour (= zero-configuration network)
spontaneous connection to IP-networks auto-recognition of provided services among members
Security
Root access disabled Keychain Application Sandbox Secure network connections Certificates and identities Authentication mechanisms VPN support Remote wipe Enforced security and password policies
User Experience
Apple Vision:
- Touch
Design Concept
With Touch:
Application 1 Enter Text BIGGER BUTTONS
Less Screenspace
BUTTON 2 BUTTON 3
Less Info
BUTTON 1
Design Concept
New Concept of UI
Touch Me
(Tap is king)
Design Concept
New UI: -Grid-like Home Screen -Each task an Icon -Virtually larger Home Screen with gestures -Dynamic screens, not static. -Tap to start application and use the phisical button to go back to home screen
LG Cookie
And more...
Gaming on iPhone
Accelerometer
Unity 3D
Future Possibilities
Recently: -Amazon App For iPhone -Announcement of iPhone OS 3.0: -Cut, Copy and Paste Function; -Send Photos, Contacts and much more functions; -Mail application in wide screen view. Future Vision: Wireless devices transfering files with a finger wipe
3. Software Development
3.1 Development Requirements
Languages
3. Software Development
3.1 Development Requirements
Licensing
3. Software Development
3.1 Development Requirements
Software
iPhone SDK + iPhone Simulator XCode Other languages? -> Cross Compilers
3. Software Development
3.2 IDE and Tools
Development of application for iPhone Access the iPhone Dev Center to gain resources
3. Software Development
3. Software Development
Xcode :
3. Software Development
iPhone Simulator :
Test your application Include a complete and conformant implementation of OpenGL ES 1.1
3. Software Development
3. Software Development
Instruments :
Includes an OpenGL ES instrument. Know how your application uses resources such as the CPU, memory, file system.
3. Software Development
Interface Builder :
Graphical development environment. Includes a .xib file that contains Interface Builder definitions where graphical objects are placed.
3. Software Development
3.3 Programming Obectif-C
3. Software Development
OOP in Objective-C
Programming syntax
Data types & expressions Operators Branching, conditions and loops Preprocessors
Object and classes
3. Software Development
@interface
The @interface section has the general format: @interface ClassName: ParentClassName { //Member declarations; } // Method declarations; @end Member declaration : (Directive) (Data type) (Variable name) Method declaration : (method type) (return type) (method name) (:) (Argument type) (Argument name) ;
3. Software Development
@implementation
The @implementation has the following format: @implementation ClassName; // method definition @end Apply methods to classes or instances: [ClassOrInstance method name]; // for non argument [ClassOrInstance (method name): arguments]; // for one arguments Multiple arguments:
(Method type) (Return type) (Method name) (:) (Argument type) (Argument name) (Some name) (:) (Argument type) (Argument name);
3. Software Development
Example
#import <stdio.h> #import <objc/Object.h> //------- @interface section ------@interface SomeClass: Object { int number; } -(void) print; -(void) setNumerator: (int) n; @end
3. Software Development
Example
//------- @implementation section ------@implementation SomeClass; -(void) print { printf (" %i ", number); } -(void) setNumber: (int) n{ numerator = n; } @end
3. Software Development
Example
//------- program section ------int main (int argc, char *argv[]){ SomeClass *exClass = [[SomeClass alloc] init]; //SomeClass *exClass = [SomeClass new] [exClass setNumber: 1];// call setNumber with arg =1 printf ("The number is:"); [exClass print]; [exClass free]; // Free memory return 0; }
3. Software Development
Foundation framework
Offer basic objects, collection of objects Automemory management:
4. Overall Evaluation
4.1 Advantages
4 abstract layers : safety for developer. Superior User Interface / experience. Easy applications store. Special Features : Visual voicemail. Touch interaction. Big storage capacity. Real-time GPS
4. Overall Evaluation
4.2 Limitations
2 devices run the OS Battery is not removable Special features must be supported by provider High price (for unlocked version)
4. Overall Evaluation
4.3 Conclusions
Usabilty is very high Hype iPhone is a good platform to create applications which can be great.