Animating .gif in NSImageView
Animating .gif in NSImageView
- Subject: Animating .gif in NSImageView
- From: led248 <email@hidden>
- Date: Wed, 29 Apr 2009 21:24:14 -0700
In Interface Builder, I dragged an "Image Well" (NSImageView) onto my
window and checked the "Animates" and "Editable" attribute flags.
When running my app, I can drag a .gif into the Image Well and it
works great -- the animated gif animates.
If I cut and paste back into the same Image Well, the image appears
but there is no animation.
Same thing happens when I archive/unarchive -- the first frame
appears, but no animation.
So drop works, paste and unarchive don't. Which has me a bit
baffled. Clearly, NSImageView has the ability to display animated gif
files, because it is doing so for my dropped files. But not for files
loaded by other means.
Is there some method I need to invoke after pasting or unarchiving
that will cause the gif animation to start?
Would really appreciate any ideas or solutions!
_______________________________________________
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