Contents

clearContents()

Clears the existing contents of the pasteboard.

Declaration

func clearContents() -> Int

Return Value

The change count of the receiver.

Discussion

Clears the existing contents of the pasteboard, preparing it for new contents. This is the first step in providing data on the pasteboard.

See Also

Writing data