Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView setAnimates:YES... PLEASE?




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSImageView setAnimates:YES... PLEASE? (From: John Turnipseed <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.