All Projects → Kirillzzy → Kaloader

Kirillzzy / Kaloader

Licence: mit
Beautiful animated placeholders for showing loading of data

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Kaloader

Extract-Color-Palette-Api
Create gradient drawable by extracting prominent colors from image⚫⚪
Stars: ✭ 16 (-83.84%)
Mutual labels:  color, gradient
Skeleton
Skeleton Android
Stars: ✭ 293 (+195.96%)
Mutual labels:  placeholder, gradient
gradient-rs
A command line tool for playing with color gradients
Stars: ✭ 93 (-6.06%)
Mutual labels:  color, gradient
Dynamiccolor
Yet another extension to manipulate colors easily in Swift and SwiftUI
Stars: ✭ 2,677 (+2604.04%)
Mutual labels:  color, gradient
Gradient String
🌈 Beautiful color gradients in terminal output
Stars: ✭ 476 (+380.81%)
Mutual labels:  color, gradient
colr
Easy terminal colors, with chainable methods.
Stars: ✭ 32 (-67.68%)
Mutual labels:  color, gradient
Skeletonui
☠️ Elegant skeleton loading animation in SwiftUI and Combine
Stars: ✭ 275 (+177.78%)
Mutual labels:  placeholder, gradient
Ocskeleton
[OCSkeleton] - Make your loading view a little difference.
Stars: ✭ 184 (+85.86%)
Mutual labels:  placeholder, gradient
Chromatic Sketch
Sketch plugin for creating good-looking and perceptually uniform gradients and color scales.
Stars: ✭ 445 (+349.49%)
Mutual labels:  color, gradient
Coolhue
Coolest Gradient Hues and Swatches
Stars: ✭ 3,307 (+3240.4%)
Mutual labels:  color, gradient
Uigradient
A simple and powerful library for using gradient layer, image, color
Stars: ✭ 208 (+110.1%)
Mutual labels:  color, gradient
Complimentarygradientview
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js
Stars: ✭ 691 (+597.98%)
Mutual labels:  color, gradient
Colorbands
Unity 3D's Gradient is a handy data type but comes with some limitations: for example you cannot set more than 8 color keys in its editor and RGB is the only color space available. ColorBand data type offers an alternative with less limitations. Creating ColorBands is fun and easy; they are stored as assets and can be accessed from code through an Evaluate method to get the color at time t, as for Gradient. RGB (or HSV) values are described by individual curves, allowing a better control over how the color function evolves between your points. Color bands are used in all kinds of applications including games, data visualization and other fields.
Stars: ✭ 137 (+38.38%)
Mutual labels:  color, gradient
Height-Based-Gradient-Color-Shaders-for-Unity
Height Based 2 color gradient shaders for Unity
Stars: ✭ 18 (-81.82%)
Mutual labels:  color, gradient
Rhplaceholder
Show pleasant loading view for your users 😍
Stars: ✭ 238 (+140.4%)
Mutual labels:  placeholder, gradient
elm-color-extra
🎨 Additional color handling for Elm
Stars: ✭ 28 (-71.72%)
Mutual labels:  color, gradient
Hue
🎨 Hue is the all-in-one coloring utility that you'll ever need.
Stars: ✭ 3,306 (+3239.39%)
Mutual labels:  color, gradient
Fast Average Color
🍏🍊🍅 Fast Average Color
Stars: ✭ 531 (+436.36%)
Mutual labels:  color, gradient
Colorgrad
Go (Golang) color scales library for maps, charts, data-visualization & creative coding.
Stars: ✭ 96 (-3.03%)
Mutual labels:  color, gradient
Stepper
Fancy Step Wizard 😎
Stars: ✭ 80 (-19.19%)
Mutual labels:  gradient

KALoader

CocoaPods Carthage Compatible Twitter GitHub license

Create breautiful animated placeholders for showing loading of data. You can change colors like you want. Swift 4 compatible.

alt tag alt tag alt tag

Usage

To add animated gray loader on any view:

view.showLoader()

To hide animated loader:

view.hideLoader()

You can ask is loader showing:

if view.isLoaderShowing() {
  view.hideLoader()
}

You can show loader with own custom colors and animation duration:

 let backColorRed = UIColor(red: 255.0 / 255, green: 75.0 / 255, blue: 97.0 / 255, alpha: 1.0)
 let firstLoadColorRed = UIColor(red: 239.0 / 255, green: 64.0 / 255, blue: 85.0 / 255, alpha: 1.0)
 let secondLoadColorRed = UIColor(red: 225.0 / 255, green: 54.0 / 255, blue: 75.0 / 255, alpha: 1.0)
 let colorsRed = [backColorRed, firstLoadColorRed, secondLoadColorRed, firstLoadColorRed, backColorRed]
 view.showLoader(colors: colorsRed, animationDuration: 1.5)

‼️ 'colors' array should get only 5 different colors

For more usage see 'Examples'

Installation

To integrate in your project:

  • Add the following to your Podfile and run pod install
pod 'KALoader'
  • Or add the following to your Cartfile and run carthage update
github "kirillzzy/KALoader"
  • Or clone as a git submodule

Author

Kirill Averyanov

License

MIT License

Copyright (c) 2017 Kirill Averyanov

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].