I’m developing an iPad application that’s similar to the built in Photos app. I’ve used NSThread detachNewThreadSelector to load the image and managed to cut down loading time from 12s to 6s, still not up to my expectation. I suspect that, let say there are 20 images in a folder, 20 threads are created to load the images. Now I’m thinking on limiting it to 5 threads at a time, and the next group of threads should start only after the previous 5 images are loaded. Can someone enlighten me how to do this? Thanks a lot!
I’m developing an iPad application that’s similar to the built in Photos app. I’ve
Share
I won’t be long : you should definitively have a deep look at this example from Apple. You will see the light.