Pulse 1.0.1

Pulse 1.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2017
SwiftSwift Version 3
SPMSupports SPM

Maintained by Omar Allaham.



Pulse 1.0.1

  • By
  • Omar Allaham

Pulse

Animated Pulse layer and view

Expermintal

this is an expermintal repo and will be updated soon. you feedback is welcome.

Screenshot

Alt text

Requirements

  • iOS 8.0+
  • Xcode 8.0+
  • Swift 3.0+

Installation

Manually

If you prefer not to use CocoaPods dependency manager, you can integrate Pulse into your project manually.

Copy the .swift files into your project or clone and include Pulse repo into your project

Usage

To use the layer:

    let pulseLayer = PulseLayer()
    pulseLayer.position = view.center
    pulseLayer.count = 10
    view.layer.addSublayer(pulseLayer)
    pulseLayer.animate()

    //when needed
    //pulseLayer.stop()

To use the view:

Directly in the layout builder:

Enjoy the Inspectable parameters

Programmatically:

    let pulseView = PulseView(frame: frame)
    pulseView.count = 10
    pulseView.color = UIColor.blue
    view.addSubview(pulseView)
    pulseView.isAnimating = true

    //when needed
    //pulseView.isAnimating = false

Todo

  • [x] Submit to CocoaPods
  • [ ] Add demo
  • [ ] your suggestions

License

MIT