typo fixed
This commit is contained in:
parent
bde7cb03e7
commit
fb832e35af
|
@ -282,9 +282,9 @@ Easily change the typeface:
|
|||
|
||||
``` swift
|
||||
var str = NSAttributedString(string: "Hello")
|
||||
let attrStr1 = myStr.undeline()
|
||||
let attrStr2 = myStr.bold()
|
||||
let attrStr3 = myStr.italic()
|
||||
let attrStr1 = str.underline()
|
||||
let attrStr2 = str.bold()
|
||||
let attrStr3 = str.italic()
|
||||
```
|
||||
|
||||
Easily change the color:
|
||||
|
|
Loading…
Reference in New Issue