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:
- user slides settings panel (uicollectionview dimmed out translucent view overlay).
- user pushes various buttons change object(s) uicollectionview displays. object updated simultaneously (some settings take longer others update).
- user slides settings panel down.
- 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
Post a Comment