NSMatrix programatic creation question
NSMatrix programatic creation question
- Subject: NSMatrix programatic creation question
- From: terry <email@hidden>
- Date: Fri, 9 Aug 2002 20:46:33 -0600
I'm attempting to figure out how to create an NSMatrix programatically.
I think I want to use the following message to create it:
- initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:
This is what I have, but it must be incorrect, because I get errors:
startMatrix = [NSMatrix initWithFrame: aFrame mode: NSTrackModeMatrix
cellClass: [NSTextField class] numberOfRows: 2 numberOfColumns: 2];
startMatrix is an NSMatrix *
aFrame is a Frame ;)
Here are the runtime errors I get:
2002-08-09 20:45:08.218 CokeAIMM[1240] *** +[NSMatrix
initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:]: selector
not recognized
2002-08-09 20:45:08.219 CokeAIMM[1240] *** +[NSMatrix
initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:]: selector
not recognized
Could someone possibly help shed some light on what I'm doing wrong?
Thanks,
Back to the documentation...
- Terry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.