Browse Source

Remove external parameter name from IBAction

Sebastian Osiński 9 năm trước cách đây
mục cha
commit
a90a1112f4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
     }