I'm working through a tutorial in conjunction with Apple documentation and I'm attempting to change the voiceName of the NSSpeechSynthesizer however its init function says it accepts a string but I'm not sure of how to look up in the documentation to find the acceptable strings in order to change the voice. Apple NSSpeechSynthesizer Initialization Documentation
You should get available names in system
class var availableVoices: [NSSpeechSynthesizer.VoiceName] { get }
From Here and pass any of them