Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Renamed objc klib in the sample to objective_c to eliminate naming
Browse files Browse the repository at this point in the history
conflict woth objc platform lib.
Made objc sample compile with the platform libs.
  • Loading branch information
alexander-gorshenev committed Oct 13, 2017
1 parent c4e45ba commit dc9a1ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions samples/objc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
apply plugin: 'konan'

konanInterop {
objc {
objective_c {
target "macbook"
}
}


konanArtifacts {
Window {
useInterop 'objc'
useInterop 'objective_c'
target "macbook"
}
}
4 changes: 3 additions & 1 deletion samples/objc/src/main/kotlin/Window.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import objc.*
import platform.objc.*
import platform.osx.*
import objective_c.*
import kotlinx.cinterop.*

fun main(args: Array<String>) {
Expand Down

0 comments on commit dc9a1ac

Please sign in to comment.