|
Hi, Below I've included the working, bare-bones app that displays two SpriteKit SKNodes in a view on one side of the screen, and (what should be) the selected node id in a view on the other side of the screen. However, the information is not propagating from one side to the other. I'm sure I'm missing something fundamental, so if anyone could assist I'd be very grateful. AppCode:
Main Code:
|
|
Hi All, Ok, I've solved it...or, at least, I've got it working (and I'm aware those are possibly two different things). Below is the working code, but if there is a preferred way of resolving it I'd be glad to hear it. App Code:
Main Code:
|
SPONSORED Alex is the iOS & Mac developer’s ultimate AI assistant. It integrates with Xcode, offering a best-in-class Swift coding agent. Generate modern SwiftUI from images. Fast-apply suggestions from Claude 3.5 Sonnet, o3-mini, and DeepSeek R1. Autofix Swift 6 errors and warnings. And so much more. Start your 7-day free trial today!
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.