I want to draw a custom focus ring for my NSTextView subclass (which doesn\'t have a focus ring by default). I managed to implement it by overriding the parent NSScrollView drawRect and adding this co
I\'m trying to get this blue border (which is around a NSTextFieldCell when you can edit the value) out of the way. Is there a way manage this somehow? At the same time the user should still be able t
I have a NSTextField in my window (added wit开发者_如何学Pythonh IB) with a hidden title bar but when I click on it when the app is running, it does not respond or place a cursor in its field. Is ther
When clicking on a button, I\'d like to display a sheet with an email+password prompt with options to save and cancel. The UI is all set up, the actions are in place, and the sheet appears and cancels
I\'m programming a cocoa app that presents text (vertically and horizontally) centered on a projector screen.
I have a NSSlider which updates the content of an NSTextField. So far so good. It works as long as the NSTextField isn\'t focused or gets edited by the user (typing or staying blank etc.).
Is it possible to strikethrough the text in a label (NSTextField)? I have tried t开发者_开发百科o use the Font Panel, but apparently these are ignored when I try to set them:
so here is the deal: I have a label (NSTextField) that I want to activate after I click a button. This label will appear while the program is loadi开发者_运维问答ng some wavs (since it usually makes
I want my text to fit within a specific rect, so I need something to determine a font size.Questions have already tackled this to an extent, but they do a search, which seems horribly inefficient, esp
I have an application, which open popover with NSTextField. The text field is not editable. Behavior for text field is set to Editable. I still can开发者_如何转开发 paste and copy text to this field b