• 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
[SOLVED] How do I read RTFD files into a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] How do I read RTFD files into a view?


  • Subject: [SOLVED] How do I read RTFD files into a view?
  • From: "Alan Smith" <email@hidden>
  • Date: Sat, 27 May 2006 15:41:43 -0400

Thanks everyone!

Using readRTFDFromFile:  worked great!!

The other problem I was having was going to deep when iterating over
the contents of the directory and getting the insides of the rtfd
file. I fixed that   like this:

[enumerator skipDescendents];

That was in a while loop, 'enumerator' is the enumerator of the
directory. It would skip the descendents and then add the path of the
current file to the array of files. Missing the insides of the rtfd
files. It enumerated over only the files in the directory, it didn't
go into any directory's.

Thanks again, Alan

--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
_______________________________________________
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


References: 
 >How do I read RTFD files into a view? (From: "Alan Smith" <email@hidden>)
 >Re: How do I read RTFD files into a view? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: You can give propertyListFromData: a C string!
  • Next by Date: Newbie Q : automatic creating & saving
  • Previous by thread: Re: How do I read RTFD files into a view?
  • Next by thread: NSNumber's integer approximation of Positive Infinity
  • Index(es):
    • Date
    • Thread