MoviesView

struct MoviesView : View

SwiftUI View for all Movies in the library (shared)

  • The KodiConnector model

    Declaration

    Swift

    @Environment
    private var kodi: KodiConnector { get }
  • The SceneState model

    Declaration

    Swift

    @Environment
    private var scene: SceneState { get }
  • The collection in this view (movies + movie sets)

    Declaration

    Swift

    @State
    private var collection: [AnyKodiItem] { get nonmutating set }
  • The optional filter

    Declaration

    Swift

    var filter: Parts.Filter
  • The sorting

    Declaration

    Swift

    @State
    private var sorting: List.Sort { get nonmutating set }
  • The loading status of the View

    Declaration

    Swift

    @State
    private var status: ViewStatus { get nonmutating set }

Body of the View

  • The body of the View

    Declaration

    Swift

    var body: some View { get }

Content of the View

  • The content of the View

    Declaration

    Swift

    @ViewBuilder
    var content: some View { get }

Private functions

  • Get all movies from the library

    Declaration

    Swift

    private func getMovies()