WBLoadingIndicatorView(加载等待动画)
生活随笔
收集整理的這篇文章主要介紹了
WBLoadingIndicatorView(加载等待动画)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
中文說明
基于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
- 使用示例
Author
author:wenbo
QQ:1050794513
email:1050794513@qq.com
更新
- 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.
總結
以上是生活随笔為你收集整理的WBLoadingIndicatorView(加载等待动画)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 梦到自己死了又活了是什么意思周公解梦
- 下一篇: 一起了解原型模式