TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Apache 2 |
ReleasedLast Release | Apr 2015 |
Maintained by Bob Wieler, Kingsley Blatter, Carl Ansley.
TMAnimatedTextView is a UITextView subclass that allows animating NSTextAttachment attachments. UITextView allows adding images as an attachment but they are static and cannot be animated. This class:
With CocoaPods add the following to your Podfile.
pod 'TMAnimatedTextView'
Alternatively, you can add the TMAnimatedTextView.h and TMAnimatedTextView.m files to your project.
TMAnimatedTextView works well with storyboards.
A demo application is included that utilizes TMAnimatedTextView and includes custom animations for when the attachment is added as well as when the attachment is touched. This demo also shows how to set up the constraints for the component.