Open JeanMeche opened 9 years ago
Your code looks fine as far as I can tell. Have you tried to profile the code using Instruments.app to see where the time is actually spent? On which platform / device did you run the app, when you had the worse performance?
Using the Progress Overlay I get very bad performances.
A background function that took 7sec to perform before (XML parsing+CoreData querying), takes now up to 24 seconds.
In my case I create the Progress Overlay on the main thread then create the launch my function in a background thread.
Before using the progress overlay, I had a simple UIView with a UIActivityIndicatorView spinning and no performance problem.
Am I missing something or does it really worsen the performances that much ?
Here is a sample of my code.