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) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -