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

Update Package.swift manifest to define RxInfiniteLayout product #16

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

cdann-leafly
Copy link
Contributor

Update Package.swift manifest to define RxInfiniteLayout product and target, allowing RxSwift-related classes and extensions to be imported via Swift Package Manager.

This continues to allow importing InfiniteLayout via Swift Package Manager without an RxSwift dependency, and optionally allows Rx support to be included by depending on the additional RxInfiniteLayout product, which depends on RxSwift, RxCocoa and RxDataSource.

Because the Rx-related classes are in a separate library module, they must import the InfiniteLayout module. This also required more permissive (open) access to InfiniteCollectionView and InfiniteDataSource.

Also, because the InfiniteLayout package might not exist when importing this library via CocoaPods (or other dependency managers), I wrapped the import statements in conditional-compilation directives.

…target, allowing RxSwift-related classes and extensions to be imported via Swift Package Manager.
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.

None yet

2 participants