| SwiftUI | http://SwiftUI.wtf |
| Bento (link 🌳) | https://bento.me/aviel |
| SwiftUI | http://SwiftUI.wtf |
| Bento (link 🌳) | https://bento.me/aviel |
Everything you wanted to know about Observation framework!
Highly recommend going over the caveats section - some changes in behavior might surprise you!
The new Observation framework for #SwiftUI keeps getting better! 🎉
@phausler just merged a change to drop the requirement of default values for properties in @Observable class! (Assuming I read the PR correctly? https://github.com/apple/swift/pull/65984/files)
I’m building a new 🦣#Mastodon app for #iOS, but it’s different…. 👀
- Posts are ranked (locally, on device) so you only see the best from your timeline.
- There’s no doom scrolling - once you’ve seen all the good stuff - it just ends. Come back later for new content.
I call it “Mastodon for busy people”, or, “Manfred” in short.
This is the first #TestFlight - let me know what you think about the concept! 🙏
🧠 The new Observable type greatly simplifies data flow and improves performance in SwiftUI, and our engineers are so excited to use it! #WWDC23
However, there’s a critical gotcha that Apple mentions briefly in their docs—if you use SwiftUI, you’ll NEED to know this. #iOSDevTips
https://developer.apple.com/documentation/swiftui/managing-model-data-in-your-app