- December 17, 2024
- Mins Read
A morphing UILabel subclass written in Swift. The .Scale
effect mimicked Apple’s QuickType animation of iOS 8 of 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.
public var body: some View {
VStack {
MorphingText(
“Awesome Morphing Text”,
effect: .evaporate,
font: UIFont.systemFont(ofSize: 20),
textColor: .black,
textAlignment: .center
).frame(maxWidth: 200, maxHeight: 100)
…
https://github.com/lexrus/LTMorphingLabel
then follow the instructionXCFramework is a new option introduced in Xcode 11. You can manually download the pre-compiled LTMorphingLabel.xcframework.zip from the Releases page. Then drag and drop it into your project.
github "lexrus/LTMorphingLabel"
gem install cocoapods
pod 'LTMorphingLabel'
pod install
.package(url: “https://github.com/lexrus/LTMorphingLabel.git”, .upToNextMajor(from: “0.9.2”)),
LTMorphingLabel
to your App targets dependencies like so:
.target(
name: “App”,
dependencies: [
“LTMorphingLabel”,
]
),
accio update
..pause()
after changing .text
property, and use updateProgress(progress: Float)
to update the progress interactively.Open the project with Xcode then press command + u.
Even though this lib was used in a few products on App Store, it’s still an experimental project. Frankly, there’re some nice competitors out there guarantee both compatibility and stability. And the most outstanding one is ZCAnimatedLabel. I’d like to recommend it for production use.
And finally, an Android port.
A vertical stackview which takes subviews with different widths and adds them to it's rows with paddings, spacings etc.
AudioManager is a Swift package that provides a modular and easy-to-use interface for implementing audio feedback in your applications. It ...