Function

CMTimeRangeEqual(_:_:)

Returns a Boolean value that indicates whether two CMTimeRanges are identical.

Declaration

func CMTimeRangeEqual(_ range1: CMTimeRange, _ range2: CMTimeRange) -> Bool

Parameters

range1

CMTimeRange to be compared for equality.

range2

Another CMTimeRange to be compared for equality.

Return Value

Returns true if the two time ranges are identical, false if they differ.

Discussion

This function returns a Boolean value that indicates whether the time ranges specified by the range1 and range2 parameters are identical.

See Also

Comparing Time Ranges

func CMTimeRangeContainsTime(CMTimeRange, time: CMTime) -> Bool

Indicates whether a time is contained within a time range.

func CMTimeRangeContainsTimeRange(CMTimeRange, otherRange: CMTimeRange) -> Bool

Returns a Boolean that indicates whether a given time range is contained within another time range.