Latest 0.1.3
Homepage https://github.com/Lasithih/LIHArcView
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Lasith Hettiarachchi/LIHArcView.svg?style=flat)](https://travis-ci.org/Lasith Hettiarachchi/LIHArcView)
Version
License
Platform

Usage


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

Using Storyboard

Drag UIView to your view controller and set "LIHArcView" as the class of the UIVIew.

Using Code

Import the module using

    import LIHAlert
let arcView = LIHArcView()
arcView.width = 10
arcView.arcColor = UIColor.blueColor

See the example project for more customizations.

You can change following properties

    public var startAngle:CGFloat //Default is 0
    public var endAngle:CGFloat //Default is 2*π
    public var isAnimatable: Bool //Default is false
    public var arcColor: UIColor //Default is UIColor.blueColor

    public var width: CGFloat //Default is 20.0

    public var isDashedLine: Bool //Default is false
    public var dashedLinePattern: [CGFloat] //Default is [width,width]

    public var isDottedLine: Bool //Default is false
    public var dottedSpacing: CGFloat = 40 //Default is width*2
    public var roundCorners: Bool //Default is false

    public var topPadding: CGFloat //Default is 0.0
    public var bottomPadding: CGFloat //Default is 0.0
    public var leftPadding: CGFloat //Default is 0.0
    public var rightPadding: CGFloat //Default is 0.0

Requirements

iOS 7+

Installation

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

pod "LIHArcView"

Author

Lasith Hettiarachchi, lasithih@yahoo.com

License

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

Latest podspec

{
    "name": "LIHArcView",
    "version": "0.1.3",
    "summary": "Highly customizable arc view",
    "description": "LIHArcView is can be used to draw and animate arcs.",
    "homepage": "https://github.com/Lasithih/LIHArcView",
    "license": "MIT",
    "authors": {
        "Lasith Hettiarachchi": "lasithih@yahoo.com"
    },
    "source": {
        "git": "https://github.com/Lasithih/LIHArcView.git",
        "tag": "0.1.3"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "LIHArcView": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This