ID3FrameGenre

public class ID3FrameGenre : ID3Frame, Equatable, CustomDebugStringConvertible

A class used to represent an ID3 genre frame 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?
  • ID3FrameGenre description, useful for debug.

    Declaration

    Swift

    public var debugDescription: String { get }
  • Init a ID3 genre frame.

    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: ID3FrameGenre, rhs: ID3FrameGenre) -> 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.