The Swift Architect

2,558 views

Published on

First Presented at iOSDevUK: http://www.iosdevuk.com/.

Published in: Software, Technology
2 Comments
16 Likes
Statistics
Notes
No Downloads
Views
Total views
2,558
On SlideShare
0
From Embeds
0
Number of Embeds
56
Actions
Shares
0
Downloads
36
Comments
2
Likes
16
Embeds 0
No embeds

No notes for slide

The Swift Architect

  1. 1. T H E S W I F T A R C H I T E C T @ N A TA S H A T H E R O B O T
  2. 2. @ N ATA S H AT H E R O B O T • NatashaTheRobot.com • Swift Newsletter - swiftnews.curated.co
  3. 3. J U N E 2 0 1 4
  4. 4. J U N E 2 0 1 4
  5. 5. mkBlog <*> int(dict,"id") <*> string(dict,"name") <*> bool(dict,"needspassword") <*> (string(dict, "url") >>= toURL) @ C H R I S E I D H O F J S O N PA R S I N G I N S W I F T
  6. 6. T H E S W I F T A R C H I T E C T
  7. 7. L E A R N I N G …
  8. 8. W O R K W I T H O T H E R S
  9. 9. T E A C H
  10. 10. P U T Y O U R S E L F O U T T H E R E
  11. 11. 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
  12. 12. C E L E B R AT E B R E A K T H R O U G H S 🎉
  13. 13. @ashsmash
  14. 14. S W I F T L E A R N I N G … • Value Types • Optionals?! • Testing
  15. 15. VA L U E T Y P E S
  16. 16. VA L U E T Y P E S • structs • enums • (tuples)
  17. 17. @ A N D Y _ M AT U S C H A K • Functional Swift Conference: Functioning as a Functionalist • Realm: Controlling Complexity in Swift
  18. 18. 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
  19. 19. – 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.”
  20. 20. $ grep -e "^struct " swift.md | wc -l 87 $ grep -e "^enum " swift.md | wc -l 8 $ grep -e "^class " swift.md | wc -l 4
  21. 21. O P T I O N A L S ? !
  22. 22. – S U N S E T L A K E S O F T WA R E “~40% of bugs shipped to customers in the last three years would have been caught immediately by using Swift”
  23. 23. Objc.io Issue 13
  24. 24. @ J E S S E _ S Q U I R E S • Failable initializers, revisited
  25. 25. T E S T I N G
  26. 26. 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
  27. 27. W W D C 2 0 1 5
  28. 28. – @ 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?”
  29. 29. S T I L L L E A R N I N G … • Value Types • Optionals?! • Testing
  30. 30. 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!!!)
  31. 31. – U N K N O W N “Live as if you were to die tomorrow. Learn as if you were to live forever.”

×