ios ecosystem
DESCRIPTION
Una breve introduzione al mondo iOS.TRANSCRIPT
Massimo Oliviero § The Mentor
iOS Ecosystema brief introduction
iOS Bootcamp
Chi sono
Massimo OlivieroMobile Developer & Entrepreneur
http://www.massimooliviero.net
@maxoly
Agenda
Context Process Platforms Tools
Mobile Market
AppStore
Environment
Apple Developer Program
Devices
SDK
Xcode
Simulator
Instruments
Sondaggio
?
http://pragmamark.org
Context Process Platforms Tools
Mobile Market
AppStore
Environment
Apple Developer Program
Devices
SDK
Xcode
Simulator
Instruments
Context
Mobile Market
AppStore
Environment
Top mobile vendors
vendor shipments share annual growth
Nokia 417M 27% -7.9%
Samsung 329M 21% 17.6%
Apple 93M 6.0% 96%
Source: IDC Worldwide Mobile Phone Tracker, February 1, 2012
Mobile Phone Vendors, Shipments, and Market Share Calendar Year 2011
Top smartphone vendors
vendor shipments share annual growth
Samsung 95M 19% 310%
Apple 93M 19% 96%
Nokia 77M 15% -22%
Source: IDC Worldwide Mobile Phone Tracker, February 1, 2012
Worldwide Smartphone Vendors, Shipments, and Market Share Calendar Year 2011
Top smartphone OS
os shipments share annual growth
Android 237M 48% 244%
iOS 93M 19% 96%
Symbian 80M 16% -29%
Source: Canalys (Feb 2011)
Worldwide smartphone market, by operating system, by 2011 global sales
Top tablet vendor
os 2011 2012 share
iOS 40M 73M 61%
Android 17M 38M 31%
Microsoft 0M 5M 4,2%
Source: Gartner (April 2012)
Worldwide Sales of Media Tablets to End Users by OS
iOS Bootcamp
Diamo i numeri
• +365 milioni di device iOS
• +220 milioni di iPhone (2, 3G, 3Gs, 4, 4S)
• +67 milioni di iPad (iPad 1, iPad 2, new iPad)
• 80% iOS 5
Source: Apple
iOS Bootcamp
Diamo i numeri
• +400 milioni di account iTunes con CC
• +650.000 apps (di cui 225 specifiche per iPad)
• +30 miliardi di download
• +120.000 developers
• +5 miliardi $ agli sviluppatori
• 155 paesi
http://en.wikipedia.org/wiki/App_Store_(iOS)
Apple WWDC
Apps Developers
https://www.mylookout.com/appgenome
Free vs. Paid Apps
https://www.mylookout.com/appgenome
Revenue
iOS Bootcamp
Case history
• What’s App MessengerPrezzo App Store: $0.99Prezzo Google Play: gratis / per il primo anno
• Angry BirdsPrezzo App Store: $0.99Prezzo Google Play: gratis / con ADV
iOS Bootcamp
Case history
• Clear App350K download in 9 giorni a $0.99 l’unoora il prezzo è a $2.99
• Draw Something +50M download in meno di 2 mesi.
iOS Bootcamp
Riassumendo
• Il contestoUn ambiente che invoglia l’utente
• Credit cardThere are 400 million iTunes accounts (with credit cards attached and ready to spend)
quindi...
iOS Bootcamp
Apps Trends
1. Games
2. Education
3. Entertainment
4. Books
5. Lifestyle
http://148apps.biz/app-store-metrics/
iOS Bootcamp
Think differentI contro del mondo Apple
• nessun programma di certificazione per devs
• unico evento la WWDC
• politica di update Xcode & SDK
• specifiche tecniche device non complete
• risorse sotto NDA
• Apple ID e ADP come se piovesse ^_^
iOS Bootcamp
Think different
I pro del mondo Apple
• WWDC di qualità
• risorse di qualità (soprattutto la docs)
• strumenti curati e performanti (anche se...)
• iOS SDK
iOS Bootcamp
Requisiti
• Mac OS
• Xcode (free)
• Device (iPhone/iPad/iPodTouch)
• Apple ID
• Apple Developer Program (ADP)
http://pragmamark.org
Context Process Platforms Tools
Mobile Market
AppStore
Environment
Apple Developer Program
Devices
SDK
Xcode
Simulator
Instruments
Process
Apple Developer Program
Developer Programs
iOS Developer Program $99/year App Store / 100 device
iOS Developer Enterprise Program $299/year NO App Store / ∞ device
iOS Developer University Program free NO App Store / 200 person
iOS Bootcamp
Apple Developer Program
• Member Centergestione utenti, sottoscrizioni e rinnovi
• iOS Provisioning Portalcertificati di sviluppo e distribuzione, device
• iTunes Connectapp submission, sales and trends e pagamenti
iOS Provisioning Portal
iOS Bootcamp
Concepts
• CertificatiIdentificano univocamente un attore
• DevicesElenco dei device abilitati al testing
• App IDsIdentificativi univoci delle app
• ProvisioningE’ un asset che unisce i tre concetti precedenti
iOS Bootcamp
Certificati
• Development CertificateAssociato ad una persona del team
• Distribution CertificateAssociato all’identità dell’azienda (sviluppatore)
iOS Bootcamp
Devices• Scopo
device per fini di sviluppo e test
• Name + UDIDUnique Device IDentifier, stringa di 40 caratteries. 67a43b0925c7a8050ad788591ace81d1bda81bed
• Limiti
1. ADP prevede un massimo di 100 device
2. Non è possibile eliminare un device fino al successivo rinnovo dell’ADP
iOS Bootcamp
App IDs
• Bundle Identifierè l’identificativo univoco dell’app
• Reverse domain namees. com.mycompany.BestAppEver
• Wild-card characteres. com.mycompany.*
iOS Bootcamp
Provisioning
• Che cosa èè un una risorsa (un file) che unisce i 3 concetti precedenti ovvero App-ID, Devices e Certificati
• A cosa serveè incluso nell’applicazione e serve per definire chi è autorizzato a distribuire l’app e chi è autorizzato ad eseguire l’app.
iOS Bootcamp
Provisioning• Development Provisioning
‣ App ID ‣ elenco di certificati (development certificate) ‣ elenco di device
• Distribution Provisioning
‣ Distribution method (App Store o AdHoc)‣ App ID‣ un certificato (distribution certificate)‣ e in caso di AdHoc un elenco di device
La vostra faccia ora
Step by step
MMADP $$ Certificati
MDistributionCertificate
DevelopmentCertificate O
MMTeam Device
MDeviceClienti OMM
M M
Nuova APP App ID Provisioning OMM
Xcode Install Build & sign
http://pragmamark.org
Context Process Platforms Tools
Mobile Market
AppStore
Environment
Apple Developer Program
Devices
SDK
Xcode
Simulator
Instruments
Platforms
Devices
SDK
iOS Bootcamp
Device iOS
• iPhone
• iPad
• iPodTouch
Assisted GPS,Tri-band 3.6 Mbps
UMTS/HSDPA
iPhone timeline
iPhone 1
06/2007
iPhone 3G
06/2008 06/2009
iPhone 3GS
06/2010
iPhone 4 iPhone 4S
10/2011
Multi touchGesture
3.5’’ screen320×480163 ppi
Camera 2MP128 MB RAM
Magnetometro7.2 Mbit/s HSDPACamera 3.0 MP
VGA (480p)256 MB RAM
CPU Apple A4 800 MHZDisplay Retina 326 ppi
Giroscopio a 3 assiCamera 720p HD 5MPCamera frontale 2MP
512 MB RAM
CPU Dual Core Apple A5
Camera 8MP
CPU Apple A5 Dual Core512 MB RAM
Camera 720p HD
iPad timeline
iPad 1
04/2010
iPad 2
03/2011 03/2012
the new iPad
CPU Apple A4256 MB RAM
Wi-FiQuad-Band GSM/
GPRS/EDGEBluethooth
A-GPSMagnetometro
Microfono
Display Retina2048×1536 px resolution (264 ppi)
1 GB RAMCamera 1080p - 5MP
iOS Bootcamp
Device iOS in commercio
• iPhone 4S
• iPhone 4
• iPhone 3GS (ebbene si)
• the new iPad (3rd)
• iPad 2
• iPod Touch 4G
iOS Bootcamp
Device Specs
• GSM Arenahttp://www.gsmarena.com/apple-phones-48.php
• the iPhoneWikihttp://theiphonewiki.com/wiki/
• iPhone Dev Wikihttp://iphonedevwiki.net/index.php/Main_Page
iOS Bootcamp
iOS
• Sistema opertivo mobilearchietture ARM, multitasking, CocoaTouch, multi-touch GUI
• Kernel XNU (stesso del MAC OS X)sviluppato inizialmente da NeXT per il NeXTSTEP os è un kernel ibrido
• Inizialmente conosciuto come iPhone OS
iOS Bootcamp
iOS SDK
• Librerie e strumenti di sviluppo
• Prima release Marzo 2008
• Side by side con Xcode e Mac OS
Side by side
Xcode SDK SO
4.5 iOS 6 SDK Mountain Lion
4.3 iOS 5 SDK Lion
4.2 iOS 4.3 SDK Snow Leopard / Lion
iOS & devices
OS iPhone iPad iPod
6.0 beta 3GS / 4 / 4S 2 / 3 4th gen
5.1 3GS / 4 / 4S 1 / 2 / 3 3rd / 4th gen
5.0 3GS / 4 / 4S 1 / 2 3rd / 4th gen
4.3 3GS / 4 / 4S 1 / 2 3rd / 4th gen
4.2.1 (uni) 3G / 3GS / 4 / 4S 1 / 2 3rd
http://pragmamark.org
Context Process Platforms Tools
Mobile Market
AppStore
Environment
Apple Developer Program
Devices
SDK
Xcode
Simulator
Instruments
Tools
Xcode
Simulator
Instruments
iOS Bootcamp
Xcode
• Ambiente di sviluppo (IDE)
• Objective-C / Objective-C++ / C++ / C
• Source Control (Subversion / Git)
• Interface Builder
• Alternative? Si, JetBrains AppCode (ma no UI)
iOS Bootcamp
iOS Simulator
• iPhone / iPhone Retina / iPad / iPad Retina
• Gesture, Orientation e Memory Warning
• GPS (iOS 5 Simulator)
• Apps: Safari, Immagini, Contatti, Impostazioni, Game Center, Edicola
• Veloce!
iOS Bootcamp
Con qualche problema...
• Risorse non limitate
• Falsi Memory Leak
• Nessun supporto per la Camera
iOS Bootcamp
Instruments
• Strumento di analisi dell’applicazione
• Traccia e profila le attività del codice
• Integrato con XCode e con l’iOS Simulator
• Individua problemi di memoria, di prestazioni e di consumo eccessivo delle risorse (batteria, memoria, CPU etc)
iOS Bootcamp
What’s NeXT !?X
code
, deb
uggin
g &
deve
lopm
ent t
ools
Proj
ect S
truc
ture
, cod
e
orga
niza
tion
& co
de
conv
entio
nUI customization
and technique
App User
Experience & User
Interaction
Design iOS Application
Mobile development methodology
Domande?