Skip to content

Commit

Permalink
Clean up PlaylistTagParser
Browse files Browse the repository at this point in the history
- address type-o in docs
- remove `class` conformance and use `AnyObject`
  • Loading branch information
rmigneco committed Nov 1, 2024
1 parent f7d1918 commit cc7dfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mambaSharedFramework/PlaylistTagParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ public struct PlaylistTagValueData {
}
/// The actual value
let value: String
/// Inidcates if the value should be quote-escaped or not
/// Indicates if the value should be quote-escaped or not
let quoteEscaped: Bool
}

public typealias PlaylistTagDictionary = OrderedDictionary<String, PlaylistTagValueData>

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

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

0 comments on commit cc7dfd3

Please sign in to comment.