Latest 1.4.0
Homepage https://github.com/zxin2928/ZXLoadingView
License MIT
Platforms ios 8.0, tvos 9.0
Frameworks UIKit, CoreGraphics
Authors

CI Status
Version
License
Platform

image

Example

To run the example project directory.

// Initialize the progress view
let loadingView:ZXLoadingView = ZXLoadingView.init(frame:CGRect.init(x: self.view.center.x, y: self.view.center.y, width: 100, height: 100))

// Set the line width of the loadingView
loadingView.lineWidth = 2.0
// Set the tint color of the loadingView
loadingView.tintColor = .red

// Add it as a subview
self.view.addSubview(loadingView)

...

// Start & stop animations
loadingView.startAnimating()
loadingView.stopAnimating()

Also Support Xib & StoryBoard

The lineWidth and tintColor properties can even be set after animating has been started, which you can observe in the included example project.

Requirements

swift4.0

Installation

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

pod 'ZXLoadingView'

Author

zxin2928, [email protected]

License

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

Latest podspec

{
    "name": "ZXLoadingView",
    "version": "1.4.0",
    "summary": "An iOS progress-activity(swift language)",
    "description": "It is an iOS progress-activity, and I hadn't found a recreation of it for iOS yet, so I created it using CoreGraphics and CoreAnimation, which makes it super lightweight, smooth, and scalable to large sizes.",
    "homepage": "https://github.com/zxin2928/ZXLoadingView",
    "license": "MIT",
    "authors": {
        "zxin2928": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/zxin2928/ZXLoadingView.git",
        "tag": "1.4.0"
    },
    "source_files": "ZXLoadingView/Classes/*.swift",
    "frameworks": [
        "UIKit",
        "CoreGraphics"
    ]
}

Pin It on Pinterest

Share This