Latest 1.1.4
Homepage https://github.com/wenmobo/WBLoadingIndicatorView
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, QuartzCore
Authors

WBLoadingIndicatorView
WBLoadingIndicatorView
WBLoadingIndicatorView
WBLoadingIndicatorView
WBLoadingIndicatorView
WBLoadingIndicatorView

中文说明


WBLoadingIndicatorViewWBLoadingIndicatorView
WBLoadingIndicatorViewWBLoadingIndicatorView

WBLoadingIndicatorViewWBLoadingIndicatorView

基于CALayer封装加载等待动画,目前支持6种类型动画:

typedef NS_ENUM(NSInteger, WBLoadingAnimationType) {
WBLoadingAnimationcircleStrokeSpinType,
WBWBLoadingAnimationBallPulseType,
WBWBLoadingAnimationBallClipRotateType,
WBWBLoadingAnimationBallClipRotatePulseType,
WBWBLoadingAnimationBallClipRotateMultipleType,
WBWBLoadingAnimationBallTrianglePathType,
WBLoadingAnimationBallSurround
};

Requirements

  • iOS 8+
  • Xcode 8+

Installation

Cocoapods安装

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

pod 'WBLoadingIndicatorView'

手动安装

WBLoadingIndicatorView文件夹拖入工程即可。

Usage

  • 使用示例
    WBLoadingIndicatorView *indicatorView = [WBLoadingIndicatorView wb_showIndicatorAddTo:self.view];
    indicatorView.type = WBLoadingAnimationBallSurround;
    indicatorView.indicatorSize = CGSizeMake(45, 45);
    indicatorView.backgroundView.backgroundColor = [UIColor whiteColor];
    indicatorView.bezelView.style = WBLoadingIndicatorBackgroundSolidStyle;
    indicatorView.bezelView.backgroundColor = [UIColor clearColor];
    indicatorView.indicatorColor = [UIColor orangeColor];

    Author

author:wenbo
QQ:1050794513
email:[email protected]

更新

  • 2018-09-17(1.1.4):优化layer动画添加时机,修复更新view大小,动画闪烁问题,参考MyLinearLayout视图布局完成block。
  • 2018-09-16(1.1.1):重构,添加WBLoadingAnimationBallSurround动画
  • 2018-09-11(1.0.1):添加背景模糊效果

License

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

Latest podspec

{
    "name": "WBLoadingIndicatorView",
    "version": "1.1.4",
    "summary": "u4e00u7ec4u7cbeu7f8eu7684u52a0u8f7du7b49u5f85u52a8u753b",
    "homepage": "https://github.com/wenmobo/WBLoadingIndicatorView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wenmobo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wenmobo/WBLoadingIndicatorView.git",
        "tag": "1.1.4"
    },
    "social_media_url": "http://blogwenbo.com/",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "WBLoadingIndicatorView/*.{h,m}",
    "frameworks": [
        "UIKit",
        "QuartzCore"
    ],
    "requires_arc": true,
    "subspecs": [
        {
            "name": "WBAnimations",
            "source_files": "WBLoadingIndicatorView/WBAnimations/*.{h,m}"
        }
    ]
}

Pin It on Pinterest

Share This