Re: Display RTF & RTFD file in NSTextView
Re: Display RTF & RTFD file in NSTextView
- Subject: Re: Display RTF & RTFD file in NSTextView
- From: Giovanni Donelli <email@hidden>
- Date: Wed, 21 Sep 2005 13:23:26 +0200
Yeah I saw the -readRTFDFromFile: of NSText.
my problem is actually loading an NSText object into NSTextView. I
couldn't find any method that would take that as input.
Any suggestions? I am sure I missing something trivial
Thanks!
Giovanni
On 20 Sep 2005, at 9:47 PM, Douglas Davidson wrote:
This is one of the main purposes of NSTextView, so there are quite
a few ways to do this, starting with e.g. readRTFDFromFile:. If
you're looking for cleverness, you could take a look at the source
to TextEdit, which has some useful tricks.
_______________________________________________
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