---
title: sourceTimeRanges
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassetwriterinputpassdescription/sourcetimeranges
---

# sourceTimeRanges

An array of time ranges.

## Declaration

```swift
var sourceTimeRanges: [NSValue] { get }
```

## Discussion

Discussion Each element in the array is an NSValue object that wraps a CMTimeRange structure that represents one source time range. The value of this property is suitable to pass to the reset(forReadingTimeRanges:) method of AVAssetReaderOutput.
