Latest 0.0.2
Homepage https://github.com/Friendpeng/FPProgressHUD
License MIT
Platforms ios 8.0, requires ARC
Authors

A simple loading animation

  • 用Swift实现的多个小圆点逐个变大缩小动画,支持自定以圆点的大小,圆点之间的间距,动画时间,是否自动消失等 By Swift implementation of multiple small dots of one larger narrow animation, support customised to the size of the dot, dot, the spacing between the animation time, whether disappear automatically, etc

Features

  • 圆点的大小(The size of the dot )
  • 圆点之间的间距(Spacing between the dots)
  • 动画时间(Animation time)
  • 是否自动消失(If disappear automatically)
  • 自定义颜色(Custom colors)

Requirements

  • iOS 8.0+
  • Xcode 8.0+
  • Swift 3.0+

Installation

1. CocoaPods

pod 'FPProgressHUD', '~> 0.0.2'

2. SourceCode

Usage

引入Module

import FPProgressHUD

使用很简单一句代码OK

let hud = FPProgressHUD.init(numberOfCircles: 3,
                             internalSpacing: 3,
                                      radius: 15,
                                       delay: 0.2,
                                    duration: 0.8,
                                       Color: UIColor.orange,
                                    autoHide:false)
// 显示
hud.show()
// 隐藏
hud.hide()

}

具体使用和自定义可以下载demo查看

Demo

  1. Example

Example

Latest podspec

{
    "name": "FPProgressHUD",
    "version": "0.0.2",
    "summary": "A short description of FPProgressHUD.",
    "description": "A simple loading animation Support multiple dot animation",
    "homepage": "https://github.com/Friendpeng/FPProgressHUD",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u6768u670b": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Friendpeng/FPProgressHUD.git",
        "tag": "0.0.2"
    },
    "source_files": "FPProgressHUDDemo/FPProgressHUD/Classes/*",
    "requires_arc": true,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This