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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]