Re: NSMatrix programatic creation question
Re: NSMatrix programatic creation question
- Subject: Re: NSMatrix programatic creation question
- From: Julien Jalon <email@hidden>
- Date: Sat, 10 Aug 2002 05:08:34 +0200
Le samedi 10 ao{t 2002, ` 04:46 , terry a icrit :
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.
--
Julien Jalon
<
http://software.julien-jalon.org/>
<
http://nuxeo.com/>
_______________________________________________
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.