Giter Site home page Giter Site logo

mark2b / gaugekit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from skywinder/gaugekit

0.0 3.0 0.0 8.76 MB

Kit for building custom gauges + easy reproducible Apple's style ring gauges.

Home Page: https://www.cocoacontrols.com/controls/gaugekit

License: MIT License

Swift 94.18% Ruby 4.32% Objective-C 1.50%

gaugekit's Introduction

Version Build Status Carthage compatible language License Platform

GaugeKit

##Kit for building custom gauges + easy reproducible Apple's style ring gauges.

->

Example Usage

Just open GaugeKit.xcworkspace and run Example project.

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects.

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

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!

pod "GaugeKit"

Carthage

To integrate GaugeKit into your Xcode project using Carthage, specify it in your Cartfile:

github "skywinder/GaugeKit" >= 0.2

Embedded Framework

Add GaugeKit as a submodule by opening the Terminal, cd-ing into your top-level project directory, and entering the following command:

$ git submodule add https://github.com/skywinder/GaugeKit.git

Manually

If you prefer not to use either of the aforementioned dependency managers, you can simply add swift files into your project manually.

Features โœจ

  • Flexible and high-customizible gauges
  • Auto-resized views
  • Support @IBInspectable & @IBDesignable
  • Written with vanilla Swift flavor ๐Ÿค

Usage ๐ŸŒˆ

  • Put on storyboard UIView, and set them class Gauge and module GaugeKit:

GaugeKit

  • Select type of gauge (property type in class or gaugeTypeInt for changes directly in Interface builder)

     - case `Circle`
     - case `Left`
     - case `Right`
     - case `Line`
    

##Example:

GaugeKit GaugeKit

###IB Example:

GaugeKit

Requirements

  • iOS SDK 7.0 or later (iOS SDK 8.0 if you use it as a Framework)
  • Swift 1.2 and Xcode 6.3 or later
  • Swift 2.x.x is also supported!

Communication ๐Ÿ”ˆ

Bug reports, feature requests, patches, well-wishes are always welcome!

Contributing :octocat:

I'd love to see your ideas for improving this library.

The best way to contribute is by submitting a pull request.

License

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

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.