mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-07 13:35:09 +00:00
[ASNodeController] Move ASNodeController to beta header (#2966)
* Move ASNodeController to beta header * Make it public * Change ASNodeController+Beta to .mm
This commit is contained in:
committed by
GitHub
parent
404795dc02
commit
d42dcfefc1
@@ -9,6 +9,7 @@
|
||||
#import <AsyncDisplayKit/ASDisplayNode.h>
|
||||
#import <AsyncDisplayKit/ASDisplayNode+Subclasses.h> // for ASInterfaceState protocol
|
||||
|
||||
/* ASNodeController is currently beta and open to change in the future */
|
||||
@interface ASNodeController<__covariant DisplayNodeType : ASDisplayNode *> : NSObject <ASInterfaceStateDelegate>
|
||||
|
||||
@property (nonatomic, strong) DisplayNodeType node;
|
||||
@@ -6,11 +6,12 @@
|
||||
// Copyright © 2017 Facebook. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ASNodeController.h"
|
||||
#import "ASNodeController+Beta.h"
|
||||
|
||||
#import "ASDisplayNode+FrameworkPrivate.h"
|
||||
|
||||
@implementation ASNodeController
|
||||
|
||||
@synthesize node = _node;
|
||||
|
||||
- (instancetype)init
|
||||
@@ -48,7 +48,7 @@
|
||||
#import <AsyncDisplayKit/ASPagerFlowLayout.h>
|
||||
#import <AsyncDisplayKit/ASPagerNode.h>
|
||||
|
||||
#import <AsyncDisplayKit/ASNodeController.h>
|
||||
#import <AsyncDisplayKit/ASNodeController+Beta.h>
|
||||
#import <AsyncDisplayKit/ASViewController.h>
|
||||
#import <AsyncDisplayKit/ASNavigationController.h>
|
||||
#import <AsyncDisplayKit/ASTabBarController.h>
|
||||
|
||||
Reference in New Issue
Block a user