CocoaPods trunk is moving to be read-only. Read more on the blog, there are 15 months to go.

RYAngelWalker 0.2.2

RYAngelWalker 0.2.2

Maintained by ‘RisingSSR’.



  • By
  • RisingSSR

RYAngelWalker

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

RYAngelWalker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RYAngelWalker'

How to use

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.addSubview(walkerLab)
    }
    
    lazy var walkerLab: TrotingLabel = {
        let lab = TrotingLabel(frame: CGRect(x: 10, y: 100, width: 111, height: 40))
        lab.backgroundColor = .green
        lab.font = .systemFont(ofSize: 18)
        lab.textColor = .black
        lab.pause = 2
        lab.add("数据结构非常非常恶心,恶心到一定境界了")
        return lab
    }()
}

Author

RisingSSR, [email protected]

License

RYAngelWalker is available under the MIT license. See the LICENSE file for more info.