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: NSSharingService with Animated GIFs?

2014-05-17 Thread Charles Carver
uld it be more beneficial in the long run to use NSURLSession instead? Charles Carver ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-

Re: NSSharingService with Animated GIFs?

2014-05-16 Thread Charles Carver
ForShareItems:(NSArray *)items sharingContentScope:(NSSharingContentScope *)sharingContentScope{ return self.window; } I’m not sure if this is the best/most elegant way to accomplish this, so any further suggestions would be appreciated. Thank you for your help once again, Charles Carver On May 16,

Re: NSSharingService with Animated GIFs?

2014-05-16 Thread Charles Carver
t be possible to convert the GIF to an RTDF object, copy it to the > pasteboard, retrieve the pasteboard item, then share that object? Or is there > another solution to sharing animated GIFs with NSSharingService? > > Charles Carver __

NSSharingService with Animated GIFs?

2014-05-14 Thread Charles Carver
solution to sharing animated GIFs with NSSharingService? Charles Carver ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)l