title: Cocoa - Application Freezes During Loading Data From XML
body: <p>I am loading a huge amount of data from an XML file. This data is "freezing" the application. I would like to display a progress bar in the time that the data is being loaded.</p>
  
  <p>How would I know that much of the operation has been completed so that I can change the percentage shown of the progress bar? Thanks. [answered]</p>
  
  <p>Edited: The main problem is that the application freezes during loading due to the large amount of data to be parsed. Some have suggested using a background thread to load and parse the data.. Is that viable?</p>