• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >problems filling the NSMatrix with NSImageCells in a NSMutableArray (From: ivan subotic <email@hidden>)

  • Prev by Date: Re: cString deprecated!
  • Next by Date: glueing together what jaguar broke
  • Previous by thread: problems filling the NSMatrix with NSImageCells in a NSMutableArray
  • Next by thread: RE: problems filling the NSMatrix with NSImageCells in a NSMutableArray
  • Index(es):
    • Date
    • Thread