Skip to content

Commit 360f61a

Browse files
topLayoutGuidetopLayoutGuide
authored andcommitted
Add Pod to README
1 parent 7d0e324 commit 360f61a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ A marquee `UILabel` implementation, which utilises `UIScrollView` and `CADisplay
66
## Installation with CocoaPods
77

88
```ruby
9-
pod 'UICollectionViewLeftAlignedLayout'
9+
pod 'UIScrollLabel'
1010
```
1111

1212
## Usage
1313

1414
Simply set `UIScrollLabel` as the subclass of your `UIScrollView` object, set the text in code, and you're good to go!
1515

1616
```swift
17+
import UIScrollLabel
18+
19+
// ...
20+
1721
let pid = UIScrollLabel(frame: CGRect(x: 0, y: 0, width: screenWidth, height: 60))
1822
pid.font = UIFont.boldSystemFont(ofSize: 40)
1923
pid.textColor = UIColor.red

0 commit comments

Comments
 (0)