Available in OS X v10.6 and later.
NSSoundDelegate protocol defines the optional methods implemented by delegates of
This delegate method is called when an
NSSoundinstance has completed playback of its sound data.
optional func sound(_
sound: NSSound, didFinishPlaying
- (void)sound:(NSSound *)
NSSoundthat has completed playback of its sound data.
truewhen playback was successful;
Available in OS X v10.0 and later.
Available as part of an informal protocol prior to OS X v10.6.