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

ability to change number of image in one row #1

Closed
syrakozz opened this issue Mar 2, 2015 · 2 comments
Closed

ability to change number of image in one row #1

syrakozz opened this issue Mar 2, 2015 · 2 comments

Comments

@syrakozz
Copy link

syrakozz commented Mar 2, 2015

can you plz add the abilty to change the number of image in one row,
perexample i notice that always the number 1 row in contain 5 image,
no mare what
can you plz make the row more flexbile,

@JVillella
Copy link
Contributor

Hey there @syrakozz,
Not sure if I follow entirely. You said the number of images in a row - that can be changed in the delegate method:

- (NSInteger)collectionView:(UICollectionView *)collectionView layout:(FMMosaicLayout *)collectionViewLayout numberOfColumnsInSection:(NSInteger)section {
    return 4; // Or whichever number you'd like
}

Does that help?

@syrakozz
Copy link
Author

syrakozz commented Mar 2, 2015

yes, tx

@syrakozz syrakozz closed this as completed Mar 2, 2015
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