For Juno 1.1 I built in sliders that closely match the ones Apple use throughout visionOS, with cool expansion effects and more customizability with the height of the slider. I figured I'd open source it too and published it as JunoSlider on GitHub! 🐙🐱
🎉 Announcing Perception: a backport of Swift 5.9’s @Observable tools for older platforms.
Still targeting iOS 13 but want to take advantage of this powerful new framework? Take a look at the library:
https://www.pointfree.co/blog/posts/129-perception-a-back-port-of-observable
But as amazing as these new tools are, they are not without their pitfalls.
Next week we will show you what to be mindful of when adopting them, and what can go wrong.
Catch up before then!
This week we explore the latest observation tools in Swift: the @Observable macro. We see how it improves on nearly every aspect of @ObservedObject and @State, what it expands to, and how it works behind the scenes.
Learn more: https://www.pointfree.co/episodes/ep253-observation-the-present
The `@Observable` macro is here and we will see how it improves on nearly every aspect of the old tools in SwiftUI. We will also take a peek behind the curtain to not only get comfortable with the code the macro expands to, but also the actual open source code that powers the framework.