I am working with UICollectionView which has custom UICollectionViewLayout.I need spacing around UICollectionViewCell like i can get if i use UICollectionViewFlowLayout with this minimumInteritemSpacingForSectionAtIndex and minimumLineSpacingForSectionAtIndex.
This properties are not in UICollectionViewLayout. So how i can manage spacing between UICollectionViewCell in swift 2.1 or any idea?
I have tried this
let bcolor : UIColor = UIColor.whiteColor()
dataCell.layer.borderColor = bcolor.CGColor
dataCell.layer.borderWidth = 0.9
dataCell.layer.cornerRadius = 3
any better idea?