objective c - How do you make a Text Label display how many rows there are in the table -
I am using core data and want a text label to show how many rows in the table, let me know Would code need to do so to enter the class file?
Below is a NSArrayController for your NSTableView column, you have the value of the NSTextField label as your array With controller, the controller key can be tied with "systematic objects" and with the main path of @count . If you want to pair the text area to do something like "x rows" where x is the number of rows, then tie the "display pattern value 1" to the same (systematic objects @ count) and "% {value1} @ Use rows as "display pattern."
Comments
Post a Comment