mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +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
@@ -98,11 +98,11 @@ typedef NS_ENUM(NSUInteger, ASHorizontalAlignment) {
|
||||
|
||||
// After 2.0 has landed, we'll add ASDISPLAYNODE_DEPRECATED here - for now, avoid triggering errors for projects with -Werror
|
||||
/** @deprecated Use ASHorizontalAlignmentLeft instead */
|
||||
ASAlignmentLeft = ASHorizontalAlignmentLeft,
|
||||
ASAlignmentLeft ASDISPLAYNODE_DEPRECATED = ASHorizontalAlignmentLeft,
|
||||
/** @deprecated Use ASHorizontalAlignmentMiddle instead */
|
||||
ASAlignmentMiddle = ASHorizontalAlignmentMiddle,
|
||||
ASAlignmentMiddle ASDISPLAYNODE_DEPRECATED = ASHorizontalAlignmentMiddle,
|
||||
/** @deprecated Use ASHorizontalAlignmentRight instead */
|
||||
ASAlignmentRight = ASHorizontalAlignmentRight,
|
||||
ASAlignmentRight ASDISPLAYNODE_DEPRECATED = ASHorizontalAlignmentRight,
|
||||
};
|
||||
|
||||
/** Orientation of children along vertical axis */
|
||||
@@ -118,9 +118,9 @@ typedef NS_ENUM(NSUInteger, ASVerticalAlignment) {
|
||||
|
||||
// After 2.0 has landed, we'll add ASDISPLAYNODE_DEPRECATED here - for now, avoid triggering errors for projects with -Werror
|
||||
/** @deprecated Use ASVerticalAlignmentTop instead */
|
||||
ASAlignmentTop = ASVerticalAlignmentTop,
|
||||
ASAlignmentTop ASDISPLAYNODE_DEPRECATED = ASVerticalAlignmentTop,
|
||||
/** @deprecated Use ASVerticalAlignmentCenter instead */
|
||||
ASAlignmentCenter = ASVerticalAlignmentCenter,
|
||||
ASAlignmentCenter ASDISPLAYNODE_DEPRECATED = ASVerticalAlignmentCenter,
|
||||
/** @deprecated Use ASVerticalAlignmentBottom instead */
|
||||
ASAlignmentBottom = ASVerticalAlignmentBottom,
|
||||
ASAlignmentBottom ASDISPLAYNODE_DEPRECATED = ASVerticalAlignmentBottom,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user