-
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
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How can I change the color of a cell in my NSTableView?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Guys:
I have problem with using dequeueReusableCellWithIdentifier method. Whenever I use this one, one cell would display its own value and value that does not belong to it. This first and second images show the problem, while the third image shows the proper data.The problem seems to be caused…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm working on a Core Data document application that dynamically creates NSTableColumns. The data cell type may be a checkbox, slider, etc. Programmatically binding to all cell types works, except for NSTextFieldCell.
All NSTextFieldCells fail to bind, and after editing they return to their default…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello All,
I have a NSTableView with around 70 - 80 rows, each row contain a checkbox, title text and a drop down menu to select data. The problem i am facing is that when i scroll the table it does not scroll smooth. When i remove the NSComboBoxCell it works ok.
Here is the code i used to add NSComboBoxCell…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a small NSTableView with a checkbox. Whenever the checkbox is not checked, I want one of the adjacent NSCells to be grayed out and inaccessible.
However, I can't figure out how to address only one specific cell. -dataCellForRow of NSTableColumn always changes the template cell for the whole…
>>> More