SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Apple Watch
Development
Introduction to Watch Kit
Mike Bluestein @mikebluestein
Apple Watch
• Requires an iPhone (5c or above)
• Connects to watch via BlueTooth
golfwatchscorecard.com
2 Watch Sizes
• 38mm and 42 mm
• Same aspect ratio
Apple Provided Apps
• Some Apple apps and features work without phone
• These apps have access to sensor data
• Full animation capability
3rd Party Apps
• Run entirely on iPhone
• Installed when installed on paired iPhone
• Watch is for UI presentation layer only
• Limited SDK - Watch Kit
• “Full” SDK later this year
Yes You Can
• Create simple user interface
• Present data from the parent iPhone application
• Present notifications
• Present glaces
• Create image-based animations
No You Can’t
• Run apps without a connect iPhone
• Build watch-only apps
• Capture biometric sensor data
• Capture motion data
• Create timing based animations
App Structure
• Parent iPhone App
• Watch Extension
• Watch App
• Shared Code
UI Navigation
• Two types of UI navigation
• Page-based
• Hierarchical
• Cannot mix them (unless using a modal controller)
Layout
• Groups
• Easy to use
• Far less complex than auto-layout
Controls
• New set of UI controls
• Designed specifically for Apple
Watch
• Easy to use
• Not as full-featured as UIKit
Menus
• Open with force touch gesture
• Controls for menu and menu items
• Handle selection in WKInterfaceController
Watch App
• Contains the user interface and static resources
• Storyboards are required
• No code runs on the watch
Watch Extension
• Runs on the phone
• Has its own lifecycle
• Handles user interactions raised from watch app
• Updates user interface on watch remotely
• Performs shorter running tasks
• Access shared data
iPhone App
• Parent app to the watch app
• Performs longer running tasks
• Access shared data
• Does not share security
• Separate process from watch extension
App Groups
• Share data between iPhone and Watch Extension
• Can share files, settings, database
• Requires shared group entitlement
Communication
• App groups
• OpenParentApplication
• HandleWatchKitExtensionRequest
• Darwin notifications
WormHoleSharp
• Bridge between iOS app and
Watch Extension
• Pass data or commands
• github.com/Clancey/WormHole
Sharp
I’m being
controlled
from Apple
Watch!
Images
• SetImage - works with UIImage
• SetImageData - works directly with bitmap data
• Both send data from iPhone to Apple Watch
• SetImageNamed - sends only name to watch
• Image is loaded from bundle or cache
• Used to create animation
• 20 MB cache with simple cache API
Notifications
• Local or remote notifications
from iPhone
• Short-look - initial display of
notification to user
• Long-look - displayed after
user looks at short look for a
few seconds
• Long-look is scrollable and can
have action buttons
Glances
• Quick access to brief, relevant information
• Swipe up from watch face to access
• Not interactive
• One glance controller per app
• Tap glance to open watch app
App Store Requirements
• No alpha in images
• Use 42 mm for screenshots
• No mention of watch in iPhone app images
• Other?
Demo
Thanks!
Mike Bluestein
@mikebluestein
mike.bluestein@thinkaheadsoftware.com

Weitere ähnliche Inhalte

Was ist angesagt?

Why Apple Watch Matters
Why Apple Watch MattersWhy Apple Watch Matters
Why Apple Watch MattersDoug Robinson
 
Webinar: Impact of iOS 8 on App Marketers and App Developers
Webinar: Impact of iOS 8 on App Marketers and App DevelopersWebinar: Impact of iOS 8 on App Marketers and App Developers
Webinar: Impact of iOS 8 on App Marketers and App DevelopersJayneel Patel
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewSammy Sunny
 
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...Jahia Solutions Group
 
GaETC: iPads, iPods, and iPhones...Oh MY!
GaETC: iPads, iPods, and iPhones...Oh MY!GaETC: iPads, iPods, and iPhones...Oh MY!
GaETC: iPads, iPods, and iPhones...Oh MY!Monika Davis
 
ibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawkibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawkDavid Jones
 
Apple iWatch Design Predictions
Apple iWatch Design PredictionsApple iWatch Design Predictions
Apple iWatch Design Predictionsdivadwg
 
Wearables, Things & Apps - Mobile Dev + Test '15
Wearables, Things & Apps - Mobile Dev + Test '15Wearables, Things & Apps - Mobile Dev + Test '15
Wearables, Things & Apps - Mobile Dev + Test '15Chris Beauchamp
 
Jailbreaking iOS
Jailbreaking iOSJailbreaking iOS
Jailbreaking iOSMihir Patel
 
Beginners Guide for iPhone & iPad
Beginners Guide for iPhone & iPadBeginners Guide for iPhone & iPad
Beginners Guide for iPhone & iPadJonathan Bacon
 
Wireless Smart Home - An Internet of Things ecosystem
Wireless Smart Home - An Internet of Things ecosystem Wireless Smart Home - An Internet of Things ecosystem
Wireless Smart Home - An Internet of Things ecosystem Ashwini Sudarshana
 
iBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to AndroidiBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to AndroidJames Montemagno
 
Workflow automation i phone application for a construction company
Workflow automation i phone application for a construction companyWorkflow automation i phone application for a construction company
Workflow automation i phone application for a construction companyMike Taylor
 
I tunesaccoutsetupandapps
I tunesaccoutsetupandappsI tunesaccoutsetupandapps
I tunesaccoutsetupandappsCWheatley100
 
1356930 634669665657537500
1356930 6346696656575375001356930 634669665657537500
1356930 634669665657537500Muhammad Hasnain
 

Was ist angesagt? (20)

Apple Watch
Apple WatchApple Watch
Apple Watch
 
Why Apple Watch Matters
Why Apple Watch MattersWhy Apple Watch Matters
Why Apple Watch Matters
 
Webinar: Impact of iOS 8 on App Marketers and App Developers
Webinar: Impact of iOS 8 on App Marketers and App DevelopersWebinar: Impact of iOS 8 on App Marketers and App Developers
Webinar: Impact of iOS 8 on App Marketers and App Developers
 
Apple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical OverviewApple Watch and WatchKit - A Technical Overview
Apple Watch and WatchKit - A Technical Overview
 
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...
JahiaOne 2015 - Jahia on your Wrist (The Apple Watch Integration example) by ...
 
GaETC: iPads, iPods, and iPhones...Oh MY!
GaETC: iPads, iPods, and iPhones...Oh MY!GaETC: iPads, iPods, and iPhones...Oh MY!
GaETC: iPads, iPods, and iPhones...Oh MY!
 
iOS 5
iOS 5iOS 5
iOS 5
 
ibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawkibeacons, Privacy & Customer Segmentation - StreetHawk
ibeacons, Privacy & Customer Segmentation - StreetHawk
 
Apple iWatch Design Predictions
Apple iWatch Design PredictionsApple iWatch Design Predictions
Apple iWatch Design Predictions
 
Apple Watch
Apple WatchApple Watch
Apple Watch
 
Wearables
WearablesWearables
Wearables
 
Wearables, Things & Apps - Mobile Dev + Test '15
Wearables, Things & Apps - Mobile Dev + Test '15Wearables, Things & Apps - Mobile Dev + Test '15
Wearables, Things & Apps - Mobile Dev + Test '15
 
A seminar report on i cloud
A  seminar report on i cloudA  seminar report on i cloud
A seminar report on i cloud
 
Jailbreaking iOS
Jailbreaking iOSJailbreaking iOS
Jailbreaking iOS
 
Beginners Guide for iPhone & iPad
Beginners Guide for iPhone & iPadBeginners Guide for iPhone & iPad
Beginners Guide for iPhone & iPad
 
Wireless Smart Home - An Internet of Things ecosystem
Wireless Smart Home - An Internet of Things ecosystem Wireless Smart Home - An Internet of Things ecosystem
Wireless Smart Home - An Internet of Things ecosystem
 
iBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to AndroidiBeacons for Everyone, From iOS to Android
iBeacons for Everyone, From iOS to Android
 
Workflow automation i phone application for a construction company
Workflow automation i phone application for a construction companyWorkflow automation i phone application for a construction company
Workflow automation i phone application for a construction company
 
I tunesaccoutsetupandapps
I tunesaccoutsetupandappsI tunesaccoutsetupandapps
I tunesaccoutsetupandapps
 
1356930 634669665657537500
1356930 6346696656575375001356930 634669665657537500
1356930 634669665657537500
 

Ähnlich wie Apple Watch Intro

Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)
Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)
Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)Ed Snider
 
Jacky Wang - KKBOX Apple Watch App
Jacky Wang - KKBOX Apple Watch App Jacky Wang - KKBOX Apple Watch App
Jacky Wang - KKBOX Apple Watch App Jacky Wang
 
Developing for Wearables with Xamarin
Developing for Wearables with XamarinDeveloping for Wearables with Xamarin
Developing for Wearables with XamarinGert Cominotto
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Javaamaankhan
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile DevicesYnon Perek
 
Android Mobile App Development basics PPT
Android Mobile App Development basics PPTAndroid Mobile App Development basics PPT
Android Mobile App Development basics PPTnithya697634
 
Hacking and Securing iOS Apps : Part 1
Hacking and Securing iOS Apps : Part 1Hacking and Securing iOS Apps : Part 1
Hacking and Securing iOS Apps : Part 1Subhransu Behera
 
DF14: Drive Salesforce User Productivity with the Pebble SmartWatch
DF14: Drive Salesforce User Productivity with the Pebble SmartWatchDF14: Drive Salesforce User Productivity with the Pebble SmartWatch
DF14: Drive Salesforce User Productivity with the Pebble SmartWatchjayvinarora
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application DevelopmentAzfar Siddiqui
 
Google IO 2017 Recap
Google IO 2017 RecapGoogle IO 2017 Recap
Google IO 2017 RecapVishal Nayak
 
Io t technologies
Io t technologies Io t technologies
Io t technologies Umesh Bhat
 
Xamarin.iOS introduction
Xamarin.iOS introductionXamarin.iOS introduction
Xamarin.iOS introductionGuido Magrin
 

Ähnlich wie Apple Watch Intro (20)

Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)
Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)
Apple Watch and Xamarin (NoVA Mobile C# Dev Group 4/8/15)
 
Jacky Wang - KKBOX Apple Watch App
Jacky Wang - KKBOX Apple Watch App Jacky Wang - KKBOX Apple Watch App
Jacky Wang - KKBOX Apple Watch App
 
WatchOS Architecture
WatchOS ArchitectureWatchOS Architecture
WatchOS Architecture
 
watch_kit_v_1.0
watch_kit_v_1.0watch_kit_v_1.0
watch_kit_v_1.0
 
Developing for Wearables with Xamarin
Developing for Wearables with XamarinDeveloping for Wearables with Xamarin
Developing for Wearables with Xamarin
 
Android Application Development Using Java
Android Application Development Using JavaAndroid Application Development Using Java
Android Application Development Using Java
 
Mobile Devices
Mobile DevicesMobile Devices
Mobile Devices
 
Google android os
Google android osGoogle android os
Google android os
 
Lick my Lollipop
Lick my LollipopLick my Lollipop
Lick my Lollipop
 
Android Mobile App Development basics PPT
Android Mobile App Development basics PPTAndroid Mobile App Development basics PPT
Android Mobile App Development basics PPT
 
Revue des annonces WWDC2015
Revue des annonces WWDC2015Revue des annonces WWDC2015
Revue des annonces WWDC2015
 
Hacking and Securing iOS Apps : Part 1
Hacking and Securing iOS Apps : Part 1Hacking and Securing iOS Apps : Part 1
Hacking and Securing iOS Apps : Part 1
 
DF14: Drive Salesforce User Productivity with the Pebble SmartWatch
DF14: Drive Salesforce User Productivity with the Pebble SmartWatchDF14: Drive Salesforce User Productivity with the Pebble SmartWatch
DF14: Drive Salesforce User Productivity with the Pebble SmartWatch
 
Android Application Development
Android Application DevelopmentAndroid Application Development
Android Application Development
 
Google IO 2017 Recap
Google IO 2017 RecapGoogle IO 2017 Recap
Google IO 2017 Recap
 
AppleWatch_Presentation
AppleWatch_PresentationAppleWatch_Presentation
AppleWatch_Presentation
 
Google android os
Google android osGoogle android os
Google android os
 
Io t technologies
Io t technologies Io t technologies
Io t technologies
 
Android overview
Android overviewAndroid overview
Android overview
 
Xamarin.iOS introduction
Xamarin.iOS introductionXamarin.iOS introduction
Xamarin.iOS introduction
 

Kürzlich hochgeladen

Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 

Kürzlich hochgeladen (20)

Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 

Apple Watch Intro

  • 1. Apple Watch Development Introduction to Watch Kit Mike Bluestein @mikebluestein
  • 2. Apple Watch • Requires an iPhone (5c or above) • Connects to watch via BlueTooth golfwatchscorecard.com
  • 3. 2 Watch Sizes • 38mm and 42 mm • Same aspect ratio
  • 4. Apple Provided Apps • Some Apple apps and features work without phone • These apps have access to sensor data • Full animation capability
  • 5. 3rd Party Apps • Run entirely on iPhone • Installed when installed on paired iPhone • Watch is for UI presentation layer only • Limited SDK - Watch Kit • “Full” SDK later this year
  • 6. Yes You Can • Create simple user interface • Present data from the parent iPhone application • Present notifications • Present glaces • Create image-based animations
  • 7. No You Can’t • Run apps without a connect iPhone • Build watch-only apps • Capture biometric sensor data • Capture motion data • Create timing based animations
  • 8. App Structure • Parent iPhone App • Watch Extension • Watch App • Shared Code
  • 9. UI Navigation • Two types of UI navigation • Page-based • Hierarchical • Cannot mix them (unless using a modal controller)
  • 10. Layout • Groups • Easy to use • Far less complex than auto-layout
  • 11. Controls • New set of UI controls • Designed specifically for Apple Watch • Easy to use • Not as full-featured as UIKit
  • 12. Menus • Open with force touch gesture • Controls for menu and menu items • Handle selection in WKInterfaceController
  • 13. Watch App • Contains the user interface and static resources • Storyboards are required • No code runs on the watch
  • 14. Watch Extension • Runs on the phone • Has its own lifecycle • Handles user interactions raised from watch app • Updates user interface on watch remotely • Performs shorter running tasks • Access shared data
  • 15. iPhone App • Parent app to the watch app • Performs longer running tasks • Access shared data • Does not share security • Separate process from watch extension
  • 16. App Groups • Share data between iPhone and Watch Extension • Can share files, settings, database • Requires shared group entitlement
  • 17. Communication • App groups • OpenParentApplication • HandleWatchKitExtensionRequest • Darwin notifications
  • 18. WormHoleSharp • Bridge between iOS app and Watch Extension • Pass data or commands • github.com/Clancey/WormHole Sharp I’m being controlled from Apple Watch!
  • 19. Images • SetImage - works with UIImage • SetImageData - works directly with bitmap data • Both send data from iPhone to Apple Watch • SetImageNamed - sends only name to watch • Image is loaded from bundle or cache • Used to create animation • 20 MB cache with simple cache API
  • 20. Notifications • Local or remote notifications from iPhone • Short-look - initial display of notification to user • Long-look - displayed after user looks at short look for a few seconds • Long-look is scrollable and can have action buttons
  • 21. Glances • Quick access to brief, relevant information • Swipe up from watch face to access • Not interactive • One glance controller per app • Tap glance to open watch app
  • 22. App Store Requirements • No alpha in images • Use 42 mm for screenshots • No mention of watch in iPhone app images • Other?
  • 23. Demo