I’m building an iOS application and I was wondering if there is a way to build my model objects from my request results on the background thread. It appears the success callbacks/blocks on AFHTTPClient request methods are all done on the main thread.
Share
Use
dispatch_async:This would be in the success block of the request operation. The
blockvariable would be the parameter passed into the method that made the request. See the iOS example project for more information. Hope that helps!