From 0e44c135ae598375adbdedf1e6e859bcad8c2cce Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 31 Mar 2019 16:12:17 -0700 Subject: [PATCH] Convert Account to Swift 5. --- Frameworks/Account/DataExtensions.swift | 4 ++-- Frameworks/Account/xcconfig/Account_project.xcconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Frameworks/Account/DataExtensions.swift b/Frameworks/Account/DataExtensions.swift index 779e14c64..cffdf1c62 100644 --- a/Frameworks/Account/DataExtensions.swift +++ b/Frameworks/Account/DataExtensions.swift @@ -16,9 +16,9 @@ public extension Notification.Name { public extension Feed { - public static let FeedSettingUserInfoKey = "feedSetting" + static let FeedSettingUserInfoKey = "feedSetting" - public struct FeedSettingKey { + struct FeedSettingKey { public static let homePageURL = "homePageURL" public static let iconURL = "iconURL" public static let faviconURL = "faviconURL" diff --git a/Frameworks/Account/xcconfig/Account_project.xcconfig b/Frameworks/Account/xcconfig/Account_project.xcconfig index 148ea9b25..ca916b2fa 100644 --- a/Frameworks/Account/xcconfig/Account_project.xcconfig +++ b/Frameworks/Account/xcconfig/Account_project.xcconfig @@ -10,7 +10,7 @@ DEVELOPMENT_TEAM = M8L2WTLA8W SDKROOT = macosx MACOSX_DEPLOYMENT_TARGET = 10.13 CLANG_ENABLE_OBJC_WEAK = YES -SWIFT_VERSION = 4.0 +SWIFT_VERSION = 5.0 COMBINE_HIDPI_IMAGES = YES COPY_PHASE_STRIP = NO