/TCAnimatedText

SwiftUI Animated Text - Swift Package

Primary LanguageSwiftMIT LicenseMIT

TCAnimatedText

License Stars Followers Forks

Written for TrailingClosure.com.

TCAnimatedText is a SwiftUI package that adds animations to ordinary Text views. When the input string of the AnimatedText changes, your text will come to life and showcase it's change with a wonderful animation.

Title

Usage

// Three Parameters:
// -- String Input
// -- Character Change Duration (seconds)
// -- Modifier Closure to change text style directly
AnimatedText($input, charDuration: 0.07) { text in
    text
        .font(.largeTitle)
        .fontWeight(.bold)
        .foregroundColor(.green)
}