NSButtonCell* buttonCell = [[NSButtonCell alloc] init]; [buttonCell setTitle:@"asdf"]; NSLog(@"%@", [protoCell stringValue]); NSMatrix* myMatrix = [[NSMatrix alloc] initWithFrame:[self bounds] mode:0 prototype:buttonCell numberOfRows:10 numberOfColumns:10];