https://github.com/fromkk/strokeview
`StrokeView` is handlable round trip gesture on extended `UIView`.
https://github.com/fromkk/strokeview
Last synced: 9 months ago
JSON representation
`StrokeView` is handlable round trip gesture on extended `UIView`.
- Host: GitHub
- URL: https://github.com/fromkk/strokeview
- Owner: fromkk
- License: mit
- Created: 2018-09-23T10:24:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T10:34:10.000Z (over 7 years ago)
- Last Synced: 2025-08-18T20:16:53.430Z (10 months ago)
- Language: Swift
- Size: 141 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# StrokeView

`StrokeView` is handlable round trip gesture on extended `UIView`.
# Usage
```swift
class ViewController: UIViewController, StrokeViewDelegate {
override func viewDidLoad() {
super.viewDidLoad()
let strokeView: StrokeView = StrokeView()
strokeView.delegate = self
view.addSubview(strokeView)
}
func strokeViewDidStroke(_ strokeView: StrokeView) {
print("did stroke!!!")
}
}
```