Sfoglia il codice sorgente

Remove external parameter name from IBAction

Sebastian Osiński 9 anni fa
parent
commit
a90a1112f4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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
     }