Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift package? #14

Open
ferologics opened this issue Jul 20, 2020 · 1 comment
Open

Swift package? #14

ferologics opened this issue Jul 20, 2020 · 1 comment

Comments

@ferologics
Copy link

Would it be possible to make this a swift package?

@nolanw
Copy link

nolanw commented Feb 14, 2024

After a brief attempt, I gave up trying to handle the varying ARC requirements between files. Swift Package Manager doesn't seem to allow specifying compiler flags per-file, only per-target. I looked around for any compiler pragmas that could turn ARC on/off within a file, but I came up empty. My next idea is to move the -fobjc-no-arc files into their own SPM target, then combine the targets into a single library product.

At that point, manual integration seemed easier, so I did that instead.

(Thank you for STULabel by the way! Link handling and truncationToken are very helpful.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants