SwiftUI often feels like an embodiment of Alan Kay’s: “Simple things should be simple, complex things should be possible”
It took quite a bit of head-scratching to get this to work, but I was eventually able to get three different ScrollViews (each with a differently scaled chart in them) to synchronously scroll in real-time w/ backwards compatibility to iOS 17 Phew… 😮💨
Though on mornings like this I do wish more stuff was in the “Simple Things" bucket rather than the “Complex Things” bucket.
=> More informations about this toot | More toots from _Davidsmith@mastodon.social
@_Davidsmith very cool! Is this Swift Charts or your own thing? (I know nothing about Swift Charts so don’t even know if that’s a stupid question!)
=> More informations about this toot | More toots from joethephish@mastodon.gamedev.place
@joethephish Completely custom stuff. Swift Charts is great for basic stuff but as soon as you need anything at all custom I find it very frustrating.
=> More informations about this toot | More toots from _Davidsmith@mastodon.social
@_Davidsmith hah, sounds very familiar! Totally makes sense, and your implementation looks great
=> More informations about this toot | More toots from joethephish@mastodon.gamedev.place This content has been proxied by September (ba2dc).Proxy Information
text/gemini