FROM : Martin
DATE : Fri Apr 22 01:34:05 2005
On April 21 2005, Keith Blount <<email_removed>> 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
DATE : Fri Apr 22 01:34:05 2005
On April 21 2005, Keith Blount <<email_removed>> 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
| Related mails | Author | Date |
|---|---|---|
| Martin | Apr 22, 01:34 | |
| John Brownlow | Apr 22, 19:28 |






Cocoa mail archive

