Help with NSTextView & RTFD files
Help with NSTextView & RTFD files
- Subject: Help with NSTextView & RTFD files
- From: Jason Moore <email@hidden>
- Date: Sat, 27 Apr 2002 23:58:28 -0500
hello everyone! i can not for the life of me get this to work. maybe
i've been staring at my laptop too long. can someone point me in the
right direction?
i have an NSTextView i want to load a help file into (one that is saved
in the bundle as a rtfd file). here are the lines i'm using...
NSBundle *thisBundle = [NSBundle bundleForClass:[self class]];
if (![HelpTextView readRTFDFromFile:[thisBundle
pathForResource:@"HelpFile" ofType:@"rtfd"]])
NSLog(@"error opening help file");
the text view loads the text part of the RTFD file, but the JPEG files
don't get loaded (the line 'Improper call to JPEG library in state 201'
appears in Console).
any ideas?
thanks for the help!
Jason
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.