I would use NSTextAttachment, create an attributed string from it, and combine 
your three attributed strings into one.
--
Gary L. Wade
http://www.garywade.com/ <http://www.garywade.com/>
> On Feb 18, 2017, at 2:16 PM, Daryle Walker <[email protected]> wrote:
> 
> An idea for formatted output of my data is the two sections turned into 
> attributed strings, with a line between them. But I couldn’t figure out how 
> to make a line. I didn’t want to resort to raw drawing commands. I prefer not 
> to create (X)HTML representations (so I could put a “<hr>” in between). 
> Poking around NSAttributedString, there seems to be a NSTextBlock that could 
> do it. Any advice on how?
> 
> — 
> Daryle Walker
> Mac, Internet, and Video Game Junkie
> darylew AT mac DOT com

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to