[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:
Michael Schneider
2017-02-02 12:51:33 -08:00
committed by GitHub
parent 404795dc02
commit d42dcfefc1
4 changed files with 12 additions and 10 deletions

View File

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

View File

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

View File

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