Beautiful progress loader with wave animation and fully customizable
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Assets
Example
HeartLoadingView
.gitignore
.travis.yml
HeartLoadingView.podspec
LICENSE
README.md
_Pods.xcodeproj

README.md

HeartLoadingView

./HeartLoadingView

Version Language Supports License Platform

Twitter: @GhazouaniHamza

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Progress Amplitude
Color Progress Text

Requirements

  • iOS 8.0+
  • Xcode 9.2

Usage

  1. Change the class of a view from UIView to HeartLoadingView
  2. Programmatically:
let heartLoadingView = HeartLoadingView(frame: yourFrame)

Customization

  1. Progress level (0..<1)
heartLoadingView.progress = 0.5
  1. Amplitude
heartLoadingView.amplitude = 50.0
  1. Progress Text
heartLoadingView.isShowProgressText = true
  1. Progress Text Font
heartLoadingView.progressTextFont = UIFont.systemFont(ofSize: 15.0)
  1. Colors
heartLoadingView.heavyHeartColor = randomColor
heartLoadingView.lightHeartColor = randomColor.withAlphaComponent(0.5)
heartLoadingView.fillHeartColor = randomColor.withAlphaComponent(0.2)
  1. Animation
heartLoadingView.isAnimated = true

Installation

HeartLoadingView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'HeartLoadingView'

HeartLoadingView is also available through Carthage. To install it, simply add the following line to your Cartfile:

github "ShvetsDima/HeartLoadingView"

Author

Dima Shvets, aoedima@gmail.com

License

HeartLoadingView is available under the MIT license. See the LICENSE file for more info.