HostsView
struct HostsView : View
SwiftUI View
for add, edit, delete or select Kodi hosts
-
The KodiConnector model
Declaration
Swift
@EnvironmentObject var kodi: KodiConnector { get }
-
The selected host
Declaration
Swift
@State var selection: HostItem? { get nonmutating set }
-
The body of the
View
Declaration
Swift
var body: some View { get }
-
The lists of hosts
Declaration
Swift
var hostList: some View { get }
-
The View for a Host
Declaration
Swift
func hostItem(host: HostItem) -> some View
Parameters
host
The Kodi
Host
Return Value
A View with the host information
-
View for editing a host
Declaration
Swift
var hostEdit: some View { get }