Overhaul header files / includes to eliminate circular references that Xcode 7 is angry about.

This commit is contained in:
Scott Goodson
2015-12-25 19:22:00 -08:00
parent 89f9fc551f
commit a2cf2a88e6
28 changed files with 46 additions and 37 deletions

View File

@@ -11,7 +11,6 @@
// These methods must never be called or overridden by other classes.
//
#import "_ASDisplayLayer.h"
#import "_AS-objc-internal.h"
#import "ASDisplayNodeExtraIvars.h"
#import "ASDisplayNode.h"
@@ -19,6 +18,9 @@
#import "ASThread.h"
#import "ASLayoutOptions.h"
@protocol _ASDisplayLayerDelegate;
@class _ASDisplayLayer;
BOOL ASDisplayNodeSubclassOverridesSelector(Class subclass, SEL selector);
void ASDisplayNodeRespectThreadAffinityOfNode(ASDisplayNode *node, void (^block)());
@@ -39,7 +41,7 @@ typedef NS_OPTIONS(NSUInteger, ASDisplayNodeMethodOverrides)
#define TIME_DISPLAYNODE_OPS (DEBUG || PROFILE)
@interface ASDisplayNode () <_ASDisplayLayerDelegate>
@interface ASDisplayNode ()
{
@protected
// Protects access to _view, _layer, _pendingViewState, _subnodes, _supernode, and other properties which are accessed from multiple threads.