Latest 0.0.2
Homepage https://github.com/taewan0530/TextFocuser
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, Foundation
Authors

Swift

Easily and automatically focuses on the textField in the scrollView.
Also available in collectionView and tableView.

Installation

  • For iOS 8+ projects with CocoaPods:

    
    pod 'TextFocuser', :git => 'https://github.com/taewan0530/TextFocuser'

Getting Started

class ViewController: UIViewController {

    @IBOutlet weak var scrollView: UIScrollView!
    var textFocuser: TextFocuser?

    override func viewDidLoad() {
        super.viewDidLoad()
        self.textFocuser = TextFocuser(scrollView: scrollView)
    }
}

Latest podspec

{
    "name": "TextFocuser",
    "version": "0.0.2",
    "summary": "AutoFocus on textField",
    "homepage": "https://github.com/taewan0530/TextFocuser",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "taewan kim": "[email protected]"
    },
    "source": {
        "git": "https://github.com/taewan0530/TextFocuser.git",
        "tag": "0.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Sources/*.{swift,h}",
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "requires_arc": true,
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This