sound(_:didFinishPlaying:)
This delegate method is called when an NSSound instance has completed playback of its sound data.
Declaration
@MainActor optional func sound(_ sound: NSSound, didFinishPlaying flag: Bool)Parameters
See Also
Related Documentation
- Sound Programming Topics for Cocoa