Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSImageMBS class.

NSImageMBS.canInitWithPasteboard as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Drawing MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
Tests whether the receiver can create an instance of itself using pasteboard data.

This method uses the NSImageRep class method imageUnfilteredPasteboardTypes to find a class that can handle the data in the specified pasteboard. If you create your own NSImageRep subclasses, override the imageUnfilteredPasteboardTypes method to notify NSImage of the pasteboard types your class supports.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...