importsGraphics
A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to import files by dragging.
Declaration
var importsGraphics: Bool { get set }Discussion
true to allow the user to import files by dragging onto the text views sharing the receiver’s layout manager, false otherwise.
Text views that are set to accept dragged files are also set to allow rich text. By default, text views don’t accept dragged files but do allow rich text.
See Also
Related Documentation
Setting behavioral attributes
allowsUndoisEditableisSelectableisFieldEditorisRichTextsetBaseWritingDirection(_:range:)defaultParagraphStyleoutline(_:)allowsImageEditingisAutomaticQuoteSubstitutionEnabledtoggleAutomaticQuoteSubstitution(_:)isAutomaticLinkDetectionEnabledtoggleAutomaticLinkDetection(_:)displaysLinkToolTipsisAutomaticTextCompletionEnabled