Skip to content

3months/iOS-CircleProgressView

 
 

Repository files navigation

iOS CircleProgressView

This control will allow a user to use code instantiated or interface builder to create and render a circle progress view.

This repository is referenced in the blog post: iOS CircleProgressView

Features

  • Increase or decreasing progress changes.
  • Variable track width.
  • Track image optional.
  • Track background color.
  • Track fill color.
  • Track border color.
  • Track border width.
  • Center fill color.

Requirements

XCode 6 Swift iOS 7 +

Configuration

  • If you are using a swift only project simply copy CircleProgressView.swift to your project. Swift requires no specific imports.

  • If you are using a hybrid app where you are starting with an objective c project, you will need to import the swift class by full name.

#import "CircleProgressView-Swift.h"

Usage

CircleProgressView can be used via code or interface builder.

  • If configuring via code, use the traditional init methods and properties.

  • If using Interface Builder, CircleProgressView takes advantage of XCode 6's new

@IBDesignable 

and

@IBInspectable 

properties that allow developers to render and configure custom controls in Interface Builder.

Preview

Interface Builder live rendering.

Live Rendering

Interface Builder control configurations.

Controls

App Preview

Preview Simulator Preview Simulator

Author / License

Copyright Cardinal Solutions 2013. Licensed under the MIT license. LOGO

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.3%
  • Ruby 4.7%