From 363667b39694abc468c4a6052be4523bfaf5faaf Mon Sep 17 00:00:00 2001 From: DominatorVbN Date: Fri, 18 Sep 2020 11:28:47 +0530 Subject: [PATCH 1/3] Added aditional required cases Changed minimum target version to iOS 9.0 --- Sources/ToastView.swift | 3 +++ Toaster.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Sources/ToastView.swift b/Sources/ToastView.swift index 0327cd2..6145968 100644 --- a/Sources/ToastView.swift +++ b/Sources/ToastView.swift @@ -52,6 +52,7 @@ open class ToastView: UIView { case .pad: return 60 case .tv: return 90 case .carPlay: return 30 + case .mac: return 60 // default values case .unspecified: fallthrough @unknown default: return 30 @@ -66,6 +67,7 @@ open class ToastView: UIView { case .pad: return 40 case .tv: return 60 case .carPlay: return 20 + case .mac: return 40 // default values case .unspecified: fallthrough @unknown default: return 20 @@ -132,6 +134,7 @@ open class ToastView: UIView { case .pad: return .systemFont(ofSize: 16) case .tv: return .systemFont(ofSize: 20) case .carPlay: return .systemFont(ofSize: 12) + case .mac: return .systemFont(ofSize: 16) // default values case .unspecified: fallthrough @unknown default: return .systemFont(ofSize: 12) diff --git a/Toaster.xcodeproj/project.pbxproj b/Toaster.xcodeproj/project.pbxproj index f5086e6..c4675f2 100644 --- a/Toaster.xcodeproj/project.pbxproj +++ b/Toaster.xcodeproj/project.pbxproj @@ -605,7 +605,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Supporting Files/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = kr.xoul.Toaster; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -627,7 +627,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = "Supporting Files/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = kr.xoul.Toaster; PRODUCT_NAME = "$(TARGET_NAME)"; From 92298709a7ccd21efbdf19e09f4543a4ea849252 Mon Sep 17 00:00:00 2001 From: DominatorVbN Date: Fri, 18 Sep 2020 11:42:06 +0530 Subject: [PATCH 2/3] s.platform bumped to 9.0 --- Toaster.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Toaster.podspec b/Toaster.podspec index cb155ec..161f41a 100644 --- a/Toaster.podspec +++ b/Toaster.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.author = { 'devxoul' => 'devxoul@gmail.com' } s.source = { :git => 'https://github.com/devxoul/Toaster.git', :tag => "#{s.version}" } - s.platform = :ios, '8.0' + s.platform = :ios, '9.0' s.source_files = 'Sources/*.{swift,h}' s.frameworks = 'UIKit', 'Foundation', 'QuartzCore' s.swift_version = '5.0' From 93f396286e9b86409610445b873cf971262ea210 Mon Sep 17 00:00:00 2001 From: DominatorVbN Date: Fri, 18 Sep 2020 18:34:25 +0530 Subject: [PATCH 3/3] Xcode version bumped to xcode 12 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e1c0149..1a5934a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ os: osx -osx_image: xcode10.3 +osx_image: xcode12 sudo: false language: swift xcode_project: Toaster.xcodeproj