acceptableDragTypes
The data types that the receiver accepts as the destination view of a dragging operation.
Declaration
var acceptableDragTypes: [NSPasteboard.PasteboardType] { get }Discussion
These types are automatically registered as necessary by the text view. Subclasses should override this value as necessary to add their own types to those returned by NSTextView‘s implementation. They must then also override the appropriate methods of the NSDraggingDestination protocol to support import of those types. See that protocol’s specification for more information.
See Also
Customizing subclass behaviors
updateFontPanel()updateRuler()updateDragTypeRegistration()selectionRange(forProposedRange:granularity:)rangeForUserCharacterAttributeChangerangesForUserCharacterAttributeChangerangeForUserParagraphAttributeChangerangesForUserParagraphAttributeChangerangeForUserTextChangerangesForUserTextChangeshouldChangeText(in:replacementString:)shouldChangeText(inRanges:replacementStrings:)didChangeText()smartInsertDeleteEnabledsmartDeleteRange(forProposedRange:)