From 1bcd8d9f0e4f753a95eb4c570c224464026c44a5 Mon Sep 17 00:00:00 2001 From: AKosylo Date: Fri, 8 Sep 2023 14:16:32 +0200 Subject: [PATCH] few fixes after merge --- Samples/QuoteTableApp/QuoteTableViewController.swift | 2 +- Samples/QuoteTableApp/QuoteViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {