FROM : Ricky Sharp
DATE : Tue May 01 03:01:15 2007
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_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Tue May 01 03:01:15 2007
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_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| John Turnipseed | May 1, 02:18 | |
| Ricky Sharp | May 1, 03:01 | |
| John Turnipseed | May 1, 22:42 | |
| Ricky Sharp | May 2, 00:50 | |
| John Turnipseed | May 3, 03:12 | |
| John Turnipseed | May 3, 20:52 |






Cocoa mail archive

