Skip to content

Commit

Permalink
Fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
igorefremov authored Apr 26, 2017
1 parent 7b91b68 commit 6ba12f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ self.titleLabel.style.setStyle(Style.Underline, forTag: "underline")
self.titleLabel.text = "This is a <underline>TextyLabel</underline>"
```

You can also forego creating a TextStyle for simple attributes and use an attribute dictionary instead.
You can also forego creating a TextStyle and use an attribute dictionary instead.
```swift
let titleLabel: TextyLabel = TextyLabel(style: Style.Header1)
self.titleLabel.style.setAttributes([TextAttribute.underlineStyle : NSUnderlineStyle.styleSingle.rawValue], forTag: "underline")
Expand Down

0 comments on commit 6ba12f2

Please sign in to comment.