[](https://travis-ci.org/Blank, Gal/equawait)
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!)
}
}
}
equawait is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "equawait"
Blank, Gal [email protected]
equawait is available under the MIT license. See the LICENSE file for more info.