From ce84f1fb050cba0295d4185821ec2a70679feb6c Mon Sep 17 00:00:00 2001 From: Jens Troest Date: Sun, 17 Mar 2024 14:31:43 -0700 Subject: [PATCH] Edit documentation --- Sources/SwiftUI Helpers/Example Views.swift | 1 - Sources/SwiftUI Helpers/View+AnyView.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/SwiftUI Helpers/Example Views.swift b/Sources/SwiftUI Helpers/Example Views.swift index 7481128..8a971a1 100644 --- a/Sources/SwiftUI Helpers/Example Views.swift +++ b/Sources/SwiftUI Helpers/Example Views.swift @@ -3,7 +3,6 @@ import SwiftUI -import SwiftUIHelpers struct Geometry: View { diff --git a/Sources/SwiftUI Helpers/View+AnyView.swift b/Sources/SwiftUI Helpers/View+AnyView.swift index 5e07b60..c3bc025 100644 --- a/Sources/SwiftUI Helpers/View+AnyView.swift +++ b/Sources/SwiftUI Helpers/View+AnyView.swift @@ -8,7 +8,7 @@ import SwiftUI extension View { - /// Returns a `View` as ``AnyView`` + /// Returns a `View` as [``AnyView``](https://developer.apple.com/documentation/swiftui/anyview) public func eraseToAnyView() -> AnyView { return AnyView(self) }