Overriding HTML translation in NSAttributedString
Overriding HTML translation in NSAttributedString
- Subject: Overriding HTML translation in NSAttributedString
- From: Glen Simmons <email@hidden>
- Date: Fri, 11 Nov 2005 16:01:36 -0600
I'm using NSAttributedString to get some XHTML into an NSTextView.
It's working well, but I need to tweak one thing. The XHTML has some
tags like this:
<img src="foo://bar.png" ...
The "foo:" scheme tells me that the image is actually part of my
internal data, not a file on disk. I'd like to step in at the point
when NSAttributedString is translating this into an NSTextAttachment
and supply the image, rather than getting the little blue square with
question mark. Is there a good way to do this?
Thanks,
Glen Simmons
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden