• 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
ATSUI vs NSTextView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATSUI vs NSTextView?


  • Subject: ATSUI vs NSTextView?
  • From: David Masters <email@hidden>
  • Date: Tue, 28 Aug 2001 13:07:54 +0100

Hi!

I'm writing a Cocoa application that will require fine control over typography (kerning, tracking, possibly text on a curve) for relatively small amounts of text, and so far the main alternatives seem to be either to work with ATSUI directly, or utilise NSTextView and associated classes.

Example source code for ATSUI seems to be scarce (apart from Apple's TypeServicesForUnicode example) - does this imply that most people prefer not to work directly with ATSUI? From reading the documentation, it appears that NSTextView is extremely powerful, and calls ATSUI anyway. So, if I go with NSTextView and related classes such as NSAttributedString instead, are there any features or functionality from ATSUI I'll be missing out on, or any performance penalties that I might encounter?

Any advice would be greatly appreciated!

David


David Masters, Software Imagineer
email@hidden

Web: http://www.pyrusmalus.com Tel: +44 141 427 9649 Fax: +44 141 427 1740

P y r u s M a l u s | d e s i g n | d e v e l o p | d e l i v e r | c o n s u l t | t r a i n | s u p p o r t |


  • Follow-Ups:
    • Re: ATSUI vs NSTextView?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Problem with escaped string (url)
  • Next by Date: Re: Problem with escaped string (url)
  • Previous by thread: Re: Yet another stupid newbie's question
  • Next by thread: Re: ATSUI vs NSTextView?
  • Index(es):
    • Date
    • Thread