Latest 0.9.4
Homepage https://github.com/younatics/PowerMode
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

🎶 PowerMode in iOS!

Version
Carthage Compatible
License: MIT
Platform
Build Status
Swift 4.0
iOS 9.0+

Shake_SparkAction_UITextView

Spark action Shake action
SparkAction_UITextField ShakeAction_UITextField
SparkAction_UITextView ShakeAction_UITextView

Requirements

PowerMode is written in Swift 4. Compatible with iOS 9.0+

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

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.

Latest podspec

{
    "name": "PowerMode",
    "version": "0.9.4",
    "summary": "PowerMode in iOS!",
    "description": "PowerMode in iOS! Use PowerMode!!",
    "screenshots": [],
    "homepage": "https://github.com/younatics/PowerMode",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Seungyoun Yi": "[email protected]"
    },
    "social_media_url": "https://twitter.com/younatics",
    "source": {
        "git": "https://github.com/younatics/PowerMode.git",
        "tag": "0.9.4"
    },
    "source_files": "PowerMode/*.swift",
    "platforms": {
        "ios": "9.0"
    },
    "frameworks": "UIKit",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "requires_arc": true,
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This