• 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: Copying NSTextStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copying NSTextStorage


  • Subject: Re: Copying NSTextStorage
  • From: "Kyle Sluder" <email@hidden>
  • Date: Fri, 30 May 2008 16:16:26 -0400

On Fri, May 30, 2008 at 11:13 AM, Gordon Apple <email@hidden> wrote:
>    Why NSTextStorage?  Because that is what Sketch uses, and I lifted as
> much code from there as I could, although I use my own Bezier text container
> when rendering it.  The floating NSTextView uses it directly.  I suppose I
> could change it to store NSMutableAttributedString and create the
> NSTextStorage on-the-fly when rendering (and for the floating edit view).

IIRC, NSTextStorage is actually just a front for a private subclass of
NSMutableAttributedString.  For all I know they could actually be the
same thing -- certainly wouldn't surprise me.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Copying NSTextStorage (From: Jens Alfke <email@hidden>)
 >Re: Copying NSTextStorage (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Ending Editing when Doc Saves?
  • Next by Date: Re: drawer attached to modal window is unresponsive
  • Previous by thread: Re: Copying NSTextStorage
  • Next by thread: Re: Copying NSTextStorage
  • Index(es):
    • Date
    • Thread