Skip to content

Commit

Permalink
change name, text of connection state
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Mar 25, 2024
1 parent e2e8508 commit c1f1dd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 8 additions & 6 deletions DXFeedFramework.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3066,10 +3066,11 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = NU75WFM6U6;
DEVELOPMENT_TEAM = 485XM3FRHB;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Samples/QuoteTableApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = DXQuoteTable;
INFOPLIST_KEY_CFBundleDisplayName = "dxFeed Quotes";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
Expand All @@ -3081,7 +3082,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.dxfeed.DXQuoteTable;
PRODUCT_BUNDLE_IDENTIFIER = com.dxfeed.quotesapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand All @@ -3099,10 +3100,11 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = NU75WFM6U6;
DEVELOPMENT_TEAM = 485XM3FRHB;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Samples/QuoteTableApp/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = DXQuoteTable;
INFOPLIST_KEY_CFBundleDisplayName = "dxFeed Quotes";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.finance";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
Expand All @@ -3114,7 +3116,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.dxfeed.DXQuoteTable;
PRODUCT_BUNDLE_IDENTIFIER = com.dxfeed.quotesapp;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
SWIFT_EMIT_LOC_STRINGS = YES;
Expand Down
12 changes: 5 additions & 7 deletions Samples/Utils/Endpoint+Ext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,16 @@ import DXFeedFramework

extension DXEndpointState {
func convetToString() -> String {
var status = "Not connected 🔴"
var status = "🔴 Not connected"
switch self {
case .notConnected:
status = "Not connected 🔴"
status = "🔴 Not connected"
case .connecting:
status = "Connecting 🟠"
status = "🟠 Connecting"
case .connected:
status = "Connected 🟢"
status = "🟢 Connected"
case .closed:
status = "Closed 🔴"
@unknown default:
status = "Not connected 🔴"
status = "🔴 Closed"
}
return status
}
Expand Down

0 comments on commit c1f1dd3

Please sign in to comment.