<!--
{
  "availability" : [
    "macOS: 10.3.0 - 14.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpeechSynthesizerDelegate/speechSynthesizer(_:didFinishSpeaking:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSSpeechSynthesizerDelegate(im)speechSynthesizer:didFinishSpeaking:"
  },
  "title" : "speechSynthesizer(_:didFinishSpeaking:)"
}
-->

# speechSynthesizer(_:didFinishSpeaking:)

Sent when an [`NSSpeechSynthesizer`](/documentation/AppKit/NSSpeechSynthesizer) object finishes speaking through the sound output device.

```
@MainActor optional func speechSynthesizer(_ sender: NSSpeechSynthesizer, didFinishSpeaking finishedSpeaking: Bool)
```

## Parameters

`sender`

An [`NSSpeechSynthesizer`](/documentation/AppKit/NSSpeechSynthesizer) object that has stopped speaking into the sound output device.

`finishedSpeaking`

<doc://com.apple.documentation/documentation/Swift/true> when speaking completed normally, <doc://com.apple.documentation/documentation/Swift/false> if speaking is stopped prematurely for any reason.

## See Also

[`func startSpeaking(String) -> Bool`](/documentation/AppKit/NSSpeechSynthesizer/startSpeaking(_:))

Begins speaking synthesized text through the system’s default sound output device.

[`func stopSpeaking()`](/documentation/AppKit/NSSpeechSynthesizer/stopSpeaking())

Stops synthesis in progress.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)