The Swift Architect


The Presentation inside:

Slide 0

@ N A TA S H A T H E R O B O T THE SWIFT ARCHITECT


Slide 1

@ N ATA S H AT H E R O B O T • NatashaTheRobot.com • Swift Newsletter swiftnews.curated.co


Slide 2


Slide 3

JUNE 2014


Slide 4

JUNE 2014


Slide 5


Slide 6


Slide 7


Slide 8

@CHRISEIDHOF J S O N PA R S I N G I N S W I F T mkBlog <*> int(dict,"id") <*> string(dict,"name") <*> bool(dict,"needspassword") <*> (string(dict, "url") >>= toURL)


Slide 9


Slide 10


Slide 11


Slide 12

THE SWIFT ARCHITECT


Slide 13


Slide 14

LEARNING…


Slide 15


Slide 16


Slide 17

WORK WITH OTHERS


Slide 18

TEACH


Slide 19

PUT YOURSELF OUT THERE


Slide 20

EXPOSE YOURSELF TO A D VA N C E D T O P I C S


Slide 21

C E L E B R AT E BREAKTHROUGHS


Slide 22

@ashsmash


Slide 23

SWIFT LEARNING… • Value Types • Optionals?! • Testing


Slide 24

VA L U E T Y P E S


Slide 25

VA L U E T Y P E S • structs • enums • (tuples)


Slide 26


Slide 27

@ A N D Y _ M AT U S C H A K • Functional Swift Conference: Functioning as a Functionalist • Realm: Controlling Complexity in Swift


Slide 28

W H AT A B O U T S U B C L A S S I N G ? • WWDC 2015: Protocol-Oriented Programming in Swift


Slide 29

“Almost all types in Swift are value types, including arrays, dictionaries, numbers, booleans, tuples, and enums. Classes are the exception rather than the rule.” –FUNCTIONAL SWIFT BOOK


Slide 30

$ grep -e "^struct " swift.md | wc -l 87 $ grep -e "^enum " swift.md | wc -l 8 $ grep -e "^class " swift.md | wc -l 4


Slide 31

OPTIONALS?!


Slide 32


Slide 33


Slide 34

“~40% of bugs shipped to customers in the last three years would have been caught immediately by using Swift” –SUNSET LAKE SOFTWARE


Slide 35

Objc.io Issue 13


Slide 36

@JESSE_SQUIRES • Failable initializers, revisited


Slide 37

TESTING


Slide 38

WWDC 2014 • Performance Tests • Asynchronous Tests • Xcode CI Improvements WWDC 2015 • UI Tests • Code Coverage


Slide 39


Slide 40

WWDC 2015


Slide 41


Slide 42


Slide 43

When asked "I have to move fast, do I test?", the answer is "How long do you want to move fast for?” – @ C AT E H S T N


Slide 44

STILL LEARNING… • Value Types • Optionals?! • Testing


Slide 45

POWER SWIFT WORKSHOP • Tomorrow, 14:00 • Download the latest Xcode Beta (or GM!!!)


Slide 46

“Live as if you were to die tomorrow. Learn as if you were to live forever.” –UNKNOWN


Slide 47


×

HTML:





Ссылка: