SwiftUIBackports
SwiftUIBackports copied to clipboard
Should enhancement APIs be moved to SwiftUI+?
@schiewe made a great point on one of my APIs that including non-backport API alongside the real backport could make it difficult to continue using the enhancement once the back port is dropped and no longer required.
Putting it in one modifier allowed me to properly implement the back port and the additional feature in most cases.
Tbh this hasn't come up often yet but I have a couple 'additions' that are not really backports, I wonder if it's just a bad idea to include these in this library at all.
Perhaps I should move these to my SwiftUI+ package instead since these are enhancements. Removes this specific concern too.
Thoughts?