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

Separators between cells support? #47

Closed
saltwat5r opened this issue Jul 10, 2015 · 10 comments
Closed

Separators between cells support? #47

saltwat5r opened this issue Jul 10, 2015 · 10 comments

Comments

@saltwat5r
Copy link

No description provided.

@WenchaoD
Copy link
Owner

Between cells or between lines?

@saltwat5r
Copy link
Author

Between cells and lines like at this image:)
screen shot 2015-07-10 at 11 26 23

@saltwat5r
Copy link
Author

So what do you think about this feature? :)

@WenchaoD
Copy link
Owner

Looks great. But it seems not a common request, and not a iOS7 style either.

@saltwat5r
Copy link
Author

I want to do it for separate cells images, but I've got a problem with doing this.

@WenchaoD
Copy link
Owner

You can add the separators in each FSCalendarCell, which is subclass of UICollectionViewCell.

@saltwat5r
Copy link
Author

But in what way? By adding 4 line layers to view layer of cell?

@WenchaoD
Copy link
Owner

Yes, and hide/show them based on the position or indexPath of each cell

@saltwat5r
Copy link
Author

Thanks, I will try! Previously I tried to do this as below:
_collectionViewFlowLayout.minimumLineSpacing = 0.5; _collectionViewFlowLayout.minimumInteritemSpacing = 0.5;

but it's not good way.

@iad24
Copy link

iad24 commented Jul 4, 2017

Hi @saltwat5r Have u managed to put border lines on the cell?

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

3 participants