multithreading - Objective C - Offloading to separate threads & optimizing speed of app -


so once again have issue , i'm not quite sure how go dealing it. have uicollectionview contents updated such:

  1. user slides settings panel (uicollectionview dimmed out translucent view overlay).
  2. user pushes various buttons change object(s) uicollectionview displays. object updated simultaneously (some settings take longer others update).
  3. user slides settings panel down.
  4. uicollectionview updated based off of new object.

the problem program comes halt (for 3-4 seconds) every action performed above. understand offloading of these tasks other threads somehow involved here. i'm bit confused tasks offload other threads , how assure have been completed before next actions occur on main thread.

so that, question - (and how) go offloading any/all of above tasks other threads keep app running smoothly? also, how check offloaded task has been completed main thread can complete next task? thank you, in advance.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -