https://github.com/smakeev/pulsingbutton
UIButton subclass with pulsing effect. Also a pulsing layer which could be used in any view
https://github.com/smakeev/pulsingbutton
animation ios pulsing swift uibutton
Last synced: 11 months ago
JSON representation
UIButton subclass with pulsing effect. Also a pulsing layer which could be used in any view
- Host: GitHub
- URL: https://github.com/smakeev/pulsingbutton
- Owner: smakeev
- License: mit
- Created: 2020-03-21T19:58:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T21:57:56.000Z (about 6 years ago)
- Last Synced: 2025-03-30T13:16:14.353Z (about 1 year ago)
- Topics: animation, ios, pulsing, swift, uibutton
- Language: Swift
- Homepage:
- Size: 1.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PulsingButton

# How to use
```
pod "PulsingButton"
```
```swift
let button = PulsingButton()
button.translatesAutoresizingMaskIntoConstraints = false
self.view.addSubview(button)
button.pulsingColor = .orange
button.centerXAnchor.constraint(equalTo: self.view.centerXAnchor).isActive = true
button.centerYAnchor.constraint(equalTo: self.view.centerYAnchor).isActive = true
button.setTitle(" Press Me To See Pulsing ", for: .normal)
button.layer.cornerRadius = 25
button.backgroundColor = .orange
}
```