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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -