BrowserView

struct BrowserView : View

SwiftUI View for the browser

  • The KodiConnector model

    Declaration

    Swift

    @EnvironmentObject
    var kodi: KodiConnector { get }
  • The Browser model

    Declaration

    Swift

    @StateObject
    private var browser: BrowserModel { get }
  • All the items for this View

    Declaration

    Swift

    @State
    var items: BrowserModel.Media { get nonmutating set }
  • The Router item

    Declaration

    Swift

    private let router: Router
  • The search query

    Declaration

    Swift

    private let query: String
  • Init the view

    Declaration

    Swift

    init(router: Router, query: String = "")
  • The body of the View

    Declaration

    Swift

    var body: some View { get }
  • The content of the View

    Declaration

    Swift

    @ViewBuilder
    var content: some View { get }
  • top

    The top part of the View

    Declaration

    Swift

    var top: some View { get }
  • The bottom part of the View

    Declaration

    Swift

    @ViewBuilder
    var bottom: some View { get }