SwiftUIModal icon indicating copy to clipboard operation
SwiftUIModal copied to clipboard

WIP: Refactor project into Swift Package

Open kevinrpb opened this issue 5 years ago • 2 comments

  • Created a SPM package and set the ModalView part as a framework so that it can be imported from Xcode 11 as a dependency

  • Move the former project into another target as a demo

Let me know what you think and/or if I should change anything =D

kevinrpb avatar Aug 02 '19 13:08 kevinrpb

~Closed it because I noticed something else needing refactor in order to use as framework. Wille reopen when I finish it~

Hey, @cyrilzakka, I got most of it working. However, I'm having some problems with the transformation applied when the modal is open.

It seems that when I try to change the modal position from outside, it won't detect the needed offset / opacity correctly. Do you have a moment to help me solve this? 😀

kevinrpb avatar Aug 02 '19 13:08 kevinrpb

Will definitely take a look at this as soon as possible! Thank you for your work!

cyrilzakka avatar Aug 02 '19 17:08 cyrilzakka