Latest 0.0.1
Homepage https://github.com/KBvsMJ/EBTActivityViewDemo
License MIT
Platforms ios 8.0, requires ARC
Authors

活动指示器可以分别显示在屏幕的顶部 、最顶部、 中部、顶部等四个位置。移除指示器支持回调

使用pod指令添加类库到项目中:

  pod 'EBTActivityIndicatorView'

显示指示器方法:

顶部:
[EBTActivityIndicatorView showActivityIndicatorView:EBTActivityIndicatorViewPositionTop withContent:@"顶部活动指示器测试"];

最顶部:
[EBTActivityIndicatorView showActivityIndicatorView:EBTActivityIndicatorViewPositionTopMost withContent:@"最顶部活动指示器测试"];

中间:
[EBTActivityIndicatorView showActivityIndicatorView:EBTActivityIndicatorViewPositionMiddle withContent:@"中间活动指示器测试"];

底部:
[EBTActivityIndicatorView showActivityIndicatorView:EBTActivityIndicatorViewPositionBottom withContent:@"底部活动指示器测试"];

移除指示器

[EBTActivityIndicatorView dismissActivityIndicatorView:^{

    NSLog(@"移除指示器");
}];

演示效果图

Image

Latest podspec

{
    "name": "EBTActivityIndicatorView",
    "version": "0.0.1",
    "summary": "EBTActivityIndicatorView library",
    "description": "You can easily use custom activity indicators",
    "homepage": "https://github.com/KBvsMJ/EBTActivityViewDemo",
    "license": "MIT",
    "authors": {
        "KBvsMJ": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/KBvsMJ/EBTActivityViewDemo.git",
        "tag": "0.0.1"
    },
    "source_files": "EBTActivityIndicatorView/*.{h,m}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This