> - STHTTPRequest must be used from the main thread
> - Success block and error block are called on main thread
Those seem like two quite irritating limitations - anyone know the rationale behind them?
> - Success block and error block are called on main thread
Those seem like two quite irritating limitations - anyone know the rationale behind them?
On the main thread, you can always get a running run loop, the main run loop, for free.
When there is async code the expectation is
CODE CODE [start_block { LATER - excuted in main thread }] CODE
Otherwise you write a ton of code with get_main_thread