https://kotlinlang.org logo
#coroutines
Title
# coroutines
m

marcinmoskala

09/14/2018, 6:46 PM
Is there any UI for iOS that can be used?
v

voddan

09/14/2018, 7:36 PM
Only what Apple provides
m

marcinmoskala

09/14/2018, 7:45 PM
Copy code
class UI: KTKotlinx_coroutines_core_nativeCoroutineDispatcher {
        override func dispatch(context: KTStdlibCoroutineContext, block: KTKotlinx_coroutines_core_nativeRunnable) {
            DispatchQueue.main.async {
                block.run()
            }
        }
    }
4 Views