mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[AsyncDisplayKit 2] Final changes to ease migration of clients to 2.0 APIs. (#2460)
This commit is contained in:
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* access to the options via convenience properties. If you are creating custom layout spec, then you can
|
||||
* extend the backing layout options class to accommodate any new layout options.
|
||||
*/
|
||||
@protocol ASLayoutElement <ASEnvironment, ASLayoutElementPrivate, ASLayoutElementExtensibility, ASLayoutElementStylability, NSFastEnumeration>
|
||||
@protocol ASLayoutElement <ASEnvironment, ASLayoutElementPrivate, ASLayoutElementExtensibility, ASLayoutElementStylability, NSFastEnumeration, ASStackLayoutElement, ASAbsoluteLayoutElement>
|
||||
|
||||
#pragma mark - Getter
|
||||
|
||||
@@ -74,7 +74,6 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
@property (nullable, nonatomic, copy) NSString *debugName;
|
||||
|
||||
|
||||
#pragma mark - Calculate layout
|
||||
|
||||
/**
|
||||
@@ -320,3 +319,4 @@ extern NSString * const ASLayoutElementStyleLayoutPositionProperty;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
#define ASLayoutable ASLayoutElement
|
||||
|
||||
Reference in New Issue
Block a user