mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Addressed comments to LayoutOptions PR
This commit is contained in:
@@ -12,8 +12,7 @@
|
||||
|
||||
@protocol ASLayoutable;
|
||||
|
||||
#import <AsyncDisplayKit/ASStackLayoutable.h>
|
||||
#import <AsyncDisplayKit/ASStaticLayoutable.h>
|
||||
#import <AsyncDisplayKit/ASLayoutSpec.h>
|
||||
|
||||
@interface ASLayoutOptions : NSObject <ASStackLayoutable, ASStaticLayoutable, NSCopying>
|
||||
|
||||
@@ -24,8 +23,7 @@
|
||||
- (void)setValuesFromLayoutable:(id<ASLayoutable>)layoutable;
|
||||
|
||||
#pragma mark - Subclasses should implement these!
|
||||
- (void)setupDefaults;
|
||||
- (void)copyIntoOptions:(ASLayoutOptions *)layoutOptions;
|
||||
- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions;
|
||||
|
||||
#pragma mark - ASStackLayoutable
|
||||
|
||||
@@ -43,5 +41,4 @@
|
||||
@property (nonatomic, readwrite) ASRelativeSizeRange sizeRange;
|
||||
@property (nonatomic, readwrite) CGPoint layoutPosition;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user