---
title: "timecodeGenerator(_:didReceiveUpdate:from:)"
framework: AVFoundation
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 26.0+]
path: "avfoundation/avcapturetimecodegeneratordelegate/timecodegenerator(_:didreceiveupdate:from:)"
---

# timecodeGenerator(_:didReceiveUpdate:from:)

Notifies the delegate when new, unaligned timecodes are parsed from the specified source.

## Declaration

```swift
func timecodeGenerator(_ generator: AVCaptureTimecodeGenerator, didReceiveUpdate timecode: AVCaptureTimecode, from source: AVCaptureTimecode.Source)
```

## Parameters

- `generator`: The timecode generator providing the update.
- `timecode`: The updated timecode data.
- `source`: The source from which the timecode was received.

## See Also

### Responding to timecode events

- [timecodeGenerator(_:didUpdateAvailableSources:)](avfoundation/avcapturetimecodegeneratordelegate/timecodegenerator(_:didupdateavailablesources:).md)
- [timecodeGenerator(_:transitionedTo:for:)](avfoundation/avcapturetimecodegeneratordelegate/timecodegenerator(_:transitionedto:for:).md)
- [AVCaptureTimecodeGenerator.SynchronizationStatus](avfoundation/avcapturetimecodegenerator/synchronizationstatus.md)
