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

Fix for minimumInteritemSpacing #182

Closed
wants to merge 1 commit into from

Conversation

mbruegmann
Copy link

@mbruegmann mbruegmann commented Mar 9, 2018

When trying to pick up the minimumInteritemSpacing from the delegate method ...
@objc optional func collectionView (_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat
... the code falls back to minimumColumnSpacing if the delegate method is not implemented. It should fall back to minimumInteritemSpacing instead.

When trying to pick up the from the minimumInteritemSpacing from the delegate method ...
@objc optional func collectionView (_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAtIndex section: Int) -> CGFloat
... the code falls back to minimumColumnSpacing if the delegate method is not implemented. It shoudl fall back to minimumInteritemSpacing instead.
@mbruegmann mbruegmann changed the base branch from develop to master March 9, 2018 14:13
@ApolloZhu ApolloZhu mentioned this pull request Mar 30, 2019
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.

1 participant