NSLayoutManager subclass - change the bounds of an attributed string

2014-03-23 Thread Alex Kac
I’m learning here as I go using TextKit on iOS (and soon for OS X). I’ve created an attributed name for an NSAttributedString that essentially i want drawn as a background rounded rect for the text in the attributed string. To do this I’ve subclasses NSLayoutManager and used that for

Re: NSLayoutManager subclass - change the bounds of an attributed string

2014-03-23 Thread Alex Kac
So I tried this…and didn’t do anything. On Mar 23, 2014, at 12:15 AM, Alex Kac a...@webis.net wrote: My best guess is - (CGRect)boundingRectForGlyphRange:(NSRange)glyphRange inTextContainer:(NSTextContainer *)container; ___ Cocoa-dev mailing