Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/jogendra/LoadingShimmer

An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
https://github.com/jogendra/LoadingShimmer

animation animations carthage cocoapods framework hacktoberfest ios ios-animation ios-swift ios11 labels library swift swift-4 swift-framework swift-library swift-package-manager swift4 xcode

Last synced: about 2 months ago
JSON representation

An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.

Lists

README

        

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

[![CI Status](https://img.shields.io/travis/jogendra/LoadingShimmer.svg?style=flat)](https://travis-ci.org/jogendra/LoadingShimmer)
[![Version](https://img.shields.io/cocoapods/v/LoadingShimmer.svg?style=flat)](https://cocoapods.org/pods/LoadingShimmer)
[![License](https://img.shields.io/cocoapods/l/LoadingShimmer.svg?style=flat)](https://cocoapods.org/pods/LoadingShimmer)
[![Platform](https://img.shields.io/cocoapods/p/LoadingShimmer.svg?style=flat)](https://cocoapods.org/pods/LoadingShimmer)



## 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod 'LoadingShimmer'
```
#### Manual Installation
Just drag the `LoadingShimmer.swift` files into your project.

## Usage
Start Covering Loading -
```swift
LoadingShimmer.startCovering(view)
```
Stop Covering Loading -
```swift
LoadingShimmer.stopCovering(view)
```
Don't forget to `import LoadingShimmer`

## Author

Jogendra Singh





The pod is inspired by [DWLoadingShimmer](https://github.com/iDwyane/DWLoadingShimmer)

## License

LoadingShimmer is available under the MIT license. See the [LICENSE](LICENSE) file for more info.