All Projects → shu223 → Pulsator

shu223 / Pulsator

Licence: mit
Pulse animation for iOS

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Pulsator

PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (-96.69%)
Mutual labels:  bluetooth, bluetooth-low-energy, ibeacon
Bluetoothlinux
Pure Swift Linux Bluetooth Stack
Stars: ✭ 149 (-87.96%)
Mutual labels:  bluetooth-low-energy, ibeacon, bluetooth
ios
CoThings's iOS application. CoThings is a realtime counter for shared things.
Stars: ✭ 13 (-98.95%)
Mutual labels:  bluetooth, bluetooth-low-energy, ibeacon
Reactivebeacons
Android library scanning BLE beacons nearby with RxJava
Stars: ✭ 171 (-86.19%)
Mutual labels:  bluetooth-low-energy, ibeacon, bluetooth
IoT-iBeacon
An Ionic app for indoor localization and navigation using BLE iBeacons.
Stars: ✭ 39 (-96.85%)
Mutual labels:  bluetooth, bluetooth-low-energy, ibeacon
Rxbluetoothkit
iOS & OSX Bluetooth library for RxSwift
Stars: ✭ 1,213 (-2.02%)
Mutual labels:  bluetooth-low-energy, bluetooth
Blegattcoroutines
Functional Bluetooth GATT for Android (all the meanings)
Stars: ✭ 343 (-72.29%)
Mutual labels:  bluetooth-low-energy, bluetooth
Bleak
Bluetooth Low Energy platform Agnostic Klient for Python
Stars: ✭ 415 (-66.48%)
Mutual labels:  bluetooth-low-energy, bluetooth
Awesome Beacon
A curated list of awesome Bluetooth beacon software and tools.
Stars: ✭ 785 (-36.59%)
Mutual labels:  bluetooth-low-energy, ibeacon
bluenet
Bluenet is the in-house firmware on Crownstone hardware. Functions: switching, dimming, energy monitoring, presence detection, indoor localization, switchcraft.
Stars: ✭ 79 (-93.62%)
Mutual labels:  bluetooth, bluetooth-low-energy
Gort
Command Line Interface (CLI) for RobotOps
Stars: ✭ 425 (-65.67%)
Mutual labels:  bluetooth-low-energy, bluetooth
Uart Smartwatch
Android App, Firmware and Circuit for a DIY Smartwatch working with Bluetooth Low Energy
Stars: ✭ 30 (-97.58%)
Mutual labels:  bluetooth-low-energy, bluetooth
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+166.96%)
Mutual labels:  bluetooth-low-energy, bluetooth
pyscrlink
Scratch-link for Linux written in python
Stars: ✭ 88 (-92.89%)
Mutual labels:  bluetooth, bluetooth-low-energy
Ios Pods Dfu Library
OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
Stars: ✭ 349 (-71.81%)
Mutual labels:  bluetooth-low-energy, bluetooth
bluer
BlueR — Official BlueZ Bindings for Rust
Stars: ✭ 43 (-96.53%)
Mutual labels:  bluetooth, bluetooth-low-energy
Bleu
BLE (Bluetooth LE) for U🎁 Bleu is the best in the Bluetooth library.
Stars: ✭ 481 (-61.15%)
Mutual labels:  bluetooth-low-energy, bluetooth
Luch
Small and easy to use Android library for BLE beacon monitoring
Stars: ✭ 55 (-95.56%)
Mutual labels:  bluetooth-low-energy, ibeacon
Gjlightbluetooth
自己封装的基于CoreBluetooth的蓝牙开发库,内附CoreBluetooth使用demo。数据传递基本上使用Block,还使用了Runtime等技术。
Stars: ✭ 50 (-95.96%)
Mutual labels:  bluetooth-low-energy, bluetooth
Qdomyos Zwift
Zwift bridge for smart treadmills and bike/cyclette
Stars: ✭ 63 (-94.91%)
Mutual labels:  bluetooth-low-energy, bluetooth

Pulsator

Badge w/ Version Carthage compatible License Twitter

Pulse animation for iOS written with Swift.

Great For:

  • Pulses of Bluetooth, BLE, beacons (iBeacon), etc.
  • Map Annotations

Installation

CocoaPods

Add into your Podfile.

pod "Pulsator"

Then $ pod install

Carthage

Add into your Cartfile.

github "shu223/Pulsator"

Then $ carthage update

How to use

Just 3 lines!

Initiate and add to your view's layer, then call start!

let pulsator = Pulsator()
view.layer.addSublayer(pulsator)
pulsator.start()

Customizations

Number of Pulses

Use numPulse property.

pulsator.numPulse = 3

Radius

Use radius property.

pulsator.radius = 240.0

Color

Just set the backgroundColor property.

pulsator.backgroundColor = UIColor(red: 1, green: 1, blue: 0, alpha: 1).cgColor

Animation Duration

Use following properties

  • animationDuration : duration for each pulse
  • pulseInterval : interval between pulses

Easing

You can set the timingFunction property.

Repeat

Use repeatCount property.

Demo

You can try to change the radius, backgroundColor or other properties with the demo app.

  • Example/PulsatorDemo.xcodeproj
<iframe src="https://appetize.io/embed/45kwjngp1xud45eeqhxqy8qqew?device=iphone6s&scale=75&autoplay=false&orientation=portrait&deviceColor=black" width="312px" height="653px" frameborder="0" scrolling="no"></iframe>

macOS support

Add into your Podfile, then run pod install.

platform :osx, '10.9'

target 'Pulsator' do
  use_frameworks!
  pod "Pulsator"
end

The usage is same as iOS.

let pulsator = Pulsator()
view.layer?.addSublayer(pulsator)
pulsator.start()

Objective-C version

There is an ObjC version, but it's not maintained now.

You can use Pulsator also with Objective-C.

#import "Pulsator-Swift.h"

Author

Shuichi Tsutsumi

iOS freelancer in Japan. Welcome works from abroad!

Support via PayPal
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].