Added auto-deselection for buttons after 0.1s to mimic default behavior
Right now, with dismissOnAction set to false, the buttons get stuck with their highlight after touching. This is due to the workaround for UITableView touch delay by manually selecting them, but never deselecting. This fix adds auto deselection for them after 0.1s.
Which default behaviour do you want to mimic? IIRC default alert view will be always disappear after pressing any button? I think I had gave you all control over LGAlertView: you can use blocks, delegates or notifications to catch the action, and add this auto-deselection specifically for your case.
Also if you use dispatch_after it is better to use weak reference to the sender.
And what will happen if I start pressing the same button very fast many times in a row? Is it predictable behaviour? I think we can get some broken state of button at some point, and it is better to add some statements to prevent it.
When this update will be merged with master and available at cocoapods update ?