Re: ikimageview delegate

2011-10-28 Thread Martin Hewitson
In case someone's still interested in this, I just came across this link: http://www.theregister.co.uk/2008/10/14/mac_secrets_imagekit_internals/page2.html which says the following delegate methods work: -(void) imageWillChange: (IKImageView *) imageView; -(void) imageDidChange: (IKImageView *)

Re: ikimageview delegate

2011-09-13 Thread Andy Lee
On Sep 13, 2011, at 3:44 PM, Martin Hewitson wrote: > Still not sure I understand why mouseUp: is not called, See "Cocoa Event-Handling Guide" > "Handling Mouse Events" > "Handling Mouse Dragging Operations".

Re: ikimageview delegate

2011-09-13 Thread Martin Hewitson
On Sep 13, 2011, at 06:12 PM, Andy Lee wrote: > On Sep 13, 2011, at 12:49 PM, Martin Hewitson wrote: >> So this almost provides the answer. I made a subclass and in there override >> setRotationAngle:centerPoint: but this triggers for every mouse movement, >> rather than for an accumulated drag

Re: ikimageview delegate

2011-09-13 Thread Andy Lee
On Sep 13, 2011, at 12:49 PM, Martin Hewitson wrote: > So this almost provides the answer. I made a subclass and in there override > setRotationAngle:centerPoint: but this triggers for every mouse movement, > rather than for an accumulated drag from the user. I then tried to override > mouseUp w

Re: ikimageview delegate

2011-09-13 Thread Martin Hewitson
So this almost provides the answer. I made a subclass and in there override setRotationAngle:centerPoint: but this triggers for every mouse movement, rather than for an accumulated drag from the user. I then tried to override mouseUp with the plan to set a flag didRotate in setRotationAngle:cent

Re: ikimageview delegate

2011-09-13 Thread Andy Lee
On Sep 13, 2011, at 5:39 AM, Martin Hewitson wrote: > Great, thanks. Unfortunately there isn't a callback for rotation of the image. Would it work to override setRotationAngle:centerPoint:? And maybe rotateImageLeft: and rotateImageRight:? --Andy ___

Re: ikimageview delegate

2011-09-13 Thread Andy Lee
On Sep 13, 2011, at 4:13 AM, Martin Hewitson wrote: > Does anyone know what messages the delegate of an IKImageView will get? I > can't find any documentation or examples. Weird! I wrote a blog post about your question:

Re: ikimageview delegate

2011-09-13 Thread Martin Hewitson
On Sep 13, 2011, at 10:17 AM, jonat...@mugginsoft.com wrote: > On 13 Sep 2011, at 09:13, Martin Hewitson wrote: > >> Dear list, >> >> Does anyone know what messages the delegate of an IKImageView will get? I >> can't find any documentation or examples. I would like to be notified if the >> im

Re: ikimageview delegate

2011-09-13 Thread jonat...@mugginsoft.com
On 13 Sep 2011, at 09:13, Martin Hewitson wrote: > Dear list, > > Does anyone know what messages the delegate of an IKImageView will get? I > can't find any documentation or examples. I would like to be notified if the > image is edited by the user. I've tried using kvo with a key 'image' on th

ikimageview delegate

2011-09-13 Thread Martin Hewitson
Dear list, Does anyone know what messages the delegate of an IKImageView will get? I can't find any documentation or examples. I would like to be notified if the image is edited by the user. I've tried using kvo with a key 'image' on the image view, but image is not a property, so I don't get n

Re: IKImageView delegate

2010-04-12 Thread Gerriet M. Denkmann
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

Re: IKImageView delegate

2010-04-12 Thread Brian Postow
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 l

IKImageView delegate

2010-04-10 Thread Gerriet M. Denkmann
The documentation (updated this morning) says: "An IKImageView object’s delegate [...] is informed of various actions by the image view through delegation messages." This begs the question: What are these "delegation messages" and where are they documented? Also: IKImageView seems to understan