I am a very new swift developer, just learning the ropes. Forgive me for this question that may seem simple, but is really confusing me.
I'm currently developing a watch OS (only) app. There are 2 targets in my build: the WatchKit app and WatchKit extension.
I'm developing in Swift UI, however Swift UI doesn't allow for detecting shake so I'm resorting to UIKit and bridging the 2 views.
I have set up a view in UIKit that can handle detecting shakes (in my WatchKit app portion, since that's where storyboard components must go). But now I am finding it impossible to communicate with that from the WatchKit extension side (since that's where program logic needs to go).
Can someone walk me through how to set up a WKInterfaceObject (which seems to be how you're supposed to do this)? I cannot for the life of me figure it out. thanks!