mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
[Layout] Rename ASLayoutable to ASLayoutElement (#2290)
* [Layout API] Rename ASLayoutable to ASLayoutElement * arg * fix wrapperWithLayoutElement * [Layout API] Rename ASLayoutable to ASLayoutElement * arg * address Michael's comments * Remove ASLayoutValidation files that were deleted on master since this diff was created.
This commit is contained in:
@@ -36,7 +36,7 @@ typedef NS_OPTIONS(NSUInteger, ASCenterLayoutSpecSizingOptions) {
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/** Lays out a single layoutable child and position it so that it is centered into the layout bounds.
|
||||
/** Lays out a single layoutElement child and position it so that it is centered into the layout bounds.
|
||||
* NOTE: ASRelativeLayoutSpec offers all of the capabilities of Center, and more.
|
||||
* Check it out if you would like to be able to position the child at any corner or the middle of an edge.
|
||||
*/
|
||||
@@ -56,7 +56,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
+ (instancetype)centerLayoutSpecWithCenteringOptions:(ASCenterLayoutSpecCenteringOptions)centeringOptions
|
||||
sizingOptions:(ASCenterLayoutSpecSizingOptions)sizingOptions
|
||||
child:(id<ASLayoutable>)child;
|
||||
child:(id<ASLayoutElement>)child;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user