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 *) imageView;
-(void) imageDidChange: (IKImageView *) imageView 
           imageState: (IKImageState *) state
image: (CGImageRef) image;  
- (NSUndoManager *) undoManagerForOperation: (NSString *) operation;

As the article suggests, -imageWillChange: seems the most reliable.

Martin

On Sep 13, 2011, at 11:17 AM, Andy Lee wrote:

> 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:
> 
> <http://www.notesfromandy.com/2011/09/13/ikimageviews-mysterious-delegate/>
> 
> --Andy
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer 
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: martin.hewit...@aei.mpg.de
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

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