File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
5
5
/// ### iOS
6
6
///
7
7
/// ```swift
8
- /// public struct ContentView: View {
8
+ /// struct ContentView: View {
9
9
/// @State var isPresented = false
10
10
///
11
- /// public var body: some View {
11
+ /// var body: some View {
12
12
/// Button("Present", action: { isPresented = true })
13
13
/// .fullScreenCover(isPresented: $isPresented) {
14
14
/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
23
23
/// ### tvOS
24
24
///
25
25
/// ```swift
26
- /// public struct ContentView: View {
26
+ /// struct ContentView: View {
27
27
/// @State var isPresented = false
28
28
///
29
- /// public var body: some View {
29
+ /// var body: some View {
30
30
/// Button("Present", action: { isPresented = true })
31
31
/// .fullScreenCover(isPresented: $isPresented) {
32
32
/// Button("Dismiss", action: { isPresented = false })
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
5
5
/// ### iOS
6
6
///
7
7
/// ```swift
8
- /// public struct ContentView: View {
8
+ /// struct ContentView: View {
9
9
/// @State var isPresented = false
10
10
///
11
- /// public var body: some View {
11
+ /// var body: some View {
12
12
/// Button("Present", action: { isPresented = true })
13
13
/// .popover(isPresented: $isPresented) {
14
14
/// Button("Dismiss", action: { isPresented = false })
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import SwiftUI
5
5
/// ### iOS
6
6
///
7
7
/// ```swift
8
- /// public struct ContentView: View {
8
+ /// struct ContentView: View {
9
9
/// @State var isPresented = false
10
10
///
11
- /// public var body: some View {
11
+ /// var body: some View {
12
12
/// Button("Present", action: { isPresented = true })
13
13
/// .sheet(isPresented: $isPresented) {
14
14
/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
23
23
/// ### tvOS
24
24
///
25
25
/// ```swift
26
- /// public struct ContentView: View {
26
+ /// struct ContentView: View {
27
27
/// @State var isPresented = false
28
28
///
29
- /// public var body: some View {
29
+ /// var body: some View {
30
30
/// Button("Present", action: { isPresented = true })
31
31
/// .sheet(isPresented: $isPresented) {
32
32
/// Button("Dismiss", action: { isPresented = false })
You can’t perform that action at this time.
0 commit comments