LTMorphingLabel is a UILabel subclass written in Swift that applies graceful morphing animations when text changes.
The tool solves the problem of making text transitions visually interesting rather than instantaneous. It provides multiple built-in morphing effects including scale, evaporate, fall, pixelate, sparkle, burn, and anvil. Each effect animates the transition from old text to new text using different visual techniques. The sparkle effect uses Core Animation's CAEmitterLayer, with an alternative SpriteKit-powered implementation available. The label works as a drop-in replacement for UILabel, allowing developers to set text and optionally specify which morphing effect to apply.
The tool suits iOS developers building interfaces where text updates benefit from visual polish, such as keyboard prediction displays or dynamic content updates. It supports both UIKit and SwiftUI integration, making it accessible across different development approaches. The project supports installation through Swift Package Manager, CocoaPods, Carthage, and XCFramework formats, giving teams flexibility in dependency management. The minimum requirement is iOS 9.0 for UIKit usage, though SwiftUI integration requires iOS 13 or later.
The project maintains active support for modern Swift tooling and has been ported to Android and React Native by third parties. Development includes comprehensive examples demonstrating both interactive and programmatic usage patterns, with unit testing infrastructure in place. The codebase is organized with effect implementations separated into individual files, making the animation logic modular and maintainable.