• 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: Inserting Graphics into NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting Graphics into NSTextView


  • Subject: Re: Inserting Graphics into NSTextView
  • From: publiclook <email@hidden>
  • Date: Tue, 8 Apr 2003 20:57:49 -0400

There are many examples of using NSImage as an attachment. I recommend "Cocoa Programming" as a resource for code examples, but many other sources exist including the source code for TextEdit on your disk.

On Tuesday, April 8, 2003, at 01:01 PM, email@hidden wrote:

How does one insert artwork (NSImage usually) into an NSTextView. I can find
documentation talking about inserting a Attachment (file wrapper) to an
Attribute String, and inserting that into a NSTextView, but not how to insert
an NSImage (the image is NOT associated with a file). Does one try to create
a Glyph (that does not seem suited for inserting graphics either)?

If someone has some source example, that would be great!

Thanks,

Steve Sheets
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Inserting Graphics into NSTextView (From: email@hidden)

  • Prev by Date: Re: Inserting Graphics into NSTextView
  • Next by Date: Re: Inserting Graphics into NSTextView
  • Previous by thread: Re: Inserting Graphics into NSTextView
  • Next by thread: Re: Inserting Graphics into NSTextView
  • Index(es):
    • Date
    • Thread