• 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
problems filling the NSMatrix with NSImageCells in a NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: NSTextField setFloatValue broken?
  • Next by Date: Re: NSTextField setFloatValue broken?
  • Previous by thread: Re: NSTextField setFloatValue broken?
  • Next by thread: Re: problems filling the NSMatrix with NSImageCells in a NSMutableArray
  • Index(es):
    • Date
    • Thread