SlideShare uma empresa Scribd logo
1 de 47
Baixar para ler offline
Objective-C, Swift 
e o Mercado
Mauricio Meirelles Mauricio Zaquia 
iOS Dev Instructor 
BEPiD 
iOS Dev Instructor 
BEPiD 
5+ anos de experiência em iOS 
Pós-graduado em Gestão de Negócios 
PUCRS 
4+ anos de experiência em iOS 
Formado em SI 
PUCRS 
0,32 anos de experiência em Swift 0,32 anos de experiência em Swift
US$ 50.000/dia em advertising
Vendido por US$ 19.000.000.000
Fonte: Apple
Dispositivos iOS 
800 
600 
400 
200 
0 
em milhões 
2010 2011 2012 2013 2014 
Fonte: Apple
4 milhões 
pré-venda, 24 horas 
iPhones 6/6+ 
Fonte: Apple
Downloads de aplicativos 
140 
105 
70 
35 
0 
iOS Android 
Lucratividade de aplicativos 
100 
75 
50 
25 
0 
iOS Android 
Fonte: App Annie
Downloads de aplicativos 
140 
105 
70 
35 
0 
iOS Android 
Lucratividade de aplicativos 
100 
75 
50 
25 
0 
iOS Android 
Fonte: App Annie
WWDC '14
Extensions UIVisualEffect 
Continuity TouchID iBeacon 
Improvements 
Custom Keyboards 
Handoff HealthKit
WTF???
NSString *variable = @"Something"; 
var variable: String = "Something"
NSString *variable = @"Something"; 
var variable = "Something"
Array *list = @[@"A", @"B"]; 
list = ["A", "B"] 
NSMutable 
var
Array *list = @[@"A", @"B"]; 
list = ["A", "B"] 
NS 
let
var let
var tuple = ("Hi!", 1, 2.3) 
println(tuple.0 )
var tuple = (hi: "Hi!", one: 1, twothree: 2.3) 
println(tuple.hi 
)
..< ...
for i in 0 5 { 
..< ... 
println(i) 
} 
for i in 0 5 { 
println(i) 
}
for (idx, obj) in enumerate(list) { 
println("Object (obj) at (idx)") 
}
NSNumber *value = nil; 
var value = nil
NSNumber *value = nil; 
var value = nil
NSNumber *value = nil; 
var value: NSNumber? = nil
var value: NSNumber? = nil 
value = 10 
println(value!) 
if let val = value { 
println(val) 
}
var value: NSNumber? = 
value = 10 
println(value!) 
if let val = value { 
println(val) 
} 
! 
?
? !
public class Person : Personable { 
private var text = "Hi!" 
let year = 2014 
internal func walk() { 
println("Walking in (year.inText())") 
} 
} 
protocol Personable { 
func walk() 
} 
extension Int { 
func inText() -> String { 
return "two thousand and fourteen" 
} 
}
HORA CERTA
Desenvolvimento iOS 
em Swift 
Novembro/14
O!rigado! 
Mauricio Meirelles 
mauricio.m@gmail.com 
Mauricio Zaquia 
mauriciotzaquia@gmail.com

Mais conteúdo relacionado

Mais de Mauricio Tremea Zaquia (6)

Auto-layout
Auto-layoutAuto-layout
Auto-layout
 
A/B Testing in Mobile
A/B Testing in MobileA/B Testing in Mobile
A/B Testing in Mobile
 
iOS 10 - What's New
iOS 10 - What's NewiOS 10 - What's New
iOS 10 - What's New
 
Keynote - TDC2015
Keynote - TDC2015Keynote - TDC2015
Keynote - TDC2015
 
Keynote - MSBR15
Keynote - MSBR15Keynote - MSBR15
Keynote - MSBR15
 
Mercado iOS & Swift vs Objective-C
Mercado iOS & Swift vs Objective-CMercado iOS & Swift vs Objective-C
Mercado iOS & Swift vs Objective-C
 

Objective-C, Swift e o Mercado