mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-11 15:10:37 +00:00
* Improve Layout Abstraction * Address naming comments - Rename ASPrimitiveTraitEnvironment to ASTraitEnvironment - Rename ASPrimitiveTraitCollectionPropagateDown to ASTraitCollectionPropagateDown - Rename progagateNewPrimitiveTraitCollection: to propagateNewTraitCollection:
28 lines
421 B
Objective-C
28 lines
421 B
Objective-C
//
|
|
// ASLayoutSpec+Debug.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Hannah Troisi on 3/20/16.
|
|
//
|
|
//
|
|
|
|
#pragma once
|
|
#import <AsyncDisplayKit/ASControlNode.h>
|
|
|
|
#define ASLAYOUTSPEC_DEBUG 1
|
|
|
|
#if ASLAYOUTSPEC_DEBUG
|
|
|
|
@class ASLayoutSpec;
|
|
|
|
@interface ASLayoutSpecVisualizerNode : ASControlNode
|
|
|
|
@property (nonatomic, strong) ASLayoutSpec *layoutSpec;
|
|
|
|
- (instancetype)initWithLayoutSpec:(ASLayoutSpec *)layoutSpec;
|
|
|
|
@end
|
|
|
|
#endif
|
|
|