chkn / Xamarin.SwiftUI

.NET bindings for SwiftUI
MIT License
98 stars 7 forks source link

Support defining custom ViewModifiers #23

Open chkn opened 4 years ago

chkn commented 4 years ago

ViewModifier is another protocol in SwiftUI that is implemented as a struct, very similar to View.

CartBlanche commented 4 years ago

I have some of this in a branch.

CartBlanche commented 2 years ago

@chkn do you think it's worth updating/rebasing https://github.com/chkn/Xamarin.SwiftUI/tree/dominique-ViewModifier2 to see how much more work is required to finish this? Or scrap the branch and start from scratch??

chkn commented 2 years ago

Good question. You could try merging main into it and see how bad the conflicts are. It looks like most of that work is still applicable, with a little updating. But starting from scratch and copying stuff over might be less tedious