Hi there,
I'm about to create a series of NSOperations and run them in a queue.
They will all be sequential and run one at a time.
These operations will fetch data from the web and create and save core data managed objects.
How do I handle the situation where the application exits? As the operations run in detached threads, how can I make the main thread wait until the current operation is "safe" to quit? There are situations where I'm happy for the threads (operations) to exit before they are complete as on further app launches the job will continue and pick up where it left off.
Many thanks,
Mike