Re: Display RTF & RTFD file in NSTextView
Re: Display RTF & RTFD file in NSTextView
- Subject: Re: Display RTF & RTFD file in NSTextView
- From: Ryan Britton <email@hidden>
- Date: Wed, 21 Sep 2005 06:06:49 -0700
NSTextView is a subclass of NSText. You can just have your text view
call that method.
On Sep 21, 2005, at 4:23 AM, Giovanni Donelli wrote:
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
_______________________________________________
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