• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: If someone could inspect this code and explain to me what am I doing wrong ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: If someone could inspect this code and explain to me what am I doing wrong ?
      • From: Mario Kušnjer <email@hidden>
References: 
 >If someone could inspect this code and explain to me what am I doing wrong ? (From: Mario Kušnjer <email@hidden>)

  • Prev by Date: Re: Printing with Snow Leopard
  • Next by Date: Re: Populating TableView Via Button.
  • Previous by thread: If someone could inspect this code and explain to me what am I doing wrong ?
  • Next by thread: Re: If someone could inspect this code and explain to me what am I doing wrong ?
  • Index(es):
    • Date
    • Thread