Upgrade to Pro — share decks privately, control downloads, hide ads and more …

watchOS2

 watchOS2

Oursky Limited

August 21, 2015
Tweet

More Decks by Oursky Limited

Other Decks in Programming

Transcript

  1. Apple Watch
    • a watch
    • app extension(s) on your watch

    View full-size slide

  2. Apple Watch
    • the minimum of an app with apple watch
    • app
    • watch app
    • watch app extension
    • 3 separate app id

    View full-size slide

  3. Apple Watch
    • watch app
    • layout
    • watch app extension
    • logic

    View full-size slide

  4. watchOS 1 vs watchOS 2

    View full-size slide

  5. watchOS 1 vs watchOS 2
    • iPhone <-> Apple Watch
    • watchOS 1
    • os handled
    • + [openParentApplication:reply:]
    • watchOS 2
    • Watch Connectivity Framework

    View full-size slide

  6. Watch Connectivity
    • background transfer
    • application context
    • user info
    • file

    View full-size slide

  7. Watch Connectivity
    • message
    • immediate
    • requires reachable
    • iPhone -> watch: BT connected + watch app
    foreground
    • watch -> iPhone: BT connected

    View full-size slide

  8. Watch Connectivity
    background transfer vs message

    View full-size slide

  9. Watch Connectivity
    • see : apple doc
    • see : http://www.kristinathai.com/watchos-2-how-to-
    communicate-between-devices-using-watch-
    connectivity/

    View full-size slide

  10. Complications

    View full-size slide

  11. watchOS 2
    • time travel
    • animation
    • alpha
    • width / height
    • vertical / horizontal alignment
    • background color
    • layout group insets
    • more access to the hardware
    • new interface objects - WKInterfacePicker -> Digital Crown
    • see: apple doc or http://www.raywenderlich.com/108415/watchkit-for-watchos-2

    View full-size slide