BaseValueTag
public class BaseValueTag<T: StringInitializable>: Tag
A base tag that represent tags with single value.
-
The tag itself, for example: ‘#EXTM3U’
Declaration
Swift
public class var tag: String
-
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
-
Undocumented
Declaration
Swift
public required init(text: String, tagType: Tag.Type, extraParams: [String: Any]?) throws