• 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
NSImage in NSAttributedString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage in NSAttributedString


  • Subject: NSImage in NSAttributedString
  • From: Timothy Larkin <email@hidden>
  • Date: Wed, 12 Nov 2008 06:34:04 -0500

I am building an attributed string for display in a NSTextView. I can include an image in the string by attaching a file wrapper. But what if I have just an NSImage? I know that an image from the clipboard can be inserted in a text view. But how can I do this programatically? Is there a better way than writing the image to a temporary file and then using that file wrapper?



--
Timothy Larkin
Abstract Tools
Caroline, NY

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSImage in NSAttributedString
      • From: Alexander Spohr <email@hidden>
    • Re: NSImage in NSAttributedString
      • From: Douglas Davidson <email@hidden>
    • Re: NSImage in NSAttributedString
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Mysterious warning [SOLVED]
  • Next by Date: Re: How can I use NSTextField like a button?
  • Previous by thread: Re: Mysterious warning
  • Next by thread: Re: NSImage in NSAttributedString
  • Index(es):
    • Date
    • Thread