Re: Getting an index for NSMutableAttributed string using tags in RTF

2014-04-28 Thread Martin Wierschin
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

Getting an index for NSMutableAttributed string using tags in RTF

2014-04-20 Thread Pax
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