SwiftUIBackports icon indicating copy to clipboard operation
SwiftUIBackports copied to clipboard

Should enhancement APIs be moved to SwiftUI+?

Open shaps80 opened this issue 2 years ago • 0 comments

@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?

shaps80 avatar Sep 13 '22 08:09 shaps80