1. mobile technologies
iOS
Claude Bemtgen, Matthias Fricke,
Florian Klingner & Christoph Siegers
1 Picture: apple.com (20.12.2010)
2. Structure
Overview
History & Versions
Apps
iOS Technology Layers
Core OS
Core Services
Media
Cocoa Touch
Development
Picture: apple.com (20.12.2010)
Developing in Xcode
Development Tools
Demo
Summary
2 Web Technologies
3. History
Platforms:
iPhone
iPod Touch
iPad
Apple TV
June 2007
Release „iPhone OS“
with the first iPhone
Picture: bindapple.com (09.01.2010)
March 2008
Release of the first SDK
June 2010
Renamed „iOS“
3 Web Technologies
4. Versions
Most recent version: iOS 4.2.1
First generation devices not able to pass 3.1.3
Biggest changes:
1.1 : iTunes Music Store
2.0 : Initial release on iPhone 3G
VPN
App Store
3.0 : Initial release on the iPhone 3GS
Video Recording
Picture: apple.com (09.01.2010)
Safari support for HTML5
4.0 : Initial release on iPhone 4
“Multitasking”
Retina display
Multitasking
4 Web Technologies
5. Apps
Initially invented to be a shortcut
For a “quick call”
For a special contact
For a bookmark from Safari
Homepages should be adapted
Other layout when calling from a smartphone
Picture: apple.com (20.12.2010)
Today a few pages still have that feature
6 Web Technologies
6. iOS Technology Layers
4 Layers
Cocoa Touch
Media
Core Services
Core OS
Picture: iOS Simulator
6 Web Technologies
7. Core OS Layer
Presents the technologies, which provide low-
level building blocks for applications.
Cocoa Touch
Media
Examples: Core Services
Core OS
OS X Kernel
optimized Version of Mac OS X (BSD)
External Accessory
‣ external hardware (Dock Connector & Bluetooth)
Picture: iOS Simulator
7 Web Technologies
8. Core Services Layer
Presents the technologies, which handle a variety
of hardware-specific and system-specific tasks.
Cocoa Touch
Media
Examples: Core Services
Core OS
SQLite
embed a SQL Database in your App
Core Location
location information (GPS, cell, Wifi)
Picture: iOS Simulator
8 Web Technologies
9. Media Layer
Presents the technologies, which handle the
presentation of visual and audible content.
Cocoa Touch
Media
Examples: Core Services
Core OS
Open GL ES
provides high frame rates for apps
Core Audio
generate, record, mix and play audio
Picture: iOS Simulator
9 Web Technologies
10. Cocoa Touch Layer
Presents the technologies, which provide the
high-level application behavior.
Cocoa Touch
Media
Examples: Core Services
Core OS
Gesture Recognizer
tapping, pinching, dragging, rotating, long press
Push Service
new information, when app is not running
Picture: iOS Simulator
10 Web Technologies
11. Developing for iOS
Requirements
Mac OS X required
Xcode / SDK
an Apple developer account (free)
to run the applications on a device and not just on the
simulator you need paid account
Objective C
declaring and implementing of objects
Picture: developer.apple.com (20.12.2010)
sending messages between objects
MVC Design (Model, View, Controller)
11 Web Technologies
12. Development Tools
Xcode
Picture: developer.apple.com (20.12.2010)
managing and editing code
running applications on the simulator
Interface Builder
graphically create views
setting properties of objects
„wiring“ objects to send messages to each other
Instruments
debugging
performance tools (memory leaks)
12 Web Technologies