FileBrowser
class FileBrowser
The observable FileBrowser
class
-
The list of songs
Declaration
Swift
var songList: [SongItem] { get set }
-
The list of artists
Declaration
Swift
var artistList: [ArtistItem] { get set }
-
The name of the folder bookmark
Declaration
Swift
static let folderBookmark: String
-
The name of the export bookmark
Declaration
Swift
static let exportBookmark: String
-
The message of the folder selector
Declaration
Swift
static let message: String
-
The label for the confirmation button of the folder selector
Declaration
Swift
static let confirmationLabel: String
-
The optional songs folder
Declaration
Swift
var songsFolder: URL? { get set }
-
The status
Declaration
Swift
var status: ChordProviderError { get set }
-
The list of open windows
Declaration
Swift
var openWindows: [NSWindow.WindowItem] { get set }
-
The MenuBarExtra window
Note
Needed to close the MenuBarExtra when selecting a songDeclaration
Swift
var menuBarExtraWindow: NSWindow? { get set }
-
Init the FileBrowser
Declaration
Swift
init()
-
Folder Selector
Declaration
Swift
var folderSelector: some View { get }
-
Folder Selector
See moreDeclaration
Swift
private struct FolderSelector : View
-
Get the current selected folder
Declaration
Swift
private static var folderTitle: String { get }