BaseTag

public class BaseTag : Tag

BaseTag represents a base tag that holds minimal tag info.

  • 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