AYTypeWriter
Demo
How to use
You can use the AYTypeWriterView class either in code or in IB.
Pass your text and start the animation:
typewriterView.label.text = "Hello, AYTypeWriterView 📝"
typewriterView.startAnimation()
typewriterView.delegate = self
Customize the appearance of text by using label properies or attributtedString
/*
Customization 1
*/
typewriterView.label.textColor = primaryColor
typewriterView.label.font = primaryFont
/*
Customization 2
*/
typewriterView.label.attributedText = getAttributedText()
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Installation
AYTypeWriter is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AYTypeWriter'
Author
Anson (Enxin) Yao, [email protected]
License
AYTypeWriter is available under the MIT license. See the LICENSE file for more info.