Coder Social home page Coder Social logo

ios-circleprogressview's Introduction

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

NOTE: There is an Objective-C version of the control in this project as well. Cocopods however will only pull the swift project. If you need to integrate the Obj-C version, that is not supported at this time. May add a new podspec for that if someone wants to create a pull request for that feature.

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.
  • Center fill image.

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

ios-circleprogressview's People

Contributors

ertanunver avatar jaisonv avatar timothyrobb avatar vitobellini avatar xrolfex avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.