Skip to content

Commit

Permalink
chore: swift code blocks
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Polyakov <[email protected]>
  • Loading branch information
danil-pavlov and koshachy authored Aug 17, 2023
1 parent b178b55 commit 2058641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/native/native-objc-interop.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
Expand Down

0 comments on commit 2058641

Please sign in to comment.