diff --git a/IP Setup/AppDelegate.swift b/IP Setup/AppDelegate.swift index f1cdd85..f3ecf4b 100644 --- a/IP Setup/AppDelegate.swift +++ b/IP Setup/AppDelegate.swift @@ -25,7 +25,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele splitViewController.delegate = self do { - manager = try Manager { + manager = try Manager(on: DispatchQueue.global(qos: .userInitiated)) { print($0) } } catch { diff --git a/IP Setup/Base.lproj/Main.storyboard b/IP Setup/Base.lproj/Main.storyboard index eedc957..ff8e911 100644 --- a/IP Setup/Base.lproj/Main.storyboard +++ b/IP Setup/Base.lproj/Main.storyboard @@ -210,7 +210,7 @@ - + @@ -249,19 +249,26 @@ - + - + - @@ -277,7 +284,7 @@ - + diff --git a/IP Setup/MasterViewController.swift b/IP Setup/MasterViewController.swift index af8c916..5d7798e 100644 --- a/IP Setup/MasterViewController.swift +++ b/IP Setup/MasterViewController.swift @@ -44,6 +44,7 @@ class MasterViewController: UITableViewController { @objc func searchCameras(_ sender: Any?) { do { objects.removeAll(keepingCapacity: true) + tableView.reloadData() try manager?.search() print("DiscoveryMessage is sent") } catch { diff --git a/Readme.md b/Readme.md index 56146c7..17fdf0e 100644 --- a/Readme.md +++ b/Readme.md @@ -7,8 +7,8 @@ macOS & iOS application to discover and configure network settings of Panasonic | Swift | Xcode | | ------------------------------------------------------------ | ----- | -| ```Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)``` | ```Version 9.3 (9E145)``` | -| ``` Target: x86_64-apple-darwin17.5.0 ``` | ```macOS 10.13.4 (17E199)``` | +| `Apple Swift version 4.1 (swiftlang-902.0.48 clang-902.0.37.1)` | `Version 9.3 (9E145)` | +| `Target: x86_64-apple-darwin17.5.0` | `macOS 10.13.4 (17E199)` | To start developing clone this repo with all its submodules ```shell