Latest 1.0.1
Homepage https://github.com/priore/DPKeyboardManager
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

Auto slide the view when keyboard appears

HOW TO USE :


import UIKit

class DPBaseViewController: UIViewController {

   let keyboardManager = DPKeyboardManager()

   override func viewDidAppear(_ animated: Bool) {
       super.viewDidAppear(animated)
       keyboardManager.enableKeybaordEvents(self.view)
   }

   override func viewWillDisappear(_ animated: Bool) {
       super.viewWillDisappear(animated)
       keyboardManager.disableKeyboardEvents()
   }
}

that’s all !!

Latest podspec

{
    "name": "DPKeyboardManager",
    "version": "1.0.1",
    "summary": "Auto slide the view when keyboard appears.",
    "homepage": "https://github.com/priore/DPKeyboardManager",
    "license": "MIT",
    "authors": {
        "Danilo Priore": "[email protected]"
    },
    "source": {
        "git": "https://github.com/priore/DPKeyboardManager.git",
        "tag": "1.0.1"
    },
    "social_media_url": "https://twitter.com/danilopriore",
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "frameworks": "UIKit",
    "source_files": "*.swift",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This