Slide 1

Slide 1 text

watchOS 2

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

watchOS 1 vs watchOS 2

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

Watch Connectivity background transfer vs message

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

Complications

Slide 12

Slide 12 text

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