Latest 1.0
Homepage https://github.com/adad184/MMPulseView
License MIT License
Platforms ios 7.0, requires ARC
Authors

[CocoaPods]()
[CocoaPods]()
[CocoaPods]()

A simple view to show circle pulse repeatly.

demo

Installation

The preferred way of installation is via CocoaPods. Just add

pod 'MMPulseView'

and run pod install. It will install the most recent version of MMPulseView.

If you would like to use the latest code of MMPulseView use:

pod 'MMPulseView', :head

Usage

pulseView.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
pulseView.colors = @[(__bridge id)[UIColor whiteColor].CGColor,
                     (__bridge id)[UIColor blackColor].CGColor,
                     (__bridge id)[UIColor whiteColor].CGColor];
pulseView.locations = @[@(0.3),@(0.5),@(0.7)];
pulseView.startPoint = CGPointMake(0, 0.5);
pulseView.endPoint = CGPointMake(1, 0.5);

pulseView.minRadius = 0;
pulseView.maxRadius = 100;

pulseView.duration = 3;
pulseView.count = 6;
pulseView.lineWidth = 3.0f;

[pulseView startAnimation];

Changelog

v1.0 first version

Latest podspec

{
    "name": "MMPulseView",
    "version": "1.0",
    "summary": "A simple view to show circle pulse repeatly.",
    "homepage": "https://github.com/adad184/MMPulseView",
    "license": {
        "type": "MIT License",
        "file": "LICENSE"
    },
    "authors": {
        "adad184": "[email protected]"
    },
    "source": {
        "git": "https://github.com/adad184/MMPulseView.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "Classes/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This