NSTextView

extension NSTextView
  • UIGraphicsGetCurrentContext() From Chord_Provider

    macOS version of the UIGraphicsGetCurrentContext function from iOS

    Declaration

    Swift

    func UIGraphicsGetCurrentContext() -> CGContext?

    Return Value

    An optional Quartz 2D drawing environment

  • selectedText From Chord_Provider

    Get the selected text from the NSTextView

    Note

    This needs a String extension

    Declaration

    Swift

    var selectedText: String { get }