mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
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:
committed by
GitHub
parent
31125ff6cf
commit
f2bc63f05a
@@ -10,6 +10,11 @@
|
||||
#pragma once
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <AsyncDisplayKit/ASAvailability.h>
|
||||
|
||||
#if AS_ENABLE_TEXTNODE
|
||||
|
||||
#import <AsyncDisplayKit/ASEqualityHelpers.h>
|
||||
|
||||
AS_EXTERN NSString *const ASTextKitTruncationAttributeName;
|
||||
@@ -119,3 +124,5 @@ struct ASTextKitAttributes {
|
||||
|
||||
size_t hash() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user