ShyView icon indicating copy to clipboard operation
ShyView copied to clipboard

SwiftPM support & API Improvements

Open maximkrouk opened this issue 2 years ago • 1 comments

API changes are compatible with 0.1.0 but significant enough to be 0.2.0, so I increased the versions in Readme and Podspec

maximkrouk avatar May 12 '22 15:05 maximkrouk

Thanks a lot for this PR! Everything looks very good. I just have a couple of thoughts on the avoidScreenshots() API.

Since the view will also avoid recordings, I think the name is a bit misleading. Furthermore, I recently discovered the privacySensitive(_:) api (unfortunately it is available only on SwiftUI and iOS 15.)

I don't like it too munch but maybe we can use the same naming? What do you think?

MarioIannotta avatar May 13 '22 13:05 MarioIannotta