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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to