Re: If someone could inspect this code and explain to me what am I doing wrong ?
Re: If someone could inspect this code and explain to me what am I doing wrong ?
- Subject: Re: If someone could inspect this code and explain to me what am I doing wrong ?
- From: Quincey Morris <email@hidden>
- Date: Fri, 18 Sep 2009 10:54:15 -0700
On Sep 18, 2009, at 07:52, Mario Kušnjer wrote:
This code is attempt of implementing a Leopard style source list
using a NSOutlineView.
Code provided below works but as seen from the console output of
NSLog's it displays come cell's number of times which probably means
that my implementation of some methods is fault in some part. Also
execution is noticeable slow.
It's not clear what you think is wrong.
Data source methods may be called (in general) any number of times at
any time. If you think the NSLog output shows something wrong, post an
example here.
There's really nothing in your data source code that should be making
things slow. If that's an ongoing problem, you should try to narrow
down what part of the code is slow. (Performance tools like
Instruments may help, but I suspect your application is in too early a
phase of development for them to help much. It's probably easier just
to try commenting out sections of code to see if things speed up.)
_______________________________________________
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