Re: NSTableView
Re: NSTableView
- Subject: Re: NSTableView
- From: Corbin Dunn <email@hidden>
- Date: Wed, 14 Jan 2009 09:50:38 -0800
On Jan 14, 2009, at 9:41 AM, David Blanton wrote:
I understand what you are saying but it seems to me that if I could
preserve content during live resize all would be well.
My table view subclass implements preservesContentDuringLiveResize
but it is not called. Is preservesContentDuringLiveResize a valid
method for a table view subclass?
Yes, it is a valid method, but there are many caveats to having it
work with NSTableView, due to the way things autoresize.
As I said before, you should really Shark/Sample your program first.
corbin
On Jan 14, 2009, at 10:21 AM, Corbin Dunn wrote:
On Jan 14, 2009, at 9:14 AM, David Blanton wrote:
I thought I had this solved but I need help.
Looking at iTunes with 130 songs the table scrolls quick and
resizing the window is snappy.
When I resize a window or split view containing a table of 30 rows
or scroll the table it is slooooow.
I have read Cocoa Performance Guidelines. I cannot get a call to
preservesContentDuringLiveResize for my table view.
So, how can I make my users happy with a snappy table view during
resize operations?
For any performance problem, I highly recommend finding out what is
slow. Use Shark to sample your program and find out what it is.
Then post the relevant information to the list saying "why is X
slow"? There isn't much that people can recommend until then.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden