Skip to content

eduardourso/EUActivityView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EUActivityView

CI Status Version License Platform

Demo

alt tag alt tag

Usage

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

Installation

Avaliable in CocoaPods

EUActivityView is available through CocoaPods See the "Getting Started" guide for more information.

To install it, simply add the following line to your Podfile:

Podfile

platform :ios, '8.0'
pod "EUActivityView"

Then, run the following command

pod install

Practical use

var activityView = EUActivityView(frame: CGRectMake(0,0,100,100))
self.activityView.showCustomActivityView(self.view, type: .Pulse)

Then whenever you need to hide it just call the 'hideLoadingView' method

self.activityView.hideLoadingView()

Customizable

The EUALoadingView is completely customizable, follow bellow the properties that are avaliable for custom implementation.

type: EUActivityIndicatorStyle - there are 2 diferent types avaliable right now: .Pulse and .SoundScale
customBackgroundColor - setting up this property will override the background color of the squared view. 
customActivityIndicatorColor  -  setting up this property it will override the activity indicator color.

Example Project

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

Author

Eduardo Urso, eduardourso@gmail.com

License

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

About

A customizable activity indicator view written in swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published