Contents

CMTimeMappingMake(source:target:)

Creates a time mapping with a source and target time range.

Declaration

func CMTimeMappingMake(source: CMTimeRange, target: CMTimeRange) -> CMTimeMapping

Parameters

  • source:

    A time range on the source timeline.

  • target:

    A time range on the target timeline.

Return Value

A new time mapping.

Discussion

The source and target parameters must have durations whose epoch is 0, otherwise the system returns an invalid time mapping.

See Also

Creating Time Mappings