• 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: IKImageView delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IKImageView delegate


  • Subject: Re: IKImageView delegate
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Mon, 12 Apr 2010 22:14:28 +0700

On 12 Apr 2010, at 21:39, Brian Postow wrote:

>
> On Apr 10, 2010, at 2:13 AM, Gerriet M. Denkmann wrote:
>
>> The documentation (updated this morning) says: "An IKImageView object’s delegate [...] is informed of various actions by the image view through delegation messages."
>>
> Why do you say that the documentation has been edited? When I look at it, it says it was edited in February...
No. I just wanted to say that I am using the current documentation.
>
> I'm not sure what you want cut to do in an IKImageView, make the area grey?
[ myIkImageView cut: nil] seems to replace the image with the stuff in the selected range.


>
>> Another thing: IKImageView can mark a region (IKToolModeSelect). How to get this region from IKImageView? (Clumsy workaround: send it a copy: message and look at the pasteboard).
>
> There is an *UNDOCUMENTED* method (CGRect)selectionRect which returns the selection rectangle in view coordinates.
>
Thanks a lot. This works perfectly.
How did you find this undocumented method? Maybe there is more useful stuff to be found?


Kind regards,

Gerriet.

_______________________________________________

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

References: 
 >IKImageView delegate (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: IKImageView delegate (From: Brian Postow <email@hidden>)

  • Prev by Date: Re: NSPipe (NSFileHandle) writedata limit?
  • Next by Date: Re: NSPipe (NSFileHandle) writedata limit?
  • Previous by thread: Re: IKImageView delegate
  • Next by thread: MainMenu.nib won't load
  • Index(es):
    • Date
    • Thread