prepareForNewContents(with:)
Prepares the pasteboard to receive new contents, removing the existing pasteboard contents.
Declaration
func prepareForNewContents(with options: NSPasteboard.ContentsOptions = []) -> IntPrepares the pasteboard to receive new contents, removing the existing pasteboard contents.
func prepareForNewContents(with options: NSPasteboard.ContentsOptions = []) -> Int