Latest 0.0.1
Homepage https://github.com/duynb92/DNLazyTableViewDelegate
License MIT
Platforms ios 9.0, requires ARC
Frameworks UIKit
Authors

Simply prevent monkey tapping on cell

How to use

public class YourViewController : UIViewController, DNLazyTableViewDelegate {
  //if you want to increase/decrease delayTime, override this method
  //leave it to have default value - 3 seconds
  public func delayTime() -> Int {
    return 3
  }

  public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
    //put this line anywhere in this method, or any other place 
    self.tableView(tableView, delayTapRowAt: indexPath)
  }
}

Latest podspec

{
    "name": "DNLazyTableViewDelegate",
    "platforms": {
        "ios": "9.0"
    },
    "summary": "DNLazyTableViewDelegate prevent monkey tapping on cell.",
    "requires_arc": true,
    "version": "0.0.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Duy Nguyen": "[email protected]"
    },
    "homepage": "https://github.com/duynb92/DNLazyTableViewDelegate",
    "source": {
        "git": "https://github.com/duynb92/DNLazyTableViewDelegate.git",
        "tag": "0.0.1"
    },
    "frameworks": "UIKit",
    "source_files": "DNLazyTableViewDelegate/**/*.{swift}",
    "pushed_with_swift_version": "echo "4.0" > .swift-version"
}

Pin It on Pinterest

Share This