Add way to compile out ASTextNode + TextKit dependencies (#1242)

* Add way to compile out ASTextNode + TextKit dependencies

* Compile out ASExperimentalTextNode and fix tests
This commit is contained in:
Michael Schneider
2018-11-23 09:13:15 -08:00
committed by GitHub
parent 31125ff6cf
commit f2bc63f05a
38 changed files with 196 additions and 6 deletions

View File

@@ -9,6 +9,8 @@
#import <AsyncDisplayKit/ASTextKitEntityAttribute.h>
#if AS_ENABLE_TEXTNODE
@implementation ASTextKitEntityAttribute
- (instancetype)initWithEntity:(id<NSObject>)entity
@@ -37,3 +39,5 @@
}
@end
#endif