ShelfView
struct ShelfView : View
SwiftUI View for a shelf with media (shared)
-
The loading status of the
ViewDeclaration
Swift
@State private var status: ViewStatus { get nonmutating set } -
The itmes to show in the shelf
Declaration
Swift
@State private var items: [any KodiItem] { get nonmutating set } -
The SceneState model
Declaration
Swift
@Environment private var scene: SceneState { get } -
The KodiConnector model
Declaration
Swift
@Environment private var kodi: KodiConnector { get } -
The selected media for the shelf
Declaration
Swift
@AppStorage private var media: ShelfView.Media { get nonmutating set }
-
The body of the
ViewDeclaration
Swift
var body: some View { get }
-
The content of the
ViewDeclaration
Swift
var content: some View { get }
View on GitHub
ShelfView Structure Reference