-
WatchConnectivityApplicationContextDemo
Watch OS 2: Sharing data via WatchConnectivity's Application Context
-
WatchConnectivitySampleForSwiftUI
This is a sample app of the function(Watch Connectivity) to exchange data between Watch and iPhone in SwiftUI.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I learned it from this website which links to this repo if you need to just cut to the code. It outlines the different methods of communicating so you can determine which is ideal for your scenario (I recommend reading up on that anyway, each has varying levels of reliability).
Take a look at this which is more or less what I had in mind anyway. It should give you a pretty good idea of how to communicate between devices using WatchConnectivity+SwiftUI