I am using UICollectionView but following method not found:
func collectionView(collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAtIndexPath indexPath: NSIndexPath) -> CGSize
please suggest me it's replacement.
For me sizeForItemAt
wasn't called because in Swift 3 you need to explicitly set your class to implement the UICollectionViewDelegateFlowLayout
protocol