1

I'm having trouble finding information about custom controls and cells.

My control should have multiple NSCells, which is why I can't use the default NSControl.
The Cell is being displayed correctly.
However, they are NSButtonCells, and should respond to a mouse down.

This is what I've tried:

- (void)mouseDown:(NSEvent *)theEvent {
    [self.testCell trackMouse:theEvent inRect:[self frameForTestCell] ofView:self untilMouseUp:NO];
}

I have no idea if this is the right approach, but I didn't find some proper resources...

IluTov
  • 6,807
  • 6
  • 41
  • 103

0 Answers0