From 2058641338cd9b85420b6e17bdcc3d7076fa0818 Mon Sep 17 00:00:00 2001 From: Danil Pavlov Date: Thu, 17 Aug 2023 10:52:47 +0200 Subject: [PATCH] chore: swift code blocks Co-authored-by: Andrey Polyakov --- docs/topics/native/native-objc-interop.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/native/native-objc-interop.md b/docs/topics/native/native-objc-interop.md index 2f7ffc954cb..44e01bb4cb8 100644 --- a/docs/topics/native/native-objc-interop.md +++ b/docs/topics/native/native-objc-interop.md @@ -206,7 +206,7 @@ enum class Colors { You can access the properties of this enum class from Swift as follows: -```Swift +```swift // Swift Colors.red Colors.green @@ -215,7 +215,7 @@ Colors.blue To use variables of a Kotlin enum in a Swift `switch` statement, provide a default statement to prevent a compilation error: -```Swift +```swift switch color { case .red: print("It's red") case .green: print("It's green")