Skip to content
← All posts

Posts tagged braziliandevs

Kotlin Multiplatform

6 min read Intermediate

In the last article we dug into the quirks of code exported to Objective-C headers, along with the best practices for what to export.

Kotlin Multiplatform

6 min read Intermediate

In the last post, we learned how to use Kotlin code in Swift. We covered a few techniques to improve the code exported to Swift, and how annotations like @HiddenFromObjC and @HidesFromObjC control the visibility of code in Swift.

Kotlin Multiplatform

8 min read Intermediate

In the last post, we learned how to create an XCFramework from Kotlin code and explored some characteristics of the generated build types.

Kotlin Multiplatform

4 min read Intermediate

Welcome to the KMP-102 series. We dig deeper into Kotlin Multiplatform concepts, learning more about how to integrate our Kotlin code into iOS and beyond.

Kotlin

Kotlin Koans BR · Part 12

Kotlin Koans BR: Import alias

2 min read Beginner

When importing a class or function, you can give it a different name by adding as NewName after the import directive. This can be useful when…

Kotlin

Kotlin Koans BR · Part 11

Kotlin Koans BR: Sealed Classes

12 min read Beginner

Reuse your solution from the previous task, but replace the interface with a sealed interface. That way you no longer need the else branch in the when expression.