Latest 0.0.6
Homepage https://github.com/aabrahamyan/UbiqArchView
License MIT
Platforms ios 9.3
Authors

‘UbiqArchView’ is an apple App Store like animation, that shows circular progress of ongoing tasks in different states

[![CI Status](http://img.shields.io/travis/Armen Abrahamyan/AAPhotoLibrary.svg?style=flat)](https://travis-ci.org/Armen Abrahamyan/UbiqArchView)
Version
License
Platform

Checkout on Appetize.io.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

XCode8+
Minimum Deployment Target iOS 9.3

Installation

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

pod "UbiqArchView"

Manual Installation

Copy UbiqArchView.swift into your project

Usage

You can initialize it from XIB file as well as manually:

let ubiqArchView = UbiqArchView(frame: CGRect(origin: point, size: boundSize))

Update default parameters by setting them externaly:

//Add symbol size
ubiqArchView.symbolSize = 20
// Width of inner static circle and broken animatable arch circle
ubiqArchView.archlineWidth = 3
// Progress circle line width
ubiqArchView.progressLineWidth = 6
// Pause symbol thickness
ubiqArchView.pauseSymbolThickness = 4
// Vertical distance between pause symbols and circle
ubiqArchView.pauseSymbolTopMultiplicationFactor = 4
// Horizontal distance between two pause symbols
ubiqArchView.pauseSymbolsDistance = 3

Modify state when your process/task is pending, inprogress or finished

// Sets Pending state
ubiqArchView.setStatePending()
// Sets In Progress state
ubiqArchView.setStateInProgress()
// Sets Paused state
ubiqArchView.setStateInProgressWithPaused()
// Sets state Normal
ubiqArchView.setStateNormal()

Modify animatable progress by updating ‘progress’ property

ubiqArchView.progress = 0.7

Check or change process state by accessing or modifying ubiqState property

ubiqState = .pending

Whats New ?

  • Added pause state support
  • Added enum for handling state more correctly

License

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

Author

Armen Abrahamyan, [email protected]

Twitter

Latest podspec

{
    "name": "UbiqArchView",
    "version": "0.0.6",
    "summary": "UbiqArchView is a state related animatable view.",
    "description": "UbiqArchView is an apple App Store like animation, that shows circular progress of ongoing tasks in different states.",
    "homepage": "https://github.com/aabrahamyan/UbiqArchView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Armen Abrahamyan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/aabrahamyan/UbiqArchView.git",
        "tag": "0.0.6"
    },
    "social_media_url": "https://twitter.com/VvV_Spawn",
    "platforms": {
        "ios": "9.3"
    },
    "source_files": "UbiqArchView/UbiqArchView/source/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This