PowerMode
- language: Swift 4
- platform: ios
- device: iphone/ipad
- license: MIT
Tag
Download
Installation
Cocoapods
pod 'PowerMode'
pod 'PowerMode'
Carthage
github "younatics/PowerMode"
github "younatics/PowerMode"Usage
Just inherit PowerModeTextView or PowerModeTextField. Done!
Use pmTextViewDelegate or pmTextFieldDelegate for delegate.
You can also add some properties listed below
Just inherit
PowerModeTextView or PowerModeTextField. Done!
Use
pmTextViewDelegate or pmTextFieldDelegate for delegate.
You can also add some properties listed below
Spark action Property
Property Type Default
isSparkActionEnabledBooltrue
sparkColors[UIColor][UIColor.black]
| Property | Type | Default |
|---|---|---|
isSparkActionEnabled | Bool | true |
sparkColors | [UIColor] | [UIColor.black] |
Shake action Property
Property Type Default
isShakeActionEnabledBooltrue
shakeTranslationXCGFloat0
shakeTranslationYCGFloat2
| Property | Type | Default |
|---|---|---|
isShakeActionEnabled | Bool | true |
shakeTranslationX | CGFloat | 0 |
shakeTranslationY | CGFloat | 2 |



