building watchkit applications
TRANSCRIPT
Building WatchKit Applications
Jean-Luc David | [email protected] | @jldavid
Kitchener Waterloo iOS Meetup Group
Who Am I?
• iOS & Android Instructor
• Musician
• Hacker
• Wearables Developer
Samsung Gear S
Google Glass
Apple Watch
Accelerometer Gyroscope
Heart Rate Monitor
Bluetooth
Digital CrownConversation
ButtonForce Touch
Watch Features
• New UI Elements
• Simple Navigation
• Glances
• Notifications
Two Sizes38mm 42mm
Applications
What Tools Do You Need?
• Mac
• Xcode 6.3
• iOS SDK 8.2+
• Apple Watch (available next week)
• Developer Account
ArchitectureiPhone App Watch App
Bluetooth
Storyboards
Resources
WatchKitWatchKit
WatchKit Extension Code &
Resources
Interactions
Your controller &model code
Your views
& static images
Updateview
Event(button
tap)
Enhances rather than replace your iPhone
Interaction Types
PaginatedHierarchical
UI Elements
• Labels
• Images
• Buttons
• Switches
• Sliders
• Maps
Graphics
Glances
• Template Based
• Single Screen
• Not Scrollable
• Read-Only
• Optional
Notifications
• Small screens
• Short interactions
• Short & long view
• Can contain useractions
App Icon
TitleString From
Notification
App Name
Modal Sheets
Single Paged
Images & Data
• Use local images - load extremely slow on Bluetooth
• URL Caching / ASync Fetching
• NSUserDefaults for caching data
Limitations
• iPhone must have iOS 8.2+
• Small Screens (38mm & 42mm)
• Limited Information
• Short Interactions
• No Health Kit
• No Access to Sensors
Developer Opportunities
• Watch Faces
• Custom Notifications
• Device Control
• Health Tracking
• Event Display
• Data Exchange / Social
• Payments / Commerce