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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -