Backport

public struct Backport<Content>

Backport SwiftUI functions for easier multi-targeting

  • The content of the backport

    Declaration

    Swift

    public let content: Content
  • Init the backport

    Declaration

    Swift

    public init(_ content: Content)

Available where Content: View

  • focusSection backport

    Declaration

    Swift

    @ViewBuilder
    func focusSection() -> some View
  • focusable backport

    Declaration

    Swift

    @ViewBuilder
    func focusable() -> some View
  • hoverEffect backport

    Declaration

    Swift

    @ViewBuilder
    func hoverEffect() -> some View
  • navigationSubtitle backport

    Declaration

    Swift

    @ViewBuilder
    func navigationSubtitle(_ text: String) -> some View