Tag

public protocol Tag: PlaylistLine

Tag protocol represents a tag line in the playlist

  • tag

    The tag itself, for example: ‘#EXTM3U’

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    var tagType: Tag.Type
  • toText(replacingTagValueWith:) Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func toText(replacingTagValueWith newValue: String) -> String