Row

struct Row : View

SwiftUI View for a row in the browser list

  • The song item

    Declaration

    Swift

    let song: FileBrowser.SongItem
  • Show the artist or not

    Declaration

    Swift

    var showArtist: Bool
  • The FileBrowser model

    Declaration

    Swift

    @EnvironmentObject
    var fileBrowser: FileBrowser { get }
  • Open documents in the environment

    Declaration

    Swift

    @Environment
    private var openDocument: OpenDocumentAction { get }
  • Information about the NSWindow

    Declaration

    Swift

    var window: NSWindow.WindowItem? { get }
  • The body of the View

    Declaration

    Swift

    var body: some View { get }
  • Open a new song window

    Declaration

    Swift

    func openSong(url: URL)

    Parameters

    url

    The URL of the song