strivever / UIButton-touch

When the button Clicked continuously--iOS点击时间分类。1.连续点击是 执行第一次点击事件,忽略后续点击啊。 2.设置单个按钮不需要hook 3.多次点击按钮,只执行最后一次点击事件

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#UIButton+touch category #

  1. When the button Clicked continuously,this category will be helpful。The button only response for the first event and then will ignore the remaining。We can customize the time interval
  2. When a button dones't hook this, wo need set the button Property ‘isIgnore' true
  3. Use UIButton+delay.The button only response for the last event and then will ignore the remaining。We can also customize the time interval

About

When the button Clicked continuously--iOS点击时间分类。1.连续点击是 执行第一次点击事件,忽略后续点击啊。 2.设置单个按钮不需要hook 3.多次点击按钮,只执行最后一次点击事件


Languages

Language:Objective-C 100.0%