mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
If you override the property, you need to specify __weak (#2631)
This commit is contained in:
committed by
Hannah Troisi
parent
fb48a27160
commit
2284914c36
@@ -225,8 +225,8 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
|
|||||||
|
|
||||||
@implementation ASCollectionView
|
@implementation ASCollectionView
|
||||||
{
|
{
|
||||||
id<ASCollectionDelegate> _asyncDelegate;
|
__weak id<ASCollectionDelegate> _asyncDelegate;
|
||||||
id<ASCollectionDataSource> _asyncDataSource;
|
__weak id<ASCollectionDataSource> _asyncDataSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Using _ASDisplayLayer ensures things like -layout are properly forwarded to ASCollectionNode.
|
// Using _ASDisplayLayer ensures things like -layout are properly forwarded to ASCollectionNode.
|
||||||
|
|||||||
Reference in New Issue
Block a user