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

c# - ASP.NET MVC Sequence contains no matching element -

java - Parsing XML, skip certain tags -

rest - How to invalidate user session on inactivity in a stateless server? -