diff --git a/Samples/QuoteTableApp/QuoteTableViewController.swift b/Samples/QuoteTableApp/QuoteTableViewController.swift index 52a2ab894..3c18c1e1e 100644 --- a/Samples/QuoteTableApp/QuoteTableViewController.swift +++ b/Samples/QuoteTableApp/QuoteTableViewController.swift @@ -48,7 +48,7 @@ class QuoteTableViewController: UIViewController { } endpoint = try? builder?.build() endpoint?.add(observer: self) - try? endpoint?.connect("demo.dxfeed.com:7300") + _ = try? endpoint?.connect("demo.dxfeed.com:7300") subscription = try? endpoint?.getFeed()?.createSubscription(.quote) profileSubscription = try? endpoint?.getFeed()?.createSubscription(.profile) diff --git a/Samples/QuoteTableApp/QuoteViewController.swift b/Samples/QuoteTableApp/QuoteViewController.swift index a2be6e912..b610c82d7 100644 --- a/Samples/QuoteTableApp/QuoteViewController.swift +++ b/Samples/QuoteTableApp/QuoteViewController.swift @@ -49,7 +49,7 @@ class QuoteViewController: UIViewController { endpoint = try? DXEndpoint.builder().withRole(.feed).build() endpoint?.add(observer: self) } - try? endpoint?.connect(address) + _ = try? endpoint?.connect(address) } @IBAction func subscribeTapped(_ sender: Any) {