osx - XCode: access Segmented Control on TableView -


I have a TableView with 2 columns. Seganded control buttons in the second column are two segments. What I want to do is modify the "enabled" property of the button for each row before the table is first displayed. I searched and failed to find the right solution How can I get access to the Segmented Control for each line?

Use representative method (NSTableColumn *) aTableColumn Row: (NSInteger) rowIndex {if ((cell KindOfClass: [NSSegmentedCell class] <;> - (zero) Table view: (NSTableView *) aTableView willDisplayCell:]]] {If (1) // Add your position {{(NSSigaded cell * ) Cell set enabled: no]; }}}

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -