ATLoadView 1.0.0

ATLoadView 1.0.0

Maintained by ablettx.



 
Depends on:
ATLoadingView>= 0
ATCategories>= 0
Masonry>= 0
YYImage>= 0
 

  • By
  • ablett

ATLoadView

CI Status Version License Platform

Example

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

#import <ATLoadView/ATLoadView.h>
  • Load - Default
ATLoadView *view = [ATLoadView viewWithText:@"LOADING..."];
[view showIn:self.view];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
    [view hide];
});
  • Load - Light
ATLoadView *view = [ATLoadView viewWithLightStyle];
[view showIn:self.view];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
    [view hide];
});
  • Load - Dark
ATLoadView *view = [ATLoadView viewWithDarkStyle];
[view showIn:self.view];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
    [view hide];
});
  • Load - Gif image
ATLoadView *view = [ATLoadView viewWithGifImage:[YYImage imageNamed:@"popup_load_balls.gif"]];
[view showIn:self.view];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
    [view hide];
});

Requirements

Installation

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

pod 'ATLoadView'

Author

ablett, [email protected]

License

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