MyTallies Companion Watch App Part 2 WatchConnectivity

preview_player
Показать описание
This is the second video in the WatchKit section of the MyTallies app.

In this video we are going to implement WacthConnectivity. We will be transferring all of the tally's from the iPhone App to the Watch on first launch and after that, any change made on either the watch or the phone will be send as a payload to update the companion app.

If you want to support my work, you can buy me a coffee :) 

******** Download my StewartLynch YouTube Channel Application - Free *********** 

Table of Contents: 
0:00  Introduction
1:33 WatchConnectivity Payloads
4:25  Sending all Tallies from iPhone to Watch
11:20  Sending Updates from the iPhone to Watch
18:04 Sending Updates from the Watch to iPhone

 Starter Project Files: 

Completed Project: 

References mentioned in video: 
None.

All Videos in this series
MyTallies Widgets AppIntents SiriShortcuts Part 1: iOS App

MyTallies Widgets AppIntents Siri Shortcuts Part 2: SimpleWidget with Interactive Intent

MyTallies Widgets AppIntents SiriShortcuts Part 3 : ConfigurableWidget with Dynamic Intent

MyTallies Widgets AppIntents SiriShortcuts Part 4: Siri Shortcuts

MyTallies Companion Watch App Part 1 : The WatchApp Interface

MyTallies: Companion Watch App Part 2: WatchConnectivity

MyTallies Companion Watch App Part 3: Icons and Complications

Recommended Resources: 

RocketSim - Build Apps Faster 

BigMountain Studio Books 
SwiftData Mastery in SwiftUI 
SwiftUI Views Mastery 
SwiftUI 5 Book Bundle 
Combine Mastery in SwiftUI 
Core Data Mastery in SwiftUI 
SwiftUI Animations Mastery 

Other References: 
Stewart Lynch's YouTube Channel: 
Stewart Lynch on Mastodon: 
Stewart Lynch On Threads: 
   @StewartLynch 
Stewart Lynch on X: 
Stewart Lynch on LinkedIn 
Рекомендации по теме
Комментарии
Автор

around 15:57, why is it necessary to check again whether the Tally we want to update is the currently selected Tally on the watch? Wouldn't line 53 be it?

helloworld
welcome to shbcf.ru