swift-cross-ui icon indicating copy to clipboard operation
swift-cross-ui copied to clipboard

Renamed StateProperty to ObservableProperty and made the protocol public

Open MiaKoring opened this issue 3 months ago • 0 comments

Like the title says, I changed the protocol to be publicly available, allowing for more third party view update triggering property wrappers, i.e. @Query or @AppStorage

Also I renamed it do ObservableProperty, decoupling it verbally from @State.

Doing this involved declaring the protocol-required properties and functions as public too and replacing StateProperty with ObservableProperty wherever it gets used.

0 sideeffects expected, as there were no logic changes, aside from making some functions/values more accessible.

MiaKoring avatar Nov 03 '25 15:11 MiaKoring