Function

CMTimeMappingCopyAsDictionary(_:allocator:)

Returns a CFDictionary version of a CMTimeMapping.

Declaration

func CMTimeMappingCopyAsDictionary(_ mapping: CMTimeMapping, allocator: CFAllocator?) -> CFDictionary?

Parameters

mapping

The CMTimeMapping from which to create a dictionary.

allocator

CFAllocator with which to create a dictionary. Pass kCFAllocatorDefault to use the default allocator.

Return Value

A CFDictionary version of the CMTimeMapping.

Discussion

This is useful when putting a CMTimeMapping in CF container types.

See Also

Performing Utility Operations

func CMTimeMappingCopyDescription(allocator: CFAllocator?, mapping: CMTimeMapping) -> CFString?

Creates a CFString with a description of a CMTimeMapping (just like CFCopyDescription).

func CMTimeMappingShow(CMTimeMapping)

Prints a description of a CMTimeMapping (just like CFShow).