Skip to content

Conversation

@wiencheck
Copy link

I have added Swift Package Support for this framework and modified the way the delegate is used.
I believe it is better to allow any object to adopt the CollectionViewWaterfallLayoutDelegate, not only the object that already conforms to the UICollectionViewDelegate.

I think it allows for better separation of responsibilities and thus cleaner code.
Also, creating the layout like this:
let layout = CollectionViewWaterfallLayout(delegate: self)
is more satisfying ☺️

@JuanpaG94
Copy link

JuanpaG94 commented Jan 18, 2021

This repo seems to be abandoned since 2019, but this addition will be really useful for current implementations
@ecerney

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