mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Document layout delegate on ASCollectionView
This commit is contained in:
@@ -226,8 +226,8 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
// and should not trigger a relayout.
|
||||
_ignoreMaxSizeChange = CGSizeEqualToSize(_maxSizeForNodesConstrainedSize, CGSizeZero);
|
||||
|
||||
// Register the default layout inspector delegate for flow layouts, custom layouts
|
||||
// will need to roll their own ASCollectionViewLayoutInspecting implementation.
|
||||
// Register the default layout inspector delegate for flow layouts only, custom layouts
|
||||
// will need to roll their own ASCollectionViewLayoutInspecting implementation and set a layout delegate
|
||||
if ([layout asdk_isFlowLayout]) {
|
||||
_layoutDelegate = [self flowLayoutInspector];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user