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

Overview

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.

Comments
  • Not working with Objective C code

    Not working with Objective C code

    I tried to implement swift code with my objective C code as per apple documentation how to integrate swift file in objective C code. I am using latest Xcode 6.3. Swift code is also trigger but not able to see the animation. I debug the code and found that in "override func animationDidStop(anim: CAAnimation!, finished flag: Bool)" the value of flag is always comes 'false' so that animation is not working with objective C code. Can you please look into this why I am not able to see the animation in objective C Code.

    opened by dis123 3
  • Objective C implementation

    Objective C implementation

    I see that your other IBDesigner class has both a Swift and ObjC implementation. I was wondering/hoping if you were going to also convert this to ObjC? I could really use it in an app right about now.

    Thanks.

    opened by chrisjdavis 3
  • Animation doesn't repeat

    Animation doesn't repeat

    Hi there,

    I am trying to use the CCMRadarView with swift 3. I have made quite some modifications so that it could work. However, the problem now is that the animation is not working repeatedly. Any tips?

    opened by ahmed-khalil 1
  • Question: Use without Storyboard

    Question: Use without Storyboard

    I'm currently not using story board for my project. Would the CCMRadarView work the same way ? I have added it to my project but The animating circles don't fade out as the example given. Please help.

    opened by Daniel-Okoronkwo 1
  • Fix broken headings in Markdown files

    Fix broken headings in Markdown files

    GitHub changed the way Markdown headings are parsed, so this change fixes it.

    See bryant1410/readmesfix for more information.

    Tackles bryant1410/readmesfix#1

    opened by bryant1410 0
  • Correct the spelling of CocoaPods in README

    Correct the spelling of CocoaPods in README

    This pull requests corrects the spelling of CocoaPods 🤓 https://github.com/CocoaPods/shared_resources/tree/master/media

    opened by ReadmeCritic 0
Releases(1.0.2)
Owner
Carlos Compean
Carlos Compean
MGFlipView allows to create flipping view in easy way without worrying about flipping animation and flipping logic.

MGFlipView About If you are looking for an easy way of implement 3D flipping view, you are in the right place. MGFlipView allows to create flipping vi

Maciej Gomółka 47 Sep 28, 2022
BWMCoverView is a very easy to use advertising the carousel view, supports circular scrolling functions such as switching, asynchronous loading of images, animation, custom is very high.

BWMCoverView BWMCoverView is a very easy to use advertising the carousel view, supports circular scrolling functions such as switching, asynchronous l

Bi Weiming 31 Mar 10, 2021
Simple Interface Core Animation. Run type-safe animation sequencially or parallelly

Simple Interface Core Animation Sica can execute various animations sequentially or parallelly. Features Animation with duration and delay parallel /

CATS Open Source Softwares 1k Nov 10, 2022
An experiment for using SwiftUI's custom timing Animation to create an orbital-like animation.

Orbital-SwiftUI-Animation An experiment for using SwiftUI's custom timing curve to create an orbital-like animation. How it looks: How it works: Apply

Mostafa Abdellateef 7 Jan 2, 2023
SwiftUI-Text-Animation-Library - Text animation library for SwiftUI

⚠️ This repository is under construction. SwiftUI Text Animation Library Make yo

null 28 Jan 8, 2023
Swiftui-animation-observer - Track SwiftUI animation progress and completion via callbacks

SwiftUI Animation Observer Track SwiftUI animation progress and completion via c

Gordan Glavaš 9 Nov 5, 2022
Inspired by Fabric - Answers animation. Allows to "build" given view with pieces. Allows to "destroy" given view into pieces

ADPuzzleAnimation Whats inside Custom animation for UIView inspired by Fabric - Answers animation. Easy to use To create your first animation you need

Anton 126 Dec 25, 2022
FloatingBubbles is a customizable views that float like zero gravity animation.

Floating Bubbles FloatingBubbles is a customizable views that float like zero gravity animation. $ pod try FloatingBubbles Features Create Multiple V

Chandan Sharda 18 Oct 11, 2022
(Animate CSS) animations for iOS. An easy to use library of iOS animations. As easy to use as an easy thing.

wobbly See Wobbly in action (examples) Add a drop of honey ?? to your project wobbly has a bunch of cool, fun, and easy to use iOS animations for you

Sagaya Abdulhafeez 150 Dec 23, 2021
(Animate CSS) animations for iOS. An easy to use library of iOS animations. As easy to use as an easy thing.

wobbly See Wobbly in action (examples) Add a drop of honey ?? to your project wobbly has a bunch of cool, fun, and easy to use iOS animations for you

Sagaya Abdulhafeez 150 Dec 23, 2021
Twinkle is a Swift and easy way to make any UIView in your iOS or tvOS app twinkle.

Twinkle ✨ Twinkle is a Swift and easy way to make any UIView in your iOS or tvOS app twinkle. This library creates several CAEmitterLayers and animate

patrick piemonte 600 Nov 24, 2022
LottieUI - A library developed to make Lottie easy to implement. It supports iOS and macOS

LottieUI It is a library developed to make Lottie easy to implement. It supports

jasu 51 Dec 24, 2022
Tools for SwiftUI that helps perform Path and Shape animations, such us morphing circle or shape transformations

SwiftUI+PathAnimations ?? Introduction This packages contains SimilarShape and InterpolatedShape, both can be used to achieve shapes animations with S

Alfredo Delli Bovi 180 Dec 29, 2022
Protoyping-Project WallAngle - With this App, you can measure the angle without searching for tools and calculations

Protoyping-Project_WallAngle This is the App that I made for the Prototyping Pro

null 1 Apr 4, 2022
Easy animation library on iOS with Swift2

Cheetah Cheetah is an animation utility on iOS with Swift. Cheetah can animate any properties since Cheetah uses simple CADisplayLink run loop to chan

Suguru Namura 592 Dec 6, 2022
Letters animation allows you to click on different letters and accordingly it will animate letters in a cool way. It has a very attractive UI and is very easy to use.

Letters Animation Cool Letters Animation in iOS written in Swift. Preview Table of content :- Description How to add in your project Requirement Licen

MindInventory 31 Oct 4, 2022
Numbers animation allows you to click on different numbers and accordingly it will animate numbers in a cool way. It has a very attractive UI and is very easy to use.

Numbers Animation Cool Numbers Animation in iOS written in Swift. Preview Table of content :- Description How to add in your project Requirement Licen

MindInventory 31 Oct 4, 2022
Reading animation allows you to click on the different page numbers and accordingly it will animate page changes in a cool way. It has a very attractive UI and is very easy to use.

Reading Animation Cool Reading Animation in iOS written in Swift. Preview Table of content :- Description How to add in your project Requirement Licen

MindInventory 42 Oct 4, 2022