• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to optimize image loading during core animation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to optimize image loading during core animation?


  • Subject: Re: How to optimize image loading during core animation?
  • From: Gabriel Zachmann <email@hidden>
  • Date: Thu, 17 Feb 2011 18:15:10 +0100

Thanks a lot for your response, Tomas!

> since no one replied so far, I’d take a try. I’m not much familiar with desktop Cocoa, but on iOS we have to be careful to keep longer actions from the main thread, since delays in the main thread block the UI. Isn’t this about the same issue?

Good question. One problem is that I have not understood a fundamental property of Core Animation.
I have always assumed that the animation, once I have set it up, is done by the OS / Core Animation in the background, i.e., in a separate thread.
Is that correct?
If yes, then wouldn't that mean that moving my image loading into a separate thread would *not* help at all?
If no, then exactly when / where is the animation performed?

You see, my understanding of the interplay between Core Animation and my application is still a mess ;-}
So any light anybody can shed on it will be highly appreciated.

> Image loading would be the first thing I would move into a background thread. Can you use GCD? It’s a perfect fit for such producer/consumer tasks.

Please explain "GCD".

Thanks a lot in advance.

Best regards,
Gabriel.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to optimize image loading during core animation?
      • From: Sean Roehnelt <email@hidden>
    • Re: How to optimize image loading during core animation?
      • From: Laurent Daudelin <email@hidden>
References: 
 >How to optimize image loading during core animation? (From: Gabriel Zachmann <email@hidden>)
 >Re: How to optimize image loading during core animation? (From: Tomáš Znamenáček <email@hidden>)

  • Prev by Date: Re: render view into PDF?
  • Next by Date: NSComboxBox alternative
  • Previous by thread: Re: How to optimize image loading during core animation?
  • Next by thread: Re: How to optimize image loading during core animation?
  • Index(es):
    • Date
    • Thread