I\'ve setup an NSTextField with text color as white, and the background color as (black despite not rendering the background color, so its transparent). All in
NSTextField
Swift 4 Solution
override func viewDidAppear() { super.viewDidAppear() guard let window = _textField.window, let fieldEditor = window.fieldEditor(true, for: _textField) as? NSTextView else { return } fieldEditor.insertionPointColor = .white }