Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jogendra/AnimatedMaskLabel
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.
https://github.com/jogendra/AnimatedMaskLabel
Last synced: 6 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/jogendra/AnimatedMaskLabel
- Owner: jogendra
- License: mit
- Created: 2019-05-22T09:10:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T17:13:53.000Z (over 5 years ago)
- Last Synced: 2024-12-05T06:33:46.746Z (7 days ago)
- Language: Swift
- Size: 382 KB
- Stars: 23
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - AnimatedMaskLabel - 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. (UI / Label)
- awesome-cocoa - AnimatedMaskLabel
- awesome-gradient - AnimatedMaskLabel - A nice gradient animated label that make easy to add a shimmering effect to any view. (Swift)
- awesome-ios-star - AnimatedMaskLabel - 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. (UI / Label)
README
# Animated Mask Label
[![Version](https://img.shields.io/cocoapods/v/AnimatedMaskLabel.svg?style=flat)](http://cocoapods.org/pods/AnimatedMaskLabel)
[![License](https://img.shields.io/cocoapods/l/AnimatedMaskLabel.svg?style=flat)](http://cocoapods.org/pods/AnimatedMaskLabel)
[![Platform](https://img.shields.io/cocoapods/p/AnimatedMaskLabel.svg?style=flat)](http://cocoapods.org/pods/AnimatedMaskLabel)
[![Join the chat at https://gitter.im/AnimatedMaskLabel/Lobby](https://badges.gitter.im/AnimatedMaskLabel/Lobby.svg)](https://gitter.im/AnimatedMaskLabel/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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](http://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'AnimatedMaskLabel'
```
#### Carthage[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
```bash
$ brew update
$ brew install carthage
```To integrate AnimatedMaskLabel into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github "jogendra/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](LICENSE) file for more info.