Architecting Your App for the WATCH

Architecting Your App for the WATCH

Originally presented at the SLUG Meetup in San Francisco: http://www.meetup.com/swift-language/events/219728574/

Example projects: https://github.com/NatashaTheRobot/watchkit

52a5c6ad5e59109f1fcaf4eca9e2414f?s=128

Natasha Murashev

February 06, 2015
Tweet

Transcript

  1. Architecting Your App for the WATCH @NatashaTheRobot

  2. - Apple Watch Programming Guide

  3. NSUserDefaults

  4. None
  5. None
  6. None
  7. None
  8. None
  9. None
  10. NSUserDefaults Use Case • small • static

  11. NSFileCoordinator

  12. None
  13. None
  14. None
  15. TodoListTableViewController

  16. TodoListTableViewController

  17. InterfaceController

  18. None
  19. NSFileCoordinator Use Case • lists • images (multiple files) •

    other
  20. Frameworks

  21. – WWDC 2014, Building Modern Frameworks “If the code appears

    more than once , it probably belongs in a framework”
  22. None
  23. None
  24. None
  25. None
  26. None
  27. None
  28. Frameworks Use Case • Business Logic • Core Data •

    Re-useable UI Components
  29. Keychain Sharing

  30. KeychainItemWrapper from Apple (ARCified version)

  31. None
  32. None
  33. SignInViewController

  34. None
  35. None
  36. Keychain Sharing Use Case • username / password • API

    tokens • other
  37. None
  38. @NatashaTheRobot https://github.com/NatashaTheRobot/watchkit Questions?