I’m trying to figure out how to do log running tasks in Objective-C (iOS) in a way that is not gonna hang the UI thread, kinda like background workers or the TPL in .Net.
I’m looking for a way to handle this kind of work in a maintainable way that is considered a best practice for iOS dev?
There are many ways you can do that, like
NSThread,NSOperation/NSOperationQueueclasses orGCD. Example code (GCD):You can read about it here: Concurrency Programming Guide