Skip to content

Commit

Permalink
doc: update docs/swift.md (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
TRDSCSH committed Mar 5, 2024
1 parent ee97d75 commit 57d42b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/swift.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,11 @@ switch secondaryColor {
case "orange":
print("红色和黄色的混合")
case "purple":
print("红色和蓝色的混合")
default:
print("这可能不是辅助颜色")
print("红色和蓝色的混合")
case "green":
print("蓝色和黄色的混合")
default:
print("这可能不是辅助颜色")
}
// 打印: 蓝色和黄色的混合
```
Expand Down

0 comments on commit 57d42b2

Please sign in to comment.