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

WatchKit overview

Florian
March 10, 2015

WatchKit overview

A comprehensive overview of WatchKit for our monthly usergroup in Stuttgart http://mobilemaultaschen.de/

Florian

March 10, 2015
Tweet

More Decks by Florian

Other Decks in Programming

Transcript

  1. WatchKit Apps. Your app on Apple Watch contains a full

    user interface. Users can launch, control, and interact with your app in ways unique to Apple Watch.
  2. Glances. You can provide users with timely read-only information that

    they care about with a Glance — a quick and lightweight view of your app.
  3. User Interface • Button • Label • Date/Time/Timer label •

    Separator • Switch • MapView • Image • Menu
  4. User Interface • defined at compile time • NSObject subclasses,

    *no* views • one way communication —> you can’t read properties of views on Apple Watch
  5. WKInterfaceTable • single column • multiple row types (header, content,

    footer) • every row backed by controller, subclass of NSObject
  6. Dev. Setup • Xcode • 8.2 GM • 8.3 β2

    (—> Swift 1.2) • iOS simulator • Hardware - External Displays - Apple Watch