Last active
July 20, 2021 05:51
-
-
Save mokagio/4ef3901927c9b01e044862f2b9494a49 to your computer and use it in GitHub Desktop.
SwiftUI simple view body printout – Xcode 13 beta 2
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
▿ VStack<TupleView<(Text, Text)>> | |
▿ _tree : Tree<_VStackLayout, TupleView<(Text, Text)>> | |
▿ root : _VStackLayout | |
▿ alignment : HorizontalAlignment | |
▿ key : AlignmentKey | |
- bits : 2 | |
- spacing : nil | |
▿ content : TupleView<(Text, Text)> | |
▿ value : 2 elements | |
▿ .0 : Text | |
▿ storage : Storage | |
▿ anyTextStorage : <LocalizedTextStorage: 0x60000181a8f0> | |
▿ modifiers : 1 element | |
▿ 0 : Modifier | |
- anyTextModifier : <BoldTextModifier: 0x6000039203a0> | |
▿ .1 : Text | |
▿ storage : Storage | |
▿ anyTextStorage : <LocalizedTextStorage: 0x60000181a490> | |
- modifiers : 0 elements |
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
import SwiftUI | |
struct ExampleView: View { | |
var body: some View { | |
VStack { | |
Text("Title").bold() | |
Text("Subtitle") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment