Skip to content

Commit 005d009

Browse files
authored
Remove ACLs from docs (#289)
1 parent 9843e3f commit 005d009

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Sources/ViewTypes/FullScreenCover.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import SwiftUI
55
/// ### iOS
66
///
77
/// ```swift
8-
/// public struct ContentView: View {
8+
/// struct ContentView: View {
99
/// @State var isPresented = false
1010
///
11-
/// public var body: some View {
11+
/// var body: some View {
1212
/// Button("Present", action: { isPresented = true })
1313
/// .fullScreenCover(isPresented: $isPresented) {
1414
/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
2323
/// ### tvOS
2424
///
2525
/// ```swift
26-
/// public struct ContentView: View {
26+
/// struct ContentView: View {
2727
/// @State var isPresented = false
2828
///
29-
/// public var body: some View {
29+
/// var body: some View {
3030
/// Button("Present", action: { isPresented = true })
3131
/// .fullScreenCover(isPresented: $isPresented) {
3232
/// Button("Dismiss", action: { isPresented = false })

Sources/ViewTypes/Popover.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import SwiftUI
55
/// ### iOS
66
///
77
/// ```swift
8-
/// public struct ContentView: View {
8+
/// struct ContentView: View {
99
/// @State var isPresented = false
1010
///
11-
/// public var body: some View {
11+
/// var body: some View {
1212
/// Button("Present", action: { isPresented = true })
1313
/// .popover(isPresented: $isPresented) {
1414
/// Button("Dismiss", action: { isPresented = false })

Sources/ViewTypes/Sheet.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import SwiftUI
55
/// ### iOS
66
///
77
/// ```swift
8-
/// public struct ContentView: View {
8+
/// struct ContentView: View {
99
/// @State var isPresented = false
1010
///
11-
/// public var body: some View {
11+
/// var body: some View {
1212
/// Button("Present", action: { isPresented = true })
1313
/// .sheet(isPresented: $isPresented) {
1414
/// Button("Dismiss", action: { isPresented = false })
@@ -23,10 +23,10 @@ import SwiftUI
2323
/// ### tvOS
2424
///
2525
/// ```swift
26-
/// public struct ContentView: View {
26+
/// struct ContentView: View {
2727
/// @State var isPresented = false
2828
///
29-
/// public var body: some View {
29+
/// var body: some View {
3030
/// Button("Present", action: { isPresented = true })
3131
/// .sheet(isPresented: $isPresented) {
3232
/// Button("Dismiss", action: { isPresented = false })

0 commit comments

Comments
 (0)