O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

The Zen Guide to WatchOS 2

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Próximos SlideShares
Build Features, Not Apps
Build Features, Not Apps
Carregando em…3
×

Confira estes a seguir

1 de 25 Anúncio
Anúncio

Mais Conteúdo rRelacionado

Quem viu também gostou (18)

Semelhante a The Zen Guide to WatchOS 2 (20)

Anúncio

Mais recentes (20)

Anúncio

The Zen Guide to WatchOS 2

  1. 1. The Zen Guide to WatchOS 2 @NatashaTheRobot
  2. 2. We join spokes together in a wheel, but it is the center hole that makes the wagon move.
  3. 3. We shape clay into a pot, but it is the emptiness inside that holds whatever we want.
  4. 4. We hammer wood for a house, but it is the inner space that makes it livable.
  5. 5. We work with being, but non-being is what we use.
  6. 6. Redesigning the Apple Watch UI by Luke Wroblewski
  7. 7. –Apple Watch Programming Guide “The personal nature of Apple Watch requires a different approach when it comes to designing WatchKit app, glance, and notification interfaces. Your interfaces need to display information quickly and facilitate fast navigation and interactions. Creating that kind of interface means you should not simply port your existing iOS app behavior over to Apple Watch. Instead, create a complementary experience to your iOS app.”
  8. 8. Watch Connectivity
  9. 9. Background Data Transfer
  10. 10. • application context
  11. 11. • application context • user info transfer
  12. 12. • application context • user info transfer • file transfer
  13. 13. Interactive Messaging
  14. 14. • Immediate Information Transfer • Requires reachable state
  15. 15. WCSession
  16. 16. if WCSession.isSupported() { let session = WCSession.defaultSession() session.delegate = self session.activateSession() }
  17. 17. import WatchConnectivity class WatchSessionManager: NSObject, WCSessionDelegate { static let sharedManager = WatchSessionManager() private override init() { super.init() } private let session: WCSession? = WCSession.isSupported() ? WCSession.defaultSession() : nil func startSession() { session?.delegate = self session?.activateSession() } }
  18. 18. Code Sample
  19. 19. Resources WWDC 2015 Videos to Watch ★ Introducing WatchKit Connectivity ★ Creating Complications with ClockKit ★ Networking with NSURLSession Blogs / Tutorials ★ KristinaThai.com ★ Ray Wenderlich ★ @NatashaTheRobot

×