• 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: Lightweight view & NSTextInput
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Implementing custom accessors in core data
  • Next by Date: NSAttributedString - determine document type without loading?
  • Previous by thread: Lightweight view & NSTextInput
  • Next by thread: NSAttributedString - determine document type without loading?
  • Index(es):
    • Date
    • Thread