CHTCollectionViewWaterfallLayout icon indicating copy to clipboard operation
CHTCollectionViewWaterfallLayout copied to clipboard

Ambiguous inference of Objective-C name for instance method

Open naveedmcs opened this issue 2 years ago • 2 comments

`extension BlogPostVC: CHTCollectionViewDelegateWaterfallLayout {

func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { let width = (self.collectionView!.frame.width / 2 ) - 5 // create a cell size from the image size, and return the size if appStorage.userData?.userType == .admin && indexPath.row == 0 {

        return CGSize(width: width, height: 130)
    }
    else {
        
        return CGSize(width: width, height: 300) //blogs[indexPath.item].imageHeightFormatted
    }
}

//MARK: - CollectionView Waterfall Layout Delegate Methods (Required)

} `

naveedmcs avatar Dec 02 '21 10:12 naveedmcs

Could you please elaborate on what the issue is (expected behavior, steps to reproduce, actual results)?

ApolloZhu avatar Dec 10 '21 01:12 ApolloZhu

Any update on this issue?

aligermiyanoglu avatar Sep 22 '23 14:09 aligermiyanoglu