Преглед на файлове

Merge pull request #238 from SebastianOsinski/fix/ios_sample_wrong_ibaction_selector

Fix crash in iOS Sample app when `StopServer` button is pressed
Damian Kołakowski преди 9 години
родител
ревизия
94aa295ce6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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
     }