mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 11:56:05 +08:00
Deprecate -initWith{View,Layer}Class:.
These have been superseded by -[ASDisplayNode initWithViewBlock:] and -[ASDisplayNode initWithLayerBlock:], respectively -- the new API allows for custom initialisers, but does not support asynchronous display. The old initialisers are still available in ASDisplayNodeInternal.h, for internal subclasses and daring adventurers.
This commit is contained in:
@@ -48,6 +48,12 @@ static UIImage *bogusImage() {
|
||||
@end
|
||||
|
||||
|
||||
@interface ASDisplayNode (HackForTests)
|
||||
- (id)initWithViewClass:(Class)viewClass;
|
||||
- (id)initWithLayerClass:(Class)layerClass;
|
||||
@end
|
||||
|
||||
|
||||
@interface _ASDisplayLayerTestLayer : _ASDisplayLayer
|
||||
{
|
||||
BOOL _isInCancelAsyncDisplay;
|
||||
|
||||
Reference in New Issue
Block a user