Re: NSMatrix/NSCell silliness
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.