mateusz zając (codete) - swift in production

40
Swift in Production I KNEW YOU WERE TROUBLE WHEN YOU WALKED IN... 1

Upload: business-link-krakow

Post on 23-Jan-2018

136 views

Category:

Mobile


0 download

TRANSCRIPT

Swift in ProductionI KNEW YOU WERE TROUBLE WHEN YOU WALKED IN...

1

MATEUSZ ZAJĄC@COJOJ

COCOAHEADSKRK.HEROKUAPP.COM2

AGENDA1. Some history...

2. Pros of Swift, cons of Obj-C !3. Real life examples of early adopters4. What Swift can offer you right now

5. Where is Swift heading to?6. Summary (some funny gifs)

3

A LONG TIME AGO...

4

IN A GALAXY FAR FAR AWAY...

5

KIDDICOMPSMALLTALK

6

1 to: 10 do: [:n | n even ifTrue: [ Transcript show: n; show: ' is even'; cr] ifFalse: [ Transcript show: n; show: ' is odd'; cr]]

7

SMALLTALK + MVC❤❤❤

8

9

10

SMALLTALK + C + MVC=

Objective-C11

12

AND AFTER 31 YEARS... !

13

Swift14

LET'S COMPARE THEM!

15

Swift▸ Multi-paradigm (POP, functional, OOP...)

▸ Strong, static !▸ Modern (a lot of new fancy features)

▸ Available on Linux▸ Open Source

16

Objective-C▸ Multi-paradigm (POP, functional, OOP...)

▸ Strong, static !▸ Modern (a lot of new fancy features)

▸ Available on Linux▸ Open Source

17

#IONCEOVERHEARD18

We're not going Swift, cause nobody is using Swift, yet.

There are no Swift devs, yet.

19

THEY ALL USE Swift

20

BIG APPS USE Swift

21

WELL, 89 OF THE TOP 100 APPS USE ZERO SWIFT.

NOT EVEN AS AN EXPERIMENT!

22

BUT APPLE...ONLY CALCULATOR AND DOCK... !

AND WWDC APP!23

24

WHAT SWIFT CAN OFFER YOU RIGHT NOW▸ Great and experienced community▸ Apple's engineers support

▸ Better attractiveness of your project▸ Happy developers ☺

▸ Pride?25

26

WHERE Swift CAN BE USED▸ More and more web frameworks

▸ Shell scripting▸ Interactive execution (Playgrounds, IBM Swift Sandbox)

▸ iOS, OS X, watchOS, tvOS▸ Android?

▸ Internet of Things27

WHERE IS Swift HEADING TO?▸ Stable ABI !▸ Portability

▸ API design lineguides▸ Swift Package Manager▸ The Swift Standard Library

28

Let's sum it all up!29

IS SWIFT PRODUCTION READY?

30

YES, YES, YES!

31

SHOULD WE MIX'N'MATCH SWIFT WITH OUR OBJECTIVE-C

CODEBASE?32

33

#UNSURE

34

IS IT HIGH TIME TO START PROJECT IN SWIFT?

35

MOSTLY, YES!

36

WHERE CAN I FIND SWIFT DEVELOPERS?

37

WELP, EVERYWHERE!

38

39

QUESTIONS?40