Genre
public struct Genre : Equatable
A struct used to represent a genre to be used in the ID3 tag.
-
The genre identifier specified as an ID3 v1 Genre (see ID3Genre).
Declaration
Swift
public var identifier: ID3Genre?
-
A generic genre description. Useful to build your own genres.
Declaration
Swift
public var description: String?
-
Init a genre.as
Declaration
Swift
public init(genre: ID3Genre?, description: String?)
Parameters
genre
an ID3Genre to be setted in the ID3 tag.
description
a generic genre description. Useful to build your own genres.
-
Compare two Genre.
Declaration
Swift
public static func == (lhs: Genre, rhs: Genre) -> Bool
Parameters
lhs
left side of compare operation.
rhs
right side of compare operation.
Return Value
true if the genre values are the same, else false.