RecordButtonView
A simple iOS record button writing in Swift.
Requirements
- Swift 4. Should work with Swift 3
Example Project
You have a fully functional demo in Example folder
Usage
Interface Builder
- Drag RecordButton class into your project
- In your storyboard, select a UIView
- Go the the identity inspector and in the class field, type RecordButton instead of UIView
- In your ViewController add the following
Manually
- Drag RecordButton class into your project
- In your ViewController add the following
Delegate
The ViewController should conform RecordButtonDelegate protocol to control when the button is pressed
Support/Issues
If you have any questions, please don't hesitate to create an issue.
To-Do
- Add Cocoapods