Skip to content

Instantly share code, notes, and snippets.

@gwennguihal
Last active August 7, 2017 14:50
Show Gist options
  • Save gwennguihal/2be85e369353857631d2774a37a15dc8 to your computer and use it in GitHub Desktop.
Save gwennguihal/2be85e369353857631d2774a37a15dc8 to your computer and use it in GitHub Desktop.
import Collor
class ExampleSectionDescriptor: CollectionSectionDescribable {
func sectionInset(_ collectionView:UICollectionView) -> UIEdgeInsets {
return UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0)
}
func minimumLineSpacing(_ collectionView: UICollectionView, layout: UICollectionViewFlowLayout) -> CGFloat {
return 15
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment