CHTCollectionViewWaterfallLayout icon indicating copy to clipboard operation
CHTCollectionViewWaterfallLayout copied to clipboard

How can I make myproject in CHTCollectionViewWaterfallLayout with AsyncDisplayKit

Open browniz421 opened this issue 10 years ago • 3 comments

browniz421 avatar Jul 17 '15 01:07 browniz421

Yes I would like to make it work as well

On Thu, Jul 16, 2015 at 6:28 PM, jungjihun [email protected] wrote:


Reply to this email directly or view it on GitHub: https://github.com/chiahsien/CHTCollectionViewWaterfallLayout/issues/104

markmark1 avatar Jul 17 '15 04:07 markmark1

The only thing preventing you from using this with AsyncDisplayKit is the casting of the delegate. A quick fix to get you going would be to check if self.collectionView is an instanceof ASCollectionView and if so, return self.collectionView.asyncDelegate.

Although hackish, this will at least you get you up and running.

wpK avatar Aug 11 '15 23:08 wpK

@wpK, could you please elaborate (or give an example), how would you do that?

mikejd avatar Sep 18 '15 20:09 mikejd