NSAttributedString won't load images from RTF, but it will load images from an
RTFD package. Very likely it would not understand images specified using the
ugly htmltag RTF control. You'll probably need to use the proprietary
NeXTGraphic RTF control instead.
You can save an RTFD package with
I have an NSTextView which is being populated using RTF:
if ([self getContent:@RTF]useformatting)
{
[attributedContent appendAttributedString:[[NSAttributedString alloc]
initWithRTF:[self getContent:@RTF] documentAttributes:NULL]];
}
This works beautifully except that the