• 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: NSTextView and layout manager or cells - how to be most efficient?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSTextView and layout manager or cells - how to be most efficient?


  • Subject: RE: NSTextView and layout manager or cells - how to be most efficient?
  • From: "Martin" <email@hidden>
  • Date: Thu, 21 Apr 2005 16:34:05 -0700

On April 21 2005, Keith Blount <email@hidden> wrote:

>I am convinced that getting the note objects to be able to
>draw themselves is the best route rather than using
>cells, but that means trying to get my
>sizeWithWidth:attributes: method, below, to work
>faster, as this has to be called on every note object
>when the view is loaded.


Have you considered having each of your note objects maintain their own layout manager and text storage? This would not do much to reduce the time required for the initial load, but subsequent layout cycles (and drawing) will be faster.

~Martin


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTextView and layout manager or cells - how to be most efficient?
      • From: John Brownlow <email@hidden>
  • Prev by Date: matching single key/value pair to dictionary
  • Next by Date: Re: Category or Protocol? (sidetrack)
  • Previous by thread: Re: matching single key/value pair to dictionary
  • Next by thread: Re: NSTextView and layout manager or cells - how to be most efficient?
  • Index(es):
    • Date
    • Thread