Skip to content

Instantly share code, notes, and snippets.

@johnantoni
Created April 24, 2015 16:00
Show Gist options
  • Save johnantoni/786a928929a008186dbc to your computer and use it in GitHub Desktop.
Save johnantoni/786a928929a008186dbc to your computer and use it in GitHub Desktop.
apple watch notes

the watch

  • iphone + iwatch talk over wifi or bluetooth, prefers wifi
  • once the phone + iwatch is linked, they're linked
  • the watchkit app is packaged as part of your app
  • install watchkitapp (goes to your watch) + watchkitextension (goes to your phone)
  • if communication is severed then your app is frozen
  • watchkitext - .swift / watchkitext - .storyboard
  • watchapp sends @IBAction, labelSoftText(...)
  • exension does not have access to your main app

three main things on the app

  • interface (main)
  • glance
  • push notifications (static and dynamic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment