This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
This gist demonstrates how to build a Kotlin MPP library so that the iOS sourceSet
depends on and uses an iOS Framework as a dependency.
Key ideas:
./gradlew publishToMavenLocal
arm64
and x86_64
architectures, you can easily add arm32
if you need.cinterop
klib
artifact, allowing dependents to also know about the iOS Framework headers.You can find a gist explaining how to use such library in an iOS app [here][ios-app].
var Twit = require("twit"); | |
var T = new Twit({ | |
consumer_key: "####", | |
consumer_secret: "####", | |
access_token: "####", | |
access_token_secret: "####", | |
}); | |
var stream = T.stream("statuses/filter", { |
import kotlinx.serialization.* | |
import kotlinx.serialization.descriptors.SerialDescriptor | |
import kotlinx.serialization.encoding.CompositeDecoder | |
import kotlinx.serialization.encoding.Decoder | |
import kotlinx.serialization.encoding.Encoder | |
import kotlinx.serialization.json.* | |
import kotlin.reflect.KType | |
import kotlin.reflect.full.isSubtypeOf | |
import kotlin.reflect.full.starProjectedType |