I have an App that is used for mobile shopping. I have a "LocationModel" singleton object that gets a list of addresses from a pList and converts each address into a "Location" object. In the location object I have a "Latitude" and "longitude" variable. Currently I have a method that iterates through the location object array and pings the google.api servers with the address inside each location object, the return datatype is then parsed using NSXML parser and the coordinates extracted and assigned to each location object.
Right now all this is done on the main thread and as such the GUI is locked when the app starts for a good couple of seconds. I would like to start a new thread in the appdelegate's main method that does this work of getting coordinates in the background. But I have never done multi threading before and I looked at the Apple concurrent programming guides and Threading guide and it seems overwhelming. Can someone please point me to some resources that are easy to understand and or have sample code.
Many thanks