Closed vpdn closed 7 years ago
SRGMedia
(and in general all SRGDataProvider classes) inherit from Mantle MTLModel
model class and thus can be printed for debugging purposes. Printing an object works recursively.
The SRGMediaURN
class (which is not an MTLModel
subclass) already implements the -description
method, which is called by -debugDescription
when not implemented specifically.
Do you need smarter indentation when printing an object? (e.g., the show
property of a media is inlined as is with verbatim \n
as separator)
Cloned as https://github.com/SRGSSR/srgdataprovider-ios/issues/4 since related to the data provider library. Closed for Letterbox.
Would be nice if debugDescription() would be implemented for SRGMedia and SRGMediaURN (recursively) so it's easy to dump the content in the debugger. Makes checking out all available metadata of the playing video much easier.
Issue overview