mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge pull request #504 from RCacheaux/CollectionViewLayoutSupport
Custom layouts now allowed for ASCollectionView. Removes FlowLayout requirement.
This commit is contained in:
@@ -142,7 +142,6 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
// https://github.com/facebook/AsyncDisplayKit/issues/385
|
||||
asyncDataFetchingEnabled = NO;
|
||||
|
||||
ASDisplayNodeAssert([layout asdk_isFlowLayout], @"only flow layouts are currently supported");
|
||||
_layoutController = [[ASCollectionViewLayoutController alloc] initWithCollectionView:self];
|
||||
|
||||
_rangeController = [[ASRangeController alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user