• 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
Inserting a graphic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inserting a graphic


  • Subject: Inserting a graphic
  • From: David Remahl <email@hidden>
  • Date: Mon, 19 Nov 2001 23:00:28 +0100

I need to insert an NSImage into an NSTextView. I have checked out the
documentation, and the closest I can get is the replaceRange:withRTFD:. So,
my question is, how can I generate an NSData object with the correct RTFD
data for my NSImage? The 1994 openstep docu i found, said programmatic RTFD
generation was not available. Has this changed? Should I instead use some
other method? (maybe involving an NSPasteboard?).

/ Sincerely,
// David Remahl


  • Follow-Ups:
    • Re: Inserting a graphic
      • From: John Hörnkvist <email@hidden>
    • Re: Inserting a graphic
      • From: Eric Peyton <email@hidden>
  • Prev by Date: You're Invited to a Mac OS X APPLE HELP Kitchen
  • Next by Date: ICMP/ping example
  • Previous by thread: You're Invited to a Mac OS X APPLE HELP Kitchen
  • Next by thread: Re: Inserting a graphic
  • Index(es):
    • Date
    • Thread