• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Help with NSTextView & RTFD files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: setting color of a progress indicator?
  • Next by Date: Re: RegEx in cocoa, and where to dl PB+IB?
  • Previous by thread: Re: setting color of a progress indicator?
  • Next by thread: Dimming controls when window inactive?
  • Index(es):
    • Date
    • Thread