SongItem
struct SongItem : Identifiable
The struct for a song item in the browser
-
The unique ID
Declaration
Swift
var id: String { get }
-
Name of the artist
Declaration
Swift
var artist: String
-
Title of the song
Declaration
Swift
var title: String
-
The searchable string
Declaration
Swift
var search: String { get }
-
Path of the optional audio file
Declaration
Swift
var musicPath: String
-
URL of the ChordPro document
Declaration
Swift
var fileURL: URL