Code:
[matrixInstance addColumnWithCells:arrayInstance];
According to the documentation that i have for NSMatrix, the above method should add the cells in the array to the matrix (and, provided the matrix is empty, it should just make enough rows for the cells in arrayInstance.
Unfortunately, when I try to run the code, it results in this error:
Code:
2004-11-30 22:33:00.611 MyApp[1946] *** Assertion failure in -[NSMatrix insertColumn:withCells:], AppKit.subproj/NSMatrix.m:1321
2004-11-30 22:33:00.620 MyApp[1946] Invalid parameter not satisfying: !newCells || ([newCells count] == _numRows)
anyone know what's going on?