SongItem
struct SongItem: Identifiable, Equatable
The struct for a song item in the browser
-
The unique ID
Declaration
Swift
var id: String
-
Name of the artist
Declaration
Swift
var artist: String = "Unknown artist"
-
Title of the song
Declaration
Swift
var title: String = ""
-
The optional tags
Declaration
Swift
var tags: [String] = []
-
The searchable string
Declaration
Swift
var search: String
-
Path of the optional audio file
Declaration
Swift
var musicPath: String = ""
-
URL of the ChordPro document
Declaration
Swift
var fileURL: URL