• 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: Martin Hewitson <email@hidden>
  • Date: Wed, 26 Oct 2011 18:45:24 +0100

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: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

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

  • Prev by Date: How to create NSCursor from CGBitmap?
  • Next by Date: Re: Draw a non-antialiased image (NSImage)
  • Previous by thread: Re: How to create NSCursor from CGBitmap?
  • Next by thread: NSDocument app notification of restoring windows
  • Index(es):
    • Date
    • Thread