mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-05 04:32:52 +00:00
[Layout] Improve Layout System Abstraction (#2941)
* Improve Layout Abstraction * Address naming comments - Rename ASPrimitiveTraitEnvironment to ASTraitEnvironment - Rename ASPrimitiveTraitCollectionPropagateDown to ASTraitCollectionPropagateDown - Rename progagateNewPrimitiveTraitCollection: to propagateNewTraitCollection:
This commit is contained in:
committed by
GitHub
parent
a2ff2b9900
commit
12e4e5b048
@@ -9,6 +9,10 @@
|
||||
#pragma once
|
||||
#import <AsyncDisplayKit/ASControlNode.h>
|
||||
|
||||
#define ASLAYOUTSPEC_DEBUG 1
|
||||
|
||||
#if ASLAYOUTSPEC_DEBUG
|
||||
|
||||
@class ASLayoutSpec;
|
||||
|
||||
@interface ASLayoutSpecVisualizerNode : ASControlNode
|
||||
@@ -19,3 +23,5 @@
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
//
|
||||
|
||||
#import <AsyncDisplayKit/ASLayoutSpec+Debug.h>
|
||||
|
||||
#if ASLAYOUTSPEC_DEBUG
|
||||
|
||||
#import <AsyncDisplayKit/ASDisplayNode+Beta.h>
|
||||
#import <AsyncDisplayKit/AsyncDisplayKit.h>
|
||||
#import <AsyncDisplayKit/ASLayoutElementInspectorNode.h>
|
||||
@@ -71,3 +74,4 @@
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user