BlockTap

open class BlockTap: UITapGestureRecognizer

Make sure you use [weak self] (gesture) in if you are using the keyword self inside the closure or there might be a memory leak

  • Undocumented

    Declaration

    Swift

    public override init(target: Any?, action: Selector?)
  • Undocumented

    Declaration

    Swift

    public convenience init (
        tapCount: Int = 1,
        fingerCount: Int = 1,
        action: ((UITapGestureRecognizer) -> Void)?)
  • Undocumented

    Declaration

    Swift

    @objc open func didTap (_ tap: UITapGestureRecognizer)