Skip to content

Commit

Permalink
readme.md updated
Browse files Browse the repository at this point in the history
  • Loading branch information
DerHlopec committed Jun 8, 2021
1 parent 97b4d21 commit ee4da3a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ As of version 1.10.0, `TTTAttributedLabel` supports VoiceOver through the `UIAc
pod 'TTTAttributedLabel'
```

[SPM](https://swift.org/package-manager/). To install TTTAttributedLabel just add next line to your `Package.swift`:

```swift
...
dependencies: [
.package(name: "TTTAttributedLabel", url: "https://github.com/RossonskiyParen/TTTAttributedLabel", from: "2.0.1")
],
...
```

## Usage

`TTTAttributedLabel` can display both plain and attributed text: just pass an `NSString` or `NSAttributedString` to the `setText:` setter. Never assign to the `attributedText` property.
Expand Down

0 comments on commit ee4da3a

Please sign in to comment.