From 7e4e97bfc779d2295bfebd3acc66ed6294705366 Mon Sep 17 00:00:00 2001 From: Daniel Rhodes Date: Sun, 19 Jun 2016 20:51:30 +0700 Subject: [PATCH] Updated for Swift 3 warnings --- Pod/Classes/RetryHandler.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pod/Classes/RetryHandler.swift b/Pod/Classes/RetryHandler.swift index a99be9c..6fc5fc6 100644 --- a/Pod/Classes/RetryHandler.swift +++ b/Pod/Classes/RetryHandler.swift @@ -59,7 +59,7 @@ internal class RetryHandler : NSObject { } func retry(callback: ((Void) -> (Void))) { - self.retries++ + self.retries += 1 // Save callback self.callback = callback @@ -70,7 +70,7 @@ internal class RetryHandler : NSObject { if (interval > 0.0) { self.timer = NSTimer.scheduledTimerWithTimeInterval(interval, target: self, - selector: "fire:", + selector: #selector("fire:"), userInfo: nil, repeats: false) }