Re: NSImageView setAnimates:YES... PLEASE?
Re: NSImageView setAnimates:YES... PLEASE?
- Subject: Re: NSImageView setAnimates:YES... PLEASE?
- From: Ricky Sharp <email@hidden>
- Date: Mon, 30 Apr 2007 20:01:15 -0500
On Apr 30, 2007, at 7:18 PM, John Turnipseed wrote:
What's up with NSImageView's -(void)setAnimates:(BOOL)flag
selector? Calling it doesn't seem to have any effect when it's
loaded with an animated GIF image. It never animates. Setting the
flag in IB or calling the selector at runtime seems to make no
difference.
Is this just a bug or am I missing something? I've had to roll my
own subclass that iterates through the bitmap representations of
the loaded image on a timer. Seems to work, but wondering if this
is a known bug or if I should put it in radar.
So if this has been asked and answered, my apologies, but I haven't
found an answer anywhere. Everything I found googling seems to
indicate it should just work... but it doesn't for me.
While the animation appears to not work when testing the interface in
IB, I got an animated GIF working just fine when running a small test
app (10.4.9). Didn't do any coding; just added the GIF to my
project, dragged in to an image view and set the animates flag in IB.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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