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

Improvements in ASCollectionGalleryLayoutDelegate #496

Merged
merged 5 commits into from
Aug 8, 2017

Conversation

nguyenhuy
Copy link
Member

- It now can handle section inset, as well as interitem and line spacings
- Other small changes
@ghost
Copy link

ghost commented Aug 4, 2017

🚫 CI failed with log

self = [super init];
if (self) {
// Scrollable directions must be either vertical or horizontal and can't be both
ASDisplayNodeAssertFalse(ASScrollDirectionContainsVerticalDirection(scrollableDirections)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we assert that it has at least one scrollable direction?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I'll add it. Thanks for the review.

@nguyenhuy nguyenhuy merged commit fdc1f04 into TextureGroup:master Aug 8, 2017
@nguyenhuy nguyenhuy deleted the HNGalleryLayoutSpacings branch August 8, 2017 18:11
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
* Improvements in ASCollectionGalleryLayoutDelegate
- It now can handle section inset, as well as interitem and line spacings
- Other small changes

* Fix build failure and update file licenses

* Update CHANGELOG

* Minor change

* Another assertion on scrollable directions of gallery layout delegate
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