A morphing UILabel subclass written in Swift.
The .Scale
effect is originally introduced by Apple in WWDC 2014. New morphing effects are available as Swift extensions.
.Sparkle
is built on top of QuartzCore.CAEmitterLayer. There's also a SpriteKit powered version here.
- Xcode 6.1
- iOS 7.0+
- Improve diff performance
- Text kerning
- Text shadow
- Multiline
- Particles of
.Burn
is weired - Docs
- Add this line to your Cartfile:
github "lexrus/LTMorphingLabel"
- Run
carthage update
to fetch and build theLTMorphingLabel.framework
- Drag
LTMorphingLabel.framework
into your iOS 8 project
- Install the latest preview release of CocoaPods:
gem install cocoapods --pre
- Add this line to your Podfile:
pod 'LTMorphingLabel', '~> 0.0.3'
- Install the pod:
pod install
- Change the class of a label from UILabel to LTMorphingLabel;
- Programatically set a new String to its text property.
Open the project with Xcode 6 then press command + u.
Follow Lex Tang (@lexrus on Twitter)
This code is distributed under the terms and conditions of the MIT license.