lickability / observableconverter Goto Github PK
View Code? Open in Web Editor NEWA SwiftPM command plugin to convert SwiftUI code to Observable
Home Page: https://lickability.com/blog/introducing-observableconverter/
License: MIT License
A SwiftPM command plugin to convert SwiftUI code to Observable
Home Page: https://lickability.com/blog/introducing-observableconverter/
License: MIT License
Add a flag to the command to mark any lazy property in an ObservableObject
as @ObservationIgnored
, as otherwise lazy properties will cause build errors now. Decide whether it should be enabled or disabled by default.
ObservableConverterCommand
and can be sent to Arguments when runningObservableObject
as @ObservationIgnored
Handle Combine usage such as assign(to published:)
and internal @Published
property observation.
assign(to:)
to another supported call, and should handle fallbacks for @Published
property observation such as either keeping those @published or adding CurrentValueSubject properties that are updated on didSet
instead.When referencing EnvironmentObject
or @ObservedObject
properties as bindings, we should make use of @Bindable
or the Bindable
initializer to prevent a build error.
Convert onReceive
references in SwiftUI views to use another view modifier instead now that properties will no longer be publishers. Something like onChange
could work instead.
onReceive
that references a formerly @Published
property on an ObservableObject
should now be a different view modifier that preserves the same functionalityA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.