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

Re: NSMatrix/NSCell silliness


  • Subject: Re: NSMatrix/NSCell silliness
  • From: Timothy Ritchey <email@hidden>
  • Date: Sun, 26 Jan 2003 11:22:44 -0500

Approximately how many cells are visible at any point in time?

Are you sending the ClipView a setCopiesOnScroll:YES message?


On Sunday, January 26, 2003, at 03:09 AM, Rosyna wrote:

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.
_______________________________________________
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: Rosyna <email@hidden>
References: 
 >NSMatrix/NSCell silliness (From: Rosyna <email@hidden>)

  • Prev by Date: Re: SQL support
  • Next by Date: Re: SQL support
  • Previous by thread: NSMatrix/NSCell silliness
  • Next by thread: Re: NSMatrix/NSCell silliness
  • Index(es):
    • Date
    • Thread