Taras Koshkin
11/14/2018, 4:08 PMSangeet
11/14/2018, 6:50 PMNSString().initWithData(ResponseData, NSUTF8StringEncoding)
is throwing exception.
Can anybody help me with this ?napperley
11/15/2018, 1:49 AM// ...
val quitAction = cValue<GActionEntry> {
name = quitActionName
parameter_type = null
activate = staticCFunction(::quitActivated)
}.ptr
// ...
g_action_map_add_action_entries(app.reinterpret(), quitAction, 1, win)
Dico
11/15/2018, 4:08 AMkotlinx-coroutines-core-native:1.0.1
as a dependency on a platform using the mingwX64
preset.
When specifying this dependency, gradle is not able to resolve it, despite the correct repositories being referenced.
When specifying common
variant of the dependency, gradle is able to resolve it, but no symbols are accessible in IntelliJ. All references remain unresolved.
I made a new barebones multiplatform project, and I have the same problem. I also tried kotlinx-serialization-runtime-native:0.9.0
and coroutines version 1.0.0 and I got the same results on both attempts. Setting kotlin_native_version
in gradle.properties has no effect. GRADLE_METADATA
feature is enabled. Repositories are present. What else could be going wrong?Konstantin Petrukhnov
11/15/2018, 5:12 AMgildor
11/15/2018, 11:18 AMvararg
argument not available for ObjC interop in methods like NSString.stringWithFormat? Is this something that not supported yet, or has some unsolvable interop problems?
https://developer.apple.com/documentation/foundation/nsstring/1497275-stringwithformatSam
11/15/2018, 1:09 PMloudedtwist
11/15/2018, 8:29 PMdrofwarcs
11/15/2018, 9:34 PMcommon/build/classes/kotlin/ios/main/common-cinterop-ochamcrest.klib-build/kotlin/org/ochamcrest/ochamcrest.kt:127:5: error: expecting function name or receiver type
fun is(value: Any?): Any {
^
The problem is the name of the function is a Kotlin keyword, is
. I verified that manually changing the name in the objc header allowed cinterop to build.AnaR
11/15/2018, 9:50 PMDico
11/16/2018, 4:26 AMflorent
11/16/2018, 7:59 AMAllowFlame
11/16/2018, 8:50 AMLanderl Young
11/16/2018, 1:31 PMDetachedObjectGraph
nor to use Worker
.
What if the commonMain have concurreny logic and I want to share those with Android and iOS?Dinu
11/16/2018, 2:49 PMSegmentation fault: 11
is caused by something else rather then sleep, sleep is actually working..kpgalligan
11/16/2018, 5:14 PMnapperley
11/16/2018, 11:26 PMValV
11/17/2018, 2:30 AMserebit
11/18/2018, 8:19 PMserebit
11/18/2018, 9:05 PMSam
11/19/2018, 2:59 AM@Test
fun `The number of bytes in a euro is three`(){
//count and length return 1 but a euro symbol is a multibyte character
assertEquals(3, "€".count, "Wrong number of bytes for a Euro.")
}
russhwolf
11/19/2018, 5:06 AMhmole
11/19/2018, 9:22 AMmemScoped
still performs cleanup if an error occurs inside the block?josephivie
11/20/2018, 3:27 AMjosephivie
11/20/2018, 3:28 AMckchen
11/20/2018, 5:56 AMkyonifer
11/20/2018, 7:22 PMKaden Wilkinson
11/20/2018, 11:50 PMyuya_horita
11/21/2018, 2:34 AMSam
11/21/2018, 10:12 PMSam
11/21/2018, 10:12 PMLanderl Young
11/22/2018, 2:16 AMkpgalligan
11/22/2018, 2:23 AMSam
11/22/2018, 4:51 PM