canInit(with:)
Indicates whether the receiver can create an instance of itself from the data in a pasteboard.
Declaration
class func canInit(with pasteboard: NSPasteboard) -> BoolParameters
- pasteboard:
Pasteboard containing sound data.
Return Value
true when the receiver can handle the data represented by pasteboard; false otherwise.
Discussion
The NSSound method is used to find out whether the class can handle the data in pasteboard.
See Also
Related Documentation
- Sound Programming Topics for Cocoa