• 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
NSMatrix/NSCell silliness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix/NSCell silliness


  • Subject: NSMatrix/NSCell silliness
  • From: Rosyna <email@hidden>
  • Date: Sun, 26 Jan 2003 01:09:10 -0700

I've got an NSMatrix with a huge number of items in it and each cell is a custom subclass of NSCell. This NSMatrix is placed within an NSScrollView. I tried using statics to speed of up the drawing of the cells but it backfired since NSMatrix is using one copy (it seems) on my subclass to fill all the cells. The only way to tell which cell is which is to call -NSMatrix getRow:column:ofCell: from inside the cell's drawing routing. But this is painfully slow and makes scrolling unbearable.

Is there any way to speed up NSMatrix? Note that there are about 64000 cells and the speed is very nice without the call to getRow:column:ofCell: but it's always drawing the same thing!
--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
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: NSMatrix/NSCell silliness
      • From: Timothy Ritchey <email@hidden>
  • Prev by Date: Re: Localizable.strings German Problem
  • Next by Date: Re: cascading sheets and HIG
  • Previous by thread: getting key codes
  • Next by thread: Re: NSMatrix/NSCell silliness
  • Index(es):
    • Date
    • Thread