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
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-
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,
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
__
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