EditorContentView

public protocol EditorContentView : Focusable

Describes a view contained in Attachment that contains a single EditorView. This is a helper protocol that can be applied to the view so that basic properties and functions are made available on the view as passthrough.

  • Undocumented

    Declaration

    Swift

    var editor: EditorView { get }
  • attributedText Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var attributedText: NSAttributedString { get set }
  • maxHeight Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var maxHeight: EditorHeight { get set }
  • boundsObserver Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var boundsObserver: BoundsObserving? { get set }
  • delegate Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    var delegate: EditorViewDelegate? { get set }
  • becomeFirstResponder() Default implementation

    Undocumented

    Default Implementation

    Undocumented

    Declaration

    Swift

    func becomeFirstResponder() -> Bool
  • setFocus() Extension method

    Undocumented

    Declaration

    Swift

    func setFocus()