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

To need flexible size #8

Open
ngdinhkhoa120691 opened this issue Apr 4, 2018 · 2 comments
Open

To need flexible size #8

ngdinhkhoa120691 opened this issue Apr 4, 2018 · 2 comments

Comments

@ngdinhkhoa120691
Copy link

I think we need flexible size to calculate size of cell

public enum LayoutType {
    case flexible(lineSpacing: CGFloat)
}
public protocol InfiniteScrollingBehaviourDelegate: class {
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
}
@ngdinhkhoa120691
Copy link
Author

ex:
screen shot 2018-04-04 at 3 59 03 pm

@delox
Copy link

delox commented Jul 20, 2018

@ngdinhkhoa120691 do you have a working example?

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