GithubHelp home page GithubHelp logo

jsooriah / ccmradarview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cacmartinez/ccmradarview

0.0 1.0 0.0 3.18 MB

CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation

License: Apache License 2.0

Ruby 11.47% Swift 88.53%

ccmradarview's Introduction

CCMRadarView

License APACHE Release Version License Platform

CCMRadarView is a simple to use view that uses the new IBDesignable and IBInspectable features of XCode6 to easily configure the icon in the center, the width of the waves of the radar, as well as the color, the number of waves,etc.

Here is a sample views of the radar:

Normal Radar

CCMRadarView

Reversed Radar

CCMRadarReversedView

==============

Usage

In the storyboard draw a view to your controller and assign it the CCMRadarView class, then customize it as you want in the Attributes inspector.

CCMRadarViewUsage

To start and stop animations in the radar, you should call the startAnimation() or the stopAnimation() methods. Don't forget to import your framework first.

###Importing Framework

####Swift

If you added the CCMRadarView.swift file to your project there is no need to import.

If you are using cocoapods use import CCMRadarView

####Objective-C

If you added the CCMRadarView.swift file to your project you will need to import the header with the following format #import "YourProjectName-Swift.h". For more information on this follow the Importing Swift into Objective-C guide.

If you added the CCMRadarView through cocoapods use: #import <CCMRadarView/CCMRadarView-Swift.h>

Requirements

Xcode version 6.0 or later.

iOS version 7.0 or later (8.0 or later for use with Cocoapods)

Installation

Files

Download or clone the repository, and copy the CCMRadarView.swift file to your project.

With CocoaPods

Requires CocoaPods v0.36.0 and iOS v8.0 or later

CCMRadarView is available through CocoaPods. To install it, simply add use_frameworks! line in your Podfile and the following line:

pod "CCMRadarView"

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

Author

Carlos Compean, [email protected]

License

CCMRadarView is available under the Apache License, Version 2.0. 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.