Skip navigation.
 
mlRe: Copying NSTextStorage
FROM : Kyle Sluder
DATE : Fri May 30 22:16:26 2008

On Fri, May 30, 2008 at 11:13 AM, Gordon Apple <<email_removed>> 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

Related mailsAuthorDate
mlCopying NSTextStorage Gordon Apple May 29, 20:03
mlRe: Copying NSTextStorage Jens Alfke May 30, 06:53
mlRe: Copying NSTextStorage Gordon Apple May 30, 17:13
mlRe: Copying NSTextStorage Kyle Sluder May 30, 22:16
mlRe: Copying NSTextStorage Gordon Apple Jun 1, 01:49
mlRe: Copying NSTextStorage Ross Carter Jun 1, 17:59
mlRe: Copying NSTextStorage Gordon Apple Jun 3, 17:15
mlRe: Copying NSTextStorage Kyle Sluder Jun 3, 18:51
mlRe: Copying NSTextStorage Ross Carter Jun 3, 20:19
mlRe: Copying NSTextStorage Kyle Sluder Jun 3, 22:21
mlRe: Copying NSTextStorage Alastair Houghton Jun 4, 00:09
mlRe: Copying NSTextStorage Sherm Pendley Jun 4, 10:14