• 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
Re: Display RTF & RTFD file in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Display RTF & RTFD file in NSTextView
      • From: Ryan Britton <email@hidden>
References: 
 >Display RTF & RTFD file in NSTextView (From: Giovanni Donelli <email@hidden>)
 >Re: Display RTF & RTFD file in NSTextView (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Object from valueForKey is invalid
  • Next by Date: NSRoundRectBezelStyle still doesn't work with NSPopUpButton?
  • Previous by thread: Re: Display RTF & RTFD file in NSTextView
  • Next by thread: Re: Display RTF & RTFD file in NSTextView
  • Index(es):
    • Date
    • Thread