Explorar o código

Remove external parameter name from IBAction

Sebastian Osiński %!s(int64=9) %!d(string=hai) anos
pai
achega
a90a1112f4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      XCode/SwifterSampleiOS/ViewController.swift

+ 1 - 1
XCode/SwifterSampleiOS/ViewController.swift

@@ -22,7 +22,7 @@ class ViewController: UIViewController {
         }
     }
     
-    @IBAction func likedThis(sender: UIButton) {
+    @IBAction func likedThis(_ sender: UIButton) {
         self.server?.stop()
         self.server = nil
     }