Created
June 5, 2019 06:15
-
-
Save balrajOla/ce9c8fc455c093e834ce9ecbc7bbe060 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public init(..., content: @ViewBuilder () -> Content) | |
//Note: The official docs won't show the attribute. | |
//But you can simply check this by assigning the value of VStack(){} to a variable and check variable type | |
//The Variable type will be TupleView<(Text, Text)> | |
//And TupleView is returned ViewBuilder.buildBlock function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment