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