-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an NSTableView which has its first column set to contain a custom NSTextFieldCell. My custom NSTextFieldCell needs to allow the user to edit a "desc" property within my Managed Object but to also display an "info" string that it contains (which is not editable). To achieve this, I followed…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an NSTableView which has its first column set to contain a custom NSTextFieldCell. My custom NSTextFieldCell needs to allow the user to edit a "desc" property within my Managed Object but to also display an "info" string that it contains (which is not editable). To achieve this, I followed…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a custom nstextfieldcell.
I thought I could drag a textfield to a xib and click on it's cell, then change the cell's class to my custom class.That doesn't work.
Also, I thought I could drag the custom cell from the library (i made a plugin) over the textfield and it would set the new cell…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Whenever a user would type a number, my app would automatically prepend a currency sign before that number. For example, when the user types "1" in a text field, the text inside it becomes "$1.00". All is good when I use an NSNumberFormatter, an NSTextField, and its delegate method control:didFailToFormatString:errorDescription:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In Cocoa, I have an NSOutlineView where the cells are NSTextFieldCell. The cell displays values which are strings that are formatted according to certain rules (such as floats or pairs of floats with a space in between). I have made a custom NSFormatter to validate the text, and this seems to work…
>>> More