Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hulsizer/YetiCharacterLabelExample
https://github.com/hulsizer/YetiCharacterLabelExample
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hulsizer/YetiCharacterLabelExample
- Owner: hulsizer
- License: mit
- Created: 2014-07-21T03:26:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T01:29:12.000Z (almost 9 years ago)
- Last Synced: 2024-05-20T20:44:38.601Z (7 months ago)
- Language: Objective-C
- Size: 970 KB
- Stars: 351
- Watchers: 5
- Forks: 34
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mobile-ui - android1989/YetiCharacterLabelExample
README
YetiCharacterLabelExample
=========================**UILabel subclass to perform text effects**
Blog Post: https://swiftyeti.com/texteffects-with-nslayoutmanager
CharacterText uses NSLayoutManager to position CATextLayers for each glyph in your string. This gives you the power to create some neat text effect using all the attributes of CATextLayer.
CharacterText is inspired from Secret & the new iOS8 autocomplete effect.
## Usage
CharacterLabel can be used in place of UILabel.
You can subclass CharacterLabel to then create your own animations. Three examples are provided: FallingLabel, FadingLabel, and MotionLabel.
FallingLabel:
[![FallingLabel](http://i.imgur.com/0R2iMOp.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager)
FadingLabel:
[![FadingLabel](http://i.imgur.com/fzUTN4E.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager)
MotionLabel:
[![MotionLabel](http://i.imgur.com/jGR7PsR.gif)](https://swiftyeti.com/texteffects-with-nslayoutmanager)
CocoaPods:
You can add this to your project by using CocoaPods: `YETICharacterLabel`
Swift Version:
https://github.com/android1989/CharacterText