RE: NSTextView and layout manager or cells - how to be most efficient?
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