SZTextView icon indicating copy to clipboard operation
SZTextView copied to clipboard

Add SPM Support

Open msmollin opened this issue 4 years ago • 2 comments

Hello! I'm in the process of migrating my project to SPM and SZTextView is honestly pretty close to being SPM compatible already in its current form, so I just shuffled some things around a bit to make SPM happy and added a Package.swift.

This is heavily informed from Nick Lockwood's GZIP project package file as the two projects are very similar in structure. The only difference is for some reason GZIP doesn't throw a warning about not excluding its Info.plist whereas this project does (when pulled into a downstream project via SPM). I'm not a SPM expert but I'm guessing it's something to do with the tools version, but that is entirely a guess.

Let me know if anything needs changing / updating!

msmollin avatar Aug 23 '21 03:08 msmollin

thanks for the contribution. i'm currently not working with swift/xcode so let me know when you think this pr is ready and i'll merge.

glaszig avatar Aug 23 '21 16:08 glaszig

@glaszig somehow missed your reply years ago 🤦 - been using this just fine. Feel free to merge.

msmollin avatar May 22 '23 16:05 msmollin

@glaszig Would it be possible to merge this please? A lot of companies are finally moving to SPM and this would be helpful. Thanks.

vijaytholpadi avatar Apr 22 '24 08:04 vijaytholpadi

thanks for beating me to it ;)

glaszig avatar Apr 22 '24 20:04 glaszig