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.
Install / Use
/learn @jogendra/AnimatedMaskLabelREADME
Animated Mask Label
<img src="https://github.com/jogendra/AnimatedMaskLabel/blob/master/Screenshots/animatedMaskLabel.gif"> <table> <tr> <td>Demo Screen</td> <td>Screenshot</td> </tr> <tr> <td><img src="https://github.com/jogendra/AnimatedMaskLabel/blob/master/Screenshots/appdemo.gif" width="289.5"></td> <td><img src="https://github.com/jogendra/AnimatedMaskLabel/blob/master/Screenshots/animatedMaskLabelScreenshot.png" width="289.5"></td> </tr> </table>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 AnimatedMaskLabel into your Xcode project using Carthage, specify it in your Cartfile:
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 - <br>
<img src="Screenshots/setclass.png">
Step 2:
The text you want to animated:<br> <img src="Screenshots/attributedtext.png">
Author
<table> <tr> <td> <img src="https://avatars2.githubusercontent.com/u/20956124?s=400&u=01fab3fc9bb3d2ee799e314d3fe23c54d1deeb07&v=4" width="180"/> Jogendra Singh
<p align="center">
<a href = "https://github.com/jogendra"><img src = "http://www.iconninja.com/files/241/825/211/round-collaboration-social-github-code-circle-network-icon.svg" width="36" height = "36"/></a>
<a href = "https://twitter.com/jogendrafx"><img src = "https://www.shareicon.net/download/2016/07/06/107115_media.svg" width="36" height="36"/></a>
<a href = "https://www.linkedin.com/in/jogendrasingh24/"><img src = "http://www.iconninja.com/files/863/607/751/network-linkedin-social-connection-circular-circle-media-icon.svg" width="36" height="36"/></a>
</p>
</td>
</tr>
</table>
License
AnimatedMaskLabel is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
