If you override the property, you need to specify __weak (#2630)

This commit is contained in:
Garrett Moon
2016-11-18 13:20:25 -08:00
committed by Garrett Moon
parent 22c629648f
commit 654b520b6d

View File

@@ -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.