nsblockoperation Questions

3

Solved

I have an app that currently uses NSURLConnection for the vast majority of its networking. I would like to move to NSURLSession because Apple tells me that is the way to go. My app just uses the s...
Vaporizer asked 18/1, 2014 at 0:22

10

Solved

I have a task that needs to be performed every 1 second. Currently I have an NSTimer firing repeatedly every 1 sec. How do I have the timer fire in a background thread (non UI-thread)? I could hav...
Mackenzie asked 29/11, 2011 at 1:25

1

Solved

I have to sync a bunch of information from my RestAPI. I must do 6 RestAPI calls to complete work. I designed API calls with Blocks, and return NSError if there is any. 3 of these calls should to e...

2

Solved

I have to define method which should be invoked periodically with some time interval. I need to invoke it in another thread (NOT main thread), because this method is used to get information from ex...
Toomin asked 4/2, 2014 at 21:27
1

© 2022 - 2024 — McMap. All rights reserved.