I've a NSView with a editable NSTextField
and multiple other subviews like NSView, NSSlider, NSImage etc.
- After I've entered my text into the editable NSTextField and click on any of the other views, move the slider etc. I would like my NSTextField to lose focus. I've tried calling the
resignFirstResponder
, but that does not seems to work. How can I do this? - When I mark the text inside my NSTextField a blue background behind the text is shown. How can I change the color is this?