🎶 PowerMode in iOS!
July 8, 2026 · View on GitHub

| Spark action | Shake action |
|---|---|
![]() | ![]() |
![]() | ![]() |
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
| 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 |
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
License
PowerMode is available under the MIT license. See the LICENSE file for more info.



