All Projects → Dywane → Dwanimatedlabel

Dywane / Dwanimatedlabel

Licence: mit
An UILabel subclass that lets you animate text with different types

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Dwanimatedlabel

Tkswitchercollection
An animation switch collection
Stars: ✭ 877 (+248.02%)
Mutual labels:  uikit, coreanimation
DossyTextLabel
A subclass of UILabel reminiscent of Strong Bad's faithful Tandy 400.
Stars: ✭ 75 (-70.24%)
Mutual labels:  uilabel, uikit
Stepslider
StepSlider its custom implementation of slider such as UISlider for preset integer values.
Stars: ✭ 391 (+55.16%)
Mutual labels:  uikit, coreanimation
Vyplayindicator
PlayIndicator inspired by Apple's Music Player.
Stars: ✭ 47 (-81.35%)
Mutual labels:  uikit, coreanimation
Tkrubberindicator
A rubber animation pagecontrol
Stars: ✭ 1,337 (+430.56%)
Mutual labels:  uikit, coreanimation
Zswtappablelabel
UILabel subclass for links which are tappable, long-pressable, 3D Touchable, and VoiceOverable.
Stars: ✭ 148 (-41.27%)
Mutual labels:  label, uilabel
Cjlabel
A drop-in replacement for UILabel that supports NSAttributedString, rich text, display any view, links, select copy and more
Stars: ✭ 140 (-44.44%)
Mutual labels:  label, uilabel
Cltypinglabel
iOS UILabel with character by character typing /typewriter animation
Stars: ✭ 192 (-23.81%)
Mutual labels:  uikit, uilabel
Ppasyncdrawingkit
This is a iOS asynchronously drawing view Kit.
Stars: ✭ 205 (-18.65%)
Mutual labels:  uikit
Numl
A UI Design Language, WC UI Library, and Runtime CSS Framework for rapidly building interfaces that follow your Design System 🌈
Stars: ✭ 229 (-9.13%)
Mutual labels:  uikit
Underexpress
A free, responsive, ready to use website ui kit, built with bootstrap 4.
Stars: ✭ 205 (-18.65%)
Mutual labels:  uikit
Dashboard
🛩 🧶 Dashboard template built with tailwindcss.
Stars: ✭ 202 (-19.84%)
Mutual labels:  uikit
Axanimationchain
AXAnimationChain is a chain animation library, can be used to easily create CAAnimation based chain animation. There are two kinds of combination chain, one is called combination, the other is called link, created by the two ways above, the animation can be carried out at the same time, can also according to the time order, you can use the code to create a rich and complex animation.
Stars: ✭ 234 (-7.14%)
Mutual labels:  coreanimation
At Ui
A fresh and flat UI-Kit specially for desktop application, made with ♥ by Vue.js 2.0 (DEPRECATED)
Stars: ✭ 2,336 (+826.98%)
Mutual labels:  uikit
Mentornet
Code for MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks
Stars: ✭ 245 (-2.78%)
Mutual labels:  label
Komponents Deprecated
📦 React-inspired UIKit Components - ⚠️ Deprecated
Stars: ✭ 202 (-19.84%)
Mutual labels:  uikit
Cardparts
A reactive, card-based UI framework built on UIKit for iOS developers.
Stars: ✭ 2,374 (+842.06%)
Mutual labels:  uikit
Core Animation Fun House
Core Animation Examples (Basics, Replicator, Reflection, Wiggle Jiggle, Lissajous Curve, Sine Wave, etc.)
Stars: ✭ 249 (-1.19%)
Mutual labels:  coreanimation
Squaremosaiclayout
An extandable mosaic UICollectionViewLayout with a focus on extremely flexible customizations 🔶
Stars: ✭ 243 (-3.57%)
Mutual labels:  uikit
Swift Essentials
A set of essential Swift stuff I use in every single iOS app.
Stars: ✭ 223 (-11.51%)
Mutual labels:  uikit

DWAnimatedLabel

An UILabel subclass that lets you animate text with different types, inspired by RQShineLabel.

wave

中文教程

Features

  • Subclass of UILabel, easy to use
  • Use CADisplayLinkto perform smooth animation
  • Four different animation
  • Pure swift

typewritter

shine

fade

Installation

You want to add pod 'DWAnimatedLabel', '~> 1.1' similar to the following to your Podfile:

target 'MyApp' do
  pod 'DWAnimatedLabel', '~> 1.1'
end

Then run a pod install inside your terminal, or from CocoaPods.app.

Alternatively to give it a test run, run the command:

pod try DWAnimatedLabel

Usage

You need to import the module fire:

import DWAnimatedLabel

Then you can create the label just like using UILabel.

let label = DWAnimatedLabel(frame: CGRect(x: 20, y: 44, width: UIScreen.main.bounds.size.width, height: 100))
label.text = "LOADING"
label.font = UIFont.systemFont(ofSize: 70, weight: .bold)

Also you can choose animation type by setting the animationType property.

label.animationType = .wave

If you are using wave animation, you also need to set the placeHolderColor property, otherwise it will be UIColor.lightGray.

label.placeHolderColor = .blue

After setting up these properties you can use startAnimation(duration: TimeInterval, _ completion:(() -> Void)?) to start perform animation.

Requirements

  • iOS 9.0 +
  • Swift 4
  • Xcode 9

Contribution

You are welcome to fork and submit pull requests or issues.

License

DWAnimatedLabel is open-sourced software lincened under the MIT license.

Credits

DWAnimatedLabel is owned and maintained by Dywanedu

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].