Created
September 24, 2019 09:37
-
-
Save wendyliga/319fdd1ff902fd22c4846bb5c90e9f47 to your computer and use it in GitHub Desktop.
Texture ASCenterLayoutSpec Simple Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let center = ASCenterLayoutSpec(centeringOptions: .XY, | |
sizingOptions: .minimumXY, | |
child: mainStack) | |
return center |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment