Shuffle & Cleanup Stuff (#3080)

This commit is contained in:
Adlai Holler
2017-02-26 18:14:13 -08:00
committed by GitHub
parent e48edef4e7
commit 73ca6ab514
595 changed files with 181 additions and 225 deletions

View File

@@ -0,0 +1,32 @@
//
// ASNodeController.h
// AsyncDisplayKit
//
// Created by Hannah Troisi for Scott Goodson on 1/27/17.
// Copyright © 2017 Facebook. All rights reserved.
//
#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;
- (void)loadNode;
// for descriptions see <ASInterfaceState> definition
- (void)didEnterVisibleState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)didExitVisibleState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)didEnterDisplayState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)didExitDisplayState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)didEnterPreloadState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)didExitPreloadState ASDISPLAYNODE_REQUIRES_SUPER;
- (void)interfaceStateDidChange:(ASInterfaceState)newState
fromState:(ASInterfaceState)oldState ASDISPLAYNODE_REQUIRES_SUPER;
@end