mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
If you override the property, you need to specify __weak (#2630)
This commit is contained in:
committed by
Garrett Moon
parent
22c629648f
commit
654b520b6d
@@ -198,8 +198,8 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
|
||||
@implementation ASTableView
|
||||
{
|
||||
id<ASTableDelegate> _asyncDelegate;
|
||||
id<ASTableDataSource> _asyncDataSource;
|
||||
__weak id<ASTableDelegate> _asyncDelegate;
|
||||
__weak id<ASTableDataSource> _asyncDataSource;
|
||||
}
|
||||
|
||||
// Using _ASDisplayLayer ensures things like -layout are properly forwarded to ASTableNode.
|
||||
|
||||
Reference in New Issue
Block a user