Revert "Improve designated initializer usage (#3132)"

This reverts commit eaa875c7f2.
This commit is contained in:
Adlai Holler
2017-03-03 15:31:28 -08:00
parent eaa875c7f2
commit 0de270fdfb
19 changed files with 26 additions and 76 deletions

View File

@@ -102,18 +102,6 @@ static const CGSize kMinReleaseImageOnBackgroundSize = {20.0, 20.0};
#endif
}
- (instancetype)initWithLayerBlock:(ASDisplayNodeLayerBlock)viewBlock didLoadBlock:(nullable ASDisplayNodeDidLoadBlock)didLoadBlock
{
ASDISPLAYNODE_NOT_DESIGNATED_INITIALIZER();
return [self init];
}
- (instancetype)initWithViewBlock:(ASDisplayNodeViewBlock)viewBlock didLoadBlock:(nullable ASDisplayNodeDidLoadBlock)didLoadBlock
{
ASDISPLAYNODE_NOT_DESIGNATED_INITIALIZER();
return [self init];
}
- (void)dealloc
{
[self _cancelImageDownload];