• 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
How to edit/resize embedded graphics and images in a NSTextView ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to edit/resize embedded graphics and images in a NSTextView ?


  • Subject: How to edit/resize embedded graphics and images in a NSTextView ?
  • From: Anders Sommer Lassen <email@hidden>
  • Date: Wed, 12 May 2010 18:57:25 +0200

Hi,

I want to embed graphics and images in a NSTextView, and hopefully support resizing of these embedded object.

So far, I can embed an image object in my NSTextView, but I cannot figure out, how to make editing of the object possible.

The NSTextView has a property called:

-(void)setAllowsImageEditing:(BOOL)

Which I have set to YES.

The documentation for this property states:

"Indicates whether image attachments should permit editing of their images."

But when I select the embedded objects nothing happens (I hoped to see a resize handle when I clicked the embedded image).

Any suggestions are welcome.


Kind regards,

Anders Lassen

_______________________________________________

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: How to edit/resize embedded graphics and images in a NSTextView ?
      • From: Chaitanya Pandit <email@hidden>
  • Prev by Date: Cocoaheads Lake Forest (92630) meeting TONIGHT, Wed 5/12/2010 at 7 pm on implementing a Cocoa Touch app
  • Next by Date: Re: Handling bindings of an NSControl which forward everything to an NSCell?
  • Previous by thread: Cocoaheads Lake Forest (92630) meeting TONIGHT, Wed 5/12/2010 at 7 pm on implementing a Cocoa Touch app
  • Next by thread: Re: How to edit/resize embedded graphics and images in a NSTextView ?
  • Index(es):
    • Date
    • Thread