Re: NSImageView vs IKImageView
Re: NSImageView vs IKImageView
- Subject: Re: NSImageView vs IKImageView
- From: James Merkel <email@hidden>
- Date: Sat, 06 Aug 2011 23:56:08 -0700
On Aug 6, 2011, at 6:26 PM, Graham Cox wrote:
On 06/08/2011, at 10:44 PM, James Merkel wrote:
True, I could just update the window. But that seemed like more
work than just going through the closing/opening cycle.
If this seems even remotely true, you're surely doing it wrong.
Incidentally, IKImageView/NSImageVIew should handle this for you -
if you change the image they are displaying, they will invalidate
and update the relevant part of the window automatically. Again, if
that's not happening, you're surely doing it wrong.
--Graham
No it wasn't updating of the image that was the problem -- it was
updating of some text boxes in the same window.
But I have fixed that. I just needed an update method for the window.
Now it looks very smooth,
So now I will probably just go back to using the NSImageView. The
IKImageView was an overkill for what I'm doing.
Jim Merkel
_______________________________________________
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