Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
- Subject: Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
- From: Cameron Hayne <email@hidden>
- Date: Fri, 6 Sep 2002 14:26:52 -0400
On Friday, September 6, 2002, at 06:21 am, ivan subotic wrote:
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
It sounds like your arrays are not the right size for the matrix.
How did you init the matrix?
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.