Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cacmartinez/CCMRadarView
CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation
https://github.com/cacmartinez/CCMRadarView
Last synced: about 1 month ago
JSON representation
CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation
- Host: GitHub
- URL: https://github.com/cacmartinez/CCMRadarView
- Owner: cacmartinez
- License: apache-2.0
- Created: 2014-11-28T17:44:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-05T02:13:17.000Z (over 5 years ago)
- Last Synced: 2024-11-10T03:19:39.622Z (2 months ago)
- Language: Swift
- Size: 3.11 MB
- Stars: 182
- Watchers: 10
- Forks: 30
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - CCMRadarView - CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation. (UI / Animation)
- awesome-ios-star - CCMRadarView - CCMRadarView uses the IBDesignable tools to make an easy customizable radar view with animation. (UI / Animation)
README
CCMRadarView
==============[![License APACHE](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/cacmartinez/CCMRadarView/blob/master/LICENSE)
[![Release](https://img.shields.io/github/release/cacmartinez/CCMRadarView.svg)](https://github.com/cacmartinez/CCMRadarView)
[![Version](https://img.shields.io/cocoapods/v/CCMRadarView.svg?style=flat)](http://cocoadocs.org/docsets/CCMRadarView)
[![License](https://img.shields.io/cocoapods/l/CCMRadarView.svg?style=flat)](http://cocoadocs.org/docsets/CCMRadarView)
[![Platform](https://img.shields.io/cocoapods/p/CCMRadarView.svg?style=flat)](http://cocoadocs.org/docsets/CCMRadarView)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](https://github.com/cacmartinez/CCMRadarView/blob/master/Screenshots/radarInUse.gif)
Reversed Radar
![CCMRadarReversedView](https://github.com/cacmartinez/CCMRadarView/blob/master/Screenshots/reversedRadarInUse.gif)
==============
# 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](https://github.com/cacmartinez/CCMRadarView/blob/master/Screenshots/howToUse.gif)
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](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html) guide.
If you added the CCMRadarView through cocoapods use: `#import `
# 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](http://cocoapods.org). 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.