All Projects → cl7 → Cltypinglabel

cl7 / Cltypinglabel

Licence: mit
iOS UILabel with character by character typing /typewriter animation

Programming Languages

swift
15916 projects
swift4
162 projects

Projects that are alternatives of or similar to Cltypinglabel

Bfkit
BFKit is a collection of useful classes and categories to develop Apps faster.
Stars: ✭ 811 (+322.4%)
Mutual labels:  cocoapods, uikit
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+401.56%)
Mutual labels:  cocoapods, uikit
Vtacknowledgementsviewcontroller
Acknowledgements screen displaying a list of licenses, for example from CocoaPods dependencies.
Stars: ✭ 863 (+349.48%)
Mutual labels:  cocoapods, uikit
Watchdoginspector
Shows your current framerate (fps) in the status bar of your iOS app
Stars: ✭ 497 (+158.85%)
Mutual labels:  cocoapods, uikit
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+5476.04%)
Mutual labels:  cocoapods, uikit
Cyltabbarcontroller
[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
Stars: ✭ 6,605 (+3340.1%)
Mutual labels:  cocoapods, uikit
Weekdayssegmentedcontrol
A Custom segmented control to select weekdays for iOS
Stars: ✭ 14 (-92.71%)
Mutual labels:  cocoapods, uikit
Tweetextfield
Lightweight set of text fields with nice animation and functionality. 🚀 Inspired by https://uimovement.com/ui/2524/input-field-help/
Stars: ✭ 421 (+119.27%)
Mutual labels:  cocoapods, uikit
Tkrubberindicator
A rubber animation pagecontrol
Stars: ✭ 1,337 (+596.35%)
Mutual labels:  cocoapods, uikit
Dtgradientbutton
Easy way to set gradient background to your buttons.
Stars: ✭ 76 (-60.42%)
Mutual labels:  cocoapods, uikit
Ttsegmentedcontrol
An elegant, animated and customizable segmented control for iOS created by Tapptitude
Stars: ✭ 471 (+145.31%)
Mutual labels:  cocoapods, uikit
Uilabel Copyable
A simple category to add copy functionality to UILabel.
Stars: ✭ 113 (-41.15%)
Mutual labels:  cocoapods, uilabel
Ppcounter
iOS与macOS中一款优雅的数字/金额增减动效组件
Stars: ✭ 451 (+134.9%)
Mutual labels:  cocoapods, uilabel
Statusalert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way.
Stars: ✭ 809 (+321.35%)
Mutual labels:  cocoapods, uikit
Hokusai
A Swift library to provide a bouncy action sheet
Stars: ✭ 431 (+124.48%)
Mutual labels:  cocoapods, uikit
Tkswitchercollection
An animation switch collection
Stars: ✭ 877 (+356.77%)
Mutual labels:  cocoapods, uikit
Tlyshynavbar
Unlike all those arrogant UINavigationBar, this one is shy and humble! Easily create auto-scrolling navigation bars!
Stars: ✭ 3,780 (+1868.75%)
Mutual labels:  cocoapods, uikit
Acknowlist
Acknowledgements screen displaying a list of licenses, for example from CocoaPods dependencies.
Stars: ✭ 392 (+104.17%)
Mutual labels:  cocoapods, uikit
Swifticonfont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon)
Stars: ✭ 1,094 (+469.79%)
Mutual labels:  cocoapods, uilabel
Efautoscrolllabel
A label which can scroll when text length beyond the width of label.
Stars: ✭ 111 (-42.19%)
Mutual labels:  cocoapods, uilabel

CLTypingLabel Language

A lightweight UILabel subclass with character by character typewriter like animation in Swift, super simple to use

iOS上自带逐字打印动画效果的UILabel

Installation

Manual

  1. Copy and paste CLTypingLabel.swift to your xcode project.

CocoaPods

  1. Install the latest release of CocoaPods: gem install cocoapods
  2. Add this line to your Podfile: pod 'CLTypingLabel'
  3. Install the pod: pod install

Usage

  1. Change the class of a label from UILabel to CLTypingLabel;
2. Programmatically set the .text property of your CLTypingLabel to a new String. The animation will be triggered automatically.

Sample Code

@IBOutlet weak var myTypeWriterLabel: CLTypingLabel!

At runtime, set text of the label will trigger animation automatically:

myTypeWriterLabel.text = "This is a demo of typing label animation..."

You can also trigger what you need after animation is finished:

myTypeWriterLabel.onTypingAnimationFinished = {
	//code goes here
}

Also works on attributedText:

myTypeWriterLabel.attributedText = NSAttributedString(string: "This is an attributed text typing animation...", attributes: attr)

You can pause the typing animation at any time:

myTypeWriterLabel.pauseTyping() //this will pause the typing animation
myTypeWriterLabel.continueTyping() //this will continue paused typing animation

And customize time interval between each character:

myTypeWriterLabel.charInterval = 0.08 //optional, default is 0.1

License

This code is distributed under the terms and conditions of the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].