-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement @Observable on iOS 17/macOS 14 #54
Comments
Hey, do you have any idea of when/if this will happen? What do you recommend in the meantime? |
That's honestly a great question @iamgp, but there are a couple of things standing in my way right now.
I am very, very, welcome to accepting contributions, especially ones that meet the expectations I outlined above. (Working, tested, documented.) I wish I could provide a more concrete timetable but I'm a person with competing priorities. I can push up the |
That makes sense. Apologies if my initial question implied that you needed to do anything to a specific timeline. I'd be happy to have a go at finishing your initial implementation if you could push up that branch. I'm coding Swift as a side-hobby so not fully confident that I am the best person but definitely want to help where I can. FWIW, I think the new major version for iOS17 compatibility makes sense and is clear from a user perspective. |
Don’t worry about it @iamgp, I didn't take your comment at all that way. I'm just trying to do my best to develop a project that many people are using as transparently as I can. I'll push up a different branch next week — I'm still on vacation and want to clean up the proof of concept since I took a few shortcuts before sharing it more widely. With regards to versioning a friend gave me a good idea I hadn't thought of that may help me avoid versioning, vending two targets. This would let people selectively opt into Observable support by calling |
Hi, I suggest the usage of https://github.com/pointfreeco/swift-perception from Point-Free for supporting older OS versions, it is |
The
Store
is currently powered by theObservableObject
protocol. The latest operating systems add the new@Observable
macro and Observation framework, which will make observing Store changes automatic.This migration can provide significant performance benefits and simplification, but will add some complexity because Boutique backwards compatible to iOS 13.
This task may seem small but it will be a decent-size undertaking so there will be more considerations expanded upon as the process goes on.
The text was updated successfully, but these errors were encountered: