Skip to content

Commit

Permalink
Update README_CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 authored Sep 26, 2024
1 parent 76022cd commit df2dafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ label.numberOfLines = 0.screen.inch(._3_5, is: 1).inch(._4_0, is: 2).value
```swift
// default other screen numberOfLines = 0
// width 320 screen numberOfLines = 1
// width 375 inches screen numberOfLines = 2
label.numberOfLines = 0.screen.width(._320, is: 1).width(._375, is: 2).value
// width 375 screen numberOfLines = 2
label.numberOfLines = 0.screen.width(equalTo: 320, is: 1).width(equalTo: 375, is: 2).value
```


Expand Down

0 comments on commit df2dafa

Please sign in to comment.