problems filling the NSMatrix with NSImageCells in a NSMutableArray
problems filling the NSMatrix with NSImageCells in a NSMutableArray
- Subject: problems filling the NSMatrix with NSImageCells in a NSMutableArray
- From: ivan subotic <email@hidden>
- Date: Fri, 06 Sep 2002 12:21:44 +0200
Hi cocoa dev gurus,
I have a Problem when I try to fill a Matrix with an Array. I'm trying the following:
...
[myMatrix addRowWithCells:myArray];
...
The Cells in the myArray are NSImageCells. I'm allways geting the following
error:
*** Assertion failure in -[NSMatrix insertRow:withCells:], AppKit.subproj/
NSMatrix.m:1196
Invalid parameter not satisfying: !newCells || ([newCells count] == _numCols)
Dose anybody have an idea what could be wrong, or maybe a working example
would also help a lot.
Thanx,
Ivan
_______________________________________________
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.