Separating Loading data and UI via threading in Objecive C/Cocoa
<p>I'm currently developing an iPhone application that loads data via a webservice into a table. Right now I have it loading the data and creating/displaying my cells via [tableView cellForRowAtIndexPath] on two separate threads. My problem is that I need the data to create my cells. </p>

<p>So currently I load my data into an array on one thread and lock the cell creation part on the other thread until completion. Once completed I go back to my main thread, unlock the cell creation part and continue. </p>

<p>This actually makes the whole process slower. I'm trying to figure out a design so that I can speed up this process. Can someone help? </p>

<p>Thank you to all that reply.</p>
