PowerMode

  • language: Swift 4
  • platform: ios
  • device: iphone/ipad
  • license: MIT

Tag

Download

Installation

Cocoapods


pod 'PowerMode'

Carthage


github "younatics/PowerMode"

Usage

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
isSparkActionEnabled Bool true
sparkColors [UIColor] [UIColor.black]

Shake action Property

Property Type Default
isShakeActionEnabled Bool true
shakeTranslationX CGFloat 0
shakeTranslationY CGFloat 2

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *