ios - Cocoa, how to know which operations can be called outside of main thread -



ios - Cocoa, how to know which operations can be called outside of main thread -

how know if can execute function scheme sdk outside of main thread?

is there rule of thumb?

like illustration function corebluetooth

- (void)connectperipheral:(cbperipheral *)peripheral options:(nsdictionary *)options;

can exceed other thread main thread or not?

the docs don't state this

generally, ui related code has run on main thread, else can run on separate thread unless stated in documentation. so, looks method specified can run on background thread.

ios multithreading cocoa sdk thread-safety

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -