Skip to content

loading indicator in a form of a wave ( equalizers ) - Swift

License

Notifications You must be signed in to change notification settings

carabina/equawait

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

equawait

[![CI Status](http://img.shields.io/travis/Blank, Gal/equawait.svg?style=flat)](https://travis-ci.org/Blank, Gal/equawait) Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first. To create and display a waiting dialog :

func showwaitingwindow(message:String,showinview:UIView?) {

   waitWindow = EquaWait(frame: CGRectMake((UIApplication.sharedApplication().keyWindow?.center.x)! - 35, (UIApplication.sharedApplication().keyWindow?.center.y)! - 35, 70, 70))
    waitWindow!.animate()
    
    dispatch_async(dispatch_get_main_queue()) {
        
        if(showinview != nil){
            showinview!.addSubview(self.waitWindow!)
        }
        else{
            self.tabbar.view.addSubview(self.waitWindow!)
        }
    }

}


Requirements

Installation

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

pod "equawait"

Author

Blank, Gal galblank@gmail.com

License

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

About

loading indicator in a form of a wave ( equalizers ) - Swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 80.1%
  • Ruby 19.9%