Skip to content

Animated Mask Label is a nice gradient animated label. This is an easy way to add a shimmering effect to any view in your app. It is useful as an unobtrusive loading indicator.

License

Notifications You must be signed in to change notification settings

Konfire/AnimatedMaskLabel

 
 

Repository files navigation

Animated Mask Label

Build Status Version License Platform Join the chat at https://gitter.im/AnimatedMaskLabel/Lobby

Demo Screen Screenshot

Demo/Example

For demo:

$ pod try AnimatedMaskLabel

To run the example project, clone the repo, and run pod install from the Example directory first.

$ cd Example
$ pod install

If you don't have CocoaPods installed, grab it with [sudo] gem install cocoapods.

$ open AnimatedMaskLabel.xcworkspace

Requirements

  • iOS 10.0 or later
  • Swift 4+
  • Xcode 9+

Installation

CocoaPods

AnimatedMaskLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AnimatedMaskLabel'

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Alamofire into your Xcode project using Carthage, specify it in your Cartfile:

github "imjog/AnimatedMaskLabel"

Run carthage update to build the framework and drag the built AnimatedMaskLabel.framework into your Xcode project.

Manual Installation

Just drag the AnimatedMaskLabel.swift files into your project.

Usage

Step 1:

Set your view class as AnimatedMaskLabel -

Step 2:

The text you want to animated:

Author

 Jogendra Singh

License

AnimatedMaskLabel is available under the MIT license. See the LICENSE file for more info.

About

Animated Mask Label is a nice gradient animated label. This is an easy way to add a shimmering effect to any view in your app. It is useful as an unobtrusive loading indicator.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 77.0%
  • Ruby 17.9%
  • Objective-C 5.1%