Skip to content

Commit cc7dfd3

Browse files
committed
Clean up PlaylistTagParser
- address type-o in docs - remove `class` conformance and use `AnyObject`
1 parent f7d1918 commit cc7dfd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mambaSharedFramework/PlaylistTagParser.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ public struct PlaylistTagValueData {
2727
}
2828
/// The actual value
2929
let value: String
30-
/// Inidcates if the value should be quote-escaped or not
30+
/// Indicates if the value should be quote-escaped or not
3131
let quoteEscaped: Bool
3232
}
3333

3434
public typealias PlaylistTagDictionary = OrderedDictionary<String, PlaylistTagValueData>
3535

3636
/// Describes a object that parse an individual tag from a line in a HLS playlist
37-
public protocol PlaylistTagParser: class {
37+
public protocol PlaylistTagParser: AnyObject {
3838

3939
/**
4040
Parses an playlist tag from a String. (i.e. if your tag is "#EXT-GENERICTAG:<Values>", you would pass "<Values>" as your string argument)

0 commit comments

Comments
 (0)