TapticSampler
Code examples of using UIFeedBackGenerator.
Install / Use
/learn @cokaholic/TapticSamplerREADME
TapticSampler
Code examples of using UIFeedBackGenerator.
Contents
<a name="features"> Features
- [x] You can try sample of UIKit modules including UIFeedBackGenerator
- [x] You can try sample of UIFeedBackGenerator
- [x] Support
Swift4
<a name="usage"> Usage
<p align="center"> <b> TopViewController</b><br><br> <img src="https://raw.githubusercontent.com/cokaholic/ImageAssets/master/TapticSampler/screenshot.png" width=300> </p>Sample of UIKit Modules Including UIFeedBackGenerator
-
UIRefreshControl
Feedback occur when you pulled down screen. -
UISwitch
Feedback occur when you changed switch. -
UIPickerView
Feedback occur when you changed picker. -
Peek and Pop
Feedback occur when you pressed "Peek and Pop" cell strongly.
- UIApplicationShortcutItem
Feedback occur when you pressed this app strongly from home screen.
Sample of UIFeedBackGenerator
-
UIImpactFeedbackGenerator
- light
- medium
- heavy
-
UINotificationFeedbackGenerator
- error
- warning
- success
-
UISelectionFeedbackGenerator
<a name="requirements"> Requirements
- Xcode 9.0+
- Swift 4.0+
- iOS 10.0+
<a name="author"> Author
Keisuke Tatsumi
iOS Application Engineer at AbemaTV Co., Ltd. CyberAgent, Inc.
