objective c - Programmatically defining NSSegmentedCell -
I am a little stumped that the NSSegmentedControl created as a program is sub- Class instances if NSSegmentedCell . Using a subclasses NSSegmentedCell on a NSSegmentedControl created using IBC using
is as simple as:
< Ol> NSSegmentedControl to NSView NSSegmentedCell myCustomCell ) employed.
> However, when programming as the following simple example, as NSSegmentedControl , I do not think how the cell is sub-class ...
NSSegmentedControl is not a method to define classes to use for its square class example.
As usual, any
Update
Trying to implement [mySegmentControl setCellClass: [myCustomCell class] but that's not working. I was thinking that maybe this other appetite not The ability to set up a cell class such as machinery is inherited. - (
This should be possible ... anyway ...
<
Comments
Post a Comment