> 
> Ahh, there’s a jitter when moving.

Right. Sometimes it's a really lengthy stutter.

> 
> Try creating an async dispatch to a background thread in a block.

I thought i'm doing that with this code:

-animateOneframe:
 // essentially, this gets called when the next image is to be displayed
 current_image_ = prefetched_image_;            // these are CGImageRef's
 dispatch_async( prefetch_queue_, ^{
           [self loadNextImage];                // stores next image in 
prefetched_image_
 } );
 create a new CALayer, 
 assign the current_image_ as content, 
 create an animation for the layer,
 add the layer to the layer hierarchy

Am I not?


Best regards, Gabriel

_______________________________________________

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)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to