hmole
01/23/2019, 12:48 PMwaylonbrown
01/23/2019, 9:49 PMhmole
01/24/2019, 11:08 AMUP-TO-DATE
, it shouldn't be hard to implement.
https://github.com/JetBrains/kotlin-native/issues/2520louiscad
01/24/2019, 8:45 PMawaitOneClick
extension function for View
on iOS? https://github.com/LouisCAD/Splitties/blob/8a38de6131b1b41d5404c8f236204cfa7becc3b8/sample/src/main/kotlin/com/louiscad/splittiessample/extensions/coroutines/View.kt#L9-L22Cyrille QUÉMIN
01/24/2019, 9:10 PMSecKeyCreateRandomKey
and `CFBridgingRetain`:
val privateKeyRef = SecKeyCreateRandomKey(cfKeyGenerationAttributes, error.ptr)
println("Key generated: ${CFBridgingRelease(privateKeyRef)} ")
This works nicely. When I try to retrieve my key at later date I have either crashes or the key is not found.
I suspect this is due to how I define the application data string tag in my dictionary:
CFDictionaryAddValue(cfKeyGenerationAttributes,kSecAttrApplicationTag,CFBridgingRetain(keyAlias.wcstr.ptr))
I tried few combination but I never seem to be able to retrieve the key that is successfully created: it is either crashing or saying that the key is not found.
What is the proper way to pass a string to the dictionary and overall to Kotlin Native for Object C?jkbbwr
01/24/2019, 11:18 PMicarumbas
01/25/2019, 12:33 PMCyrille QUÉMIN
01/26/2019, 1:38 PMansman
01/28/2019, 1:06 AMint value;
getValue(&value);
return value
coolcat
01/28/2019, 8:54 AMweak
or unowned
when running on iOS?ansman
01/28/2019, 3:19 PMfcosta
01/28/2019, 5:44 PM* What went wrong:
A problem occurred evaluating root project 'kotlin-game-engine'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
> Could not download kotlin-native-macos.tar.gz (:kotlin-native-macos:1.1.1)
> Failed to download SHA1 for resource '<https://download.jetbrains.com/kotlin/native/builds/releases/1.1.1/macos/kotlin-native-macos-1.1.1.tar.gz>'.
> Could not GET '<https://download.jetbrains.com/kotlin/native/builds/releases/1.1.1/macos/kotlin-native-macos-1.1.1.tar.gz.sha1>'. Received status code 403 from server: Forbidden
Eric O'Connell
01/28/2019, 9:18 PM@file:JvmName
for kotlin-native?Nico Buescher
01/29/2019, 3:12 PMextern
function)? 2. Is it possible to have a fun main()
, ie an entry point, in a shared library like you can in C++?yuya_horita
01/30/2019, 5:19 AMgradle sync
with gradle version 4.10.3 .
Can I avoid that?marchuck
02/01/2019, 10:17 AMcharleskorn
02/02/2019, 7:28 AMmain()
in the test source set but kotlin-native is still usedSimone Civetta
02/03/2019, 12:59 PMos_log
functions in iOS/macOS ? In ObjC it comes from a macro declared in iPhoneSimulator.sdk/usr/include/os/log.h
but as such it doesn't seem to be visible in K/Nyuya_horita
02/05/2019, 8:34 AMisFrozen
?Denis Shurygin
02/05/2019, 3:37 PMNSString.localizedStringWithFormat(myString, count)
.
I get following error: too many arguments for @ObjCMethod public external fun NSStringMeta.stringWithFormat(format: String): String defined in platform.Foundation
. This is an a bug in K/N or I do something wrong?spierce7
02/07/2019, 5:57 AMgmaciel
02/07/2019, 10:07 AMexpected
function.
Do i need all this declarations in the same module for it to work? So all expect/declare functions will need to be wrapped into the common module? And then the project (Android/iOS) imports it?Slackbot
02/07/2019, 1:49 PMRoman
02/07/2019, 2:23 PMgianluz
02/07/2019, 4:51 PMDominaezzz
02/07/2019, 8:27 PMDaveQ
02/08/2019, 1:21 AMNico Buescher
02/08/2019, 3:52 AMDaveQ
02/08/2019, 7:18 AMRyan Batchelder
02/08/2019, 12:40 PM