We held another theEvnt workshop at Tuenti where Víctor Corugedo, César Estébanez and Eduardo González (Tuenti iOS Team members) gave a complete workshop about WatchKit SDK and how to develop Apple Watch Apps.
app. • Glances do not scroll • Glance interface must fit on a single screen. • Optionals and watch could turn them on/off when they want :) • Tapping launches watch app (deep linking)
Watch • WatchKit Extension runs on user’s iPhone • UI Resources stored on the Watch App • Code runs on WatchKit extension manages Watch App user interfaces and respond to user interactions
object, which is an instance of the WKInterfaceController class. • Interface controller presents and manages content on the screen and responds to user interactions with that content. • Only one controller at a time is displayed onscreen.
images • Control animations programmatically • Images or image names are transferred wirelessly • Use images names from app bundle • Cache when possible
row types • No data source nor delegate • Define row layout in storyboard and connect with row controllers • WKInterfaceController adds rows and handles interactions
iOS App and WatchKit Extension • Limitations: • Extensions and iOS app run in separated processes • Some APIs are not available to App Extensions • Access sharedApplication • Camera, micro • Long-running background tasks (networking!) • HealthKit, EventKit UI, AirDrop, etc.