Skip to content

Instantly share code, notes, and snippets.

Joel Perry joel-perry

  • Nashville, TN
Block or report user

Report or block joel-perry

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
joel-perry / gist:17e02a92ae93d7208887
Last active Jul 18, 2018
Simple TapTempo class for Swift
View gist:17e02a92ae93d7208887
class DTTapTempo {
private let timeOutInterval: NSTimeInterval
private let minTaps: Int
private var taps: [NSDate] = []
init(timeOut: NSTimeInterval, minimumTaps: Int) {
timeOutInterval = timeOut
minTaps = minimumTaps
You can’t perform that action at this time.