Re: Lightweight view & NSTextInput
Re: Lightweight view & NSTextInput
- Subject: Re: Lightweight view & NSTextInput
- From: Erik Buck <email@hidden>
- Date: Wed, 18 Jan 2006 07:44:45 -0800 (PST)
The lightweight view you are describing already exists. It is called NSCell.
Arranging rectangular area is a very low overhead operation. Formatted text layout and drawing intrinsically high overhead, and Apple has already done about everything that can be done (certainly more than a small app can do) to make it snappy.
Look at the Sketch sample code on your hard disk.
Look at/for various text layout, pagination, and text container samples on your hard disk and on Apple's site.
I don't know what your app needs to do, but your description of resizable rectangular text input/layout areas seems well within the capabilities and performance of the existing frameworks.
_______________________________________________
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