jogendra/LoadingShimmer
关于
只需一行代码,即可为任意视图添加闪烁效果。适合作为不打扰用户的加载指示器。
创作与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文LoadingShimmer
An easy way to add a shimmering effect to any view with just single line of code. It is useful as an unobtrusive loading indicator. This is a network request waiting for the framework, the framework to increase the dynamic effect, convenient and fast, a line of code can be used.
|
![]() |
Demo/Example
For demo:
$ pod try LoadingShimmer
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 LoadingShimmer.xcworkspace
Requirements
- iOS 10.0 or later
- Swift 5+
- Xcode 10+
Installation
CocoaPods
LoadingShimmer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LoadingShimmer'
Manual Installation
Just drag the LoadingShimmer.swift files into your project.
Usage
Start Covering Loading -
LoadingShimmer.startCovering(view)
Stop Covering Loading -
LoadingShimmer.stopCovering(view)
Don't forget to import LoadingShimmer
Author
|
Jogendra Singh |
The pod is inspired by DWLoadingShimmer
License
LoadingShimmer is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…
