BaseValueTag

public class BaseValueTag<T> : Tag where T : StringInitializable

A base tag that represent tags with single value.

  • tag

    The tag itself, for example: ‘#EXTM3U’

    Declaration

    Swift

    public class var tag: String { get }
  • The text string of the line (the actual original data for each line)

    Declaration

    Swift

    public let text: String
  • The tag text data - all of the text after the tag. For example: ‘#EXTINF:4.458667,’ tagDataText = ‘4.458667,’

    Declaration

    Swift

    public let tagDataText: String
  • The tag type, used to help subclass of base tags to identify the real type of the object.

    Declaration

    Swift

    public let tagType: Tag.Type
  • The value of the tag in the type provided.

    Declaration

    Swift

    public let value: T