🎶 PowerMode in iOS!

July 8, 2026 · View on GitHub

Version Carthage Compatible License: MIT Platform Build Status Swift 6.0 iOS 13.0+

Shake_SparkAction_UITextView

Spark actionShake action
SparkAction_UITextFieldShakeAction_UITextField
SparkAction_UITextViewShakeAction_UITextView

Requirements

PowerMode is written in Swift 6. Compatible with iOS 13.0+. Supports Swift Package Manager, CocoaPods, and Carthage.

Usage

Just inherit PowerModeTextView or PowerModeTextField. Done!

Use pmTextViewDelegate or pmTextFieldDelegate for delegate.

You can also add some properties listed below

Spark action Property

PropertyTypeDefault
isSparkActionEnabledBooltrue
sparkColors[UIColor][UIColor.black]

Shake action Property

PropertyTypeDefault
isShakeActionEnabledBooltrue
shakeTranslationXCGFloat0
shakeTranslationYCGFloat2

Installation

Swift Package Manager

In Xcode, choose File ▸ Add Package Dependencies… and enter:

https://github.com/younatics/PowerMode.git

Or add it to your Package.swift:

dependencies: [
    .package(url: "https://github.com/younatics/PowerMode.git", from: "1.0.0")
]

Cocoapods

pod 'PowerMode'

Carthage

github "younatics/PowerMode"

References

Please tell me or make pull request if you use this library in your application :)

Author

younatics Twitter

License

PowerMode is available under the MIT license. See the LICENSE file for more info.