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

Please update documentation for storyboard users #164

Open
gene-code opened this issue May 4, 2017 · 2 comments
Open

Please update documentation for storyboard users #164

gene-code opened this issue May 4, 2017 · 2 comments

Comments

@gene-code
Copy link

I am currently using storyboard to create the reusableview and cant make it to work.
Appreciate it if you can update the documentation on how to use the class using storyboard.
THank you for nice library.

@gene-code
Copy link
Author

Ok nvm apple has made Sticky headers for CollectionView available from iOS9 actually.

Just choose "flow" layout type and in viewdidload do a typecast to the viewLayout as ViewFlowLayout and set sectionHeadersPinToVisibleBounds to true.

UICollectionViewFlowLayout layout = (UICollectionViewFlowLayout) _collectionView.collectionViewLayout;
layout.sectionHeadersPinToVisibleBounds = YES; // make collectionview header sticky to top

@ZikeX
Copy link

ZikeX commented Sep 2, 2017

Low Low Low!!!!!!!!

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