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

Added Swift Package Manager support #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rwbutler
Copy link
Contributor

@rwbutler rwbutler commented Aug 5, 2020

This PR adds support for Swift Package Manager by adding a Package.swift file (I have tested this integration on my local branch where it integrates into a sample project without issue).

It also adds support for Carthage, I had thought that previous PR (#28) would be enough to enable Carthage compatibility by simply marking the scheme as shared however as it turned out when I attempted to integrate LNZCollectionLayouts using Carthage there were a few more requirements.

In the end I had to add a header and an Info.plist for the framework as well (the existing Info.plist used by the sample application was renamed to AppInfo.plist with Info.plist used for the framework target and AppInfo.plist used the sample app) and resolved a couple of small compilation issues.

I currently integrate LNZCollectionLayouts via Carthage using my fork but hope that with this PR merged it should be possible to switch to using the official (this) repository.

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

Successfully merging this pull request may close these issues.

2 participants