Set contents of CALayer to animated GIF?

2014-06-10 Thread Charles Carver
Is it possible to set the contents of a CALayer to an animated GIF and have it display that animation? I know that I can set the contents to an image like so: CALayer* subLayer = [CALayer layer]; NSImage *image = [[NSImage alloc] initWithData:data]; subLayer.contents = image; And the image will

Re: Set contents of CALayer to animated GIF?

2014-06-10 Thread David Duncan
On Jun 10, 2014, at 8:05 AM, Charles Carver charlescar...@mac.com wrote: Is it possible to set the contents of a CALayer to an animated GIF and have it display that animation? No. I know that I can set the contents to an image like so: CALayer* subLayer = [CALayer layer]; NSImage