Something
public text v1 · immutable NSButtonCell* buttonCell = [[NSButtonCell alloc] init];
[buttonCell setTitle:@"asdf"];
NSMatrix* myMatrix = [[NSMatrix alloc] initWithFrame:[self bounds]
mode:0
prototype:buttonCell
numberOfRows:10
numberOfColumns:10];