CMTimeRangeMakeFromDictionary(_:)
Creates a time range from a dictionary representation of its fields.
Declaration
func CMTimeRangeMakeFromDictionary(_ dictionaryRepresentation: CFDictionary) -> CMTimeRangeParameters
- dictionaryRepresentation:
A dictionary from which to create the time range.
Return Value
A valid time range structure, or an invalid time range if dict doesn’t have the necessary values.
Discussion
This is useful when getting Core Media time ranges from Core Foundation container types. For keys in the dictionary, see Dictionary Keys.