the swift architect

Post on 13-Apr-2017

2.391 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

T H E S W I F T A R C H I T E C T@NATASHATHEROBOT

@ N ATA S H AT H E R O B O T

• NatashaTheRobot.com

• Swift Newsletter - swiftnews.curated.co

J U N E 2 0 1 4

J U N E 2 0 1 4

mkBlog <*> int(dict,"id") <*> string(dict,"name") <*> bool(dict,"needspassword") <*> (string(dict, "url") >>= toURL)

@CHR I SE IDHOF

J S O N PA R S I N G I N S W I F T

T H E S W I F T A R C H I T E C T

L E A R N I N G …

W O R K W I T H O T H E R S

T E A C H

P U T Y O U R S E L F O U T T H E R E

E X P O S E Y O U R S E L F T O A D VA N C E D T O P I C S

C E L E B R AT E B R E A K T H R O U G H S 🎉

@ashsmash

S W I F T L E A R N I N G …

• Value Types

• Optionals?!

• Testing

VA L U E T Y P E S

VA L U E T Y P E S

• structs

• enums

• (tuples)

@ A N D Y _ M AT U S C H A K

• Functional Swift Conference: Functioning as a Functionalist

• Realm: Controlling Complexity in Swift

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

– F U N C T I O N A L S W I F T B O O K

“Almost all types in Swift are value types, including arrays, dictionaries, numbers, booleans, tuples,

and enums. Classes are the exception rather than the rule.”

$ grep -e "^struct " swift.md | wc -l 87

$ grep -e "^enum " swift.md | wc -l 8

$ grep -e "^class " swift.md | wc -l 4

O P T I O N A L S ? !

– S U N S E T L A K E S O F T W A R E

“~40% of bugs shipped to customers in the last three years would have been caught immediately

by using Swift”

@ J E S S E _ S Q U I R E S

• Failable initializers, revisited

T E S T I N G

W W D C 2 0 1 4• Performance Tests

• Asynchronous Tests

• Xcode CI Improvements

W W D C 2 0 1 5

• UI Tests

• Code Coverage

W W D C 2 0 1 5

– @ C AT E H S T N

When asked "I have to move fast, do I test?", the answer is "How long do you want to move fast for?”

S T I L L L E A R N I N G …

• Value Types

• Optionals?!

• Testing

P O W E R S W I F T W O R K S H O P

• Tomorrow, 14:00

• Download the latest Xcode Beta (or GM!!!)

– U N K N O W N

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

top related