From c1fc78f230455451d79d4ad8d791d0e3b6525c62 Mon Sep 17 00:00:00 2001 From: bannzai Date: Sat, 9 Oct 2021 18:12:09 +0900 Subject: [PATCH 1/3] Updated to recommended settings --- Examples/ClassData/ClassData.xcodeproj/project.pbxproj | 6 +++--- .../xcshareddata/xcschemes/ClassData.xcscheme | 2 +- Examples/GanttChart/GanttChart.xcodeproj/project.pbxproj | 6 +++--- .../xcshareddata/xcschemes/GanttChart.xcscheme | 2 +- Examples/Schedule/Schedule.xcodeproj/project.pbxproj | 6 +++--- .../xcshareddata/xcschemes/Schedule.xcscheme | 2 +- Examples/Timetable/Timetable.xcodeproj/project.pbxproj | 6 +++--- .../xcshareddata/xcschemes/Timetable.xcscheme | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Examples/ClassData/ClassData.xcodeproj/project.pbxproj b/Examples/ClassData/ClassData.xcodeproj/project.pbxproj index 4df44cb7..3d81cd35 100644 --- a/Examples/ClassData/ClassData.xcodeproj/project.pbxproj +++ b/Examples/ClassData/ClassData.xcodeproj/project.pbxproj @@ -141,7 +141,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0820; - LastUpgradeCheck = 1200; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "Kishikawa Katsumi"; TargetAttributes = { 149DC9391ECDB05200297E38 = { @@ -266,7 +266,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -320,7 +320,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Examples/ClassData/ClassData.xcodeproj/xcshareddata/xcschemes/ClassData.xcscheme b/Examples/ClassData/ClassData.xcodeproj/xcshareddata/xcschemes/ClassData.xcscheme index bf678a6e..dcbdd342 100644 --- a/Examples/ClassData/ClassData.xcodeproj/xcshareddata/xcschemes/ClassData.xcscheme +++ b/Examples/ClassData/ClassData.xcodeproj/xcshareddata/xcschemes/ClassData.xcscheme @@ -1,6 +1,6 @@ Date: Sat, 9 Oct 2021 18:13:52 +0900 Subject: [PATCH 2/3] :recycle: Using AnyObject --- Framework/Sources/SpreadsheetViewDataSource.swift | 2 +- Framework/Sources/SpreadsheetViewDelegate.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/Sources/SpreadsheetViewDataSource.swift b/Framework/Sources/SpreadsheetViewDataSource.swift index 956ece08..a952c379 100644 --- a/Framework/Sources/SpreadsheetViewDataSource.swift +++ b/Framework/Sources/SpreadsheetViewDataSource.swift @@ -9,7 +9,7 @@ import UIKit /// Implement this protocol to provide data to an `SpreadsheetView`. -public protocol SpreadsheetViewDataSource: class { +public protocol SpreadsheetViewDataSource: AnyObject { /// Asks your data source object for the number of columns in the spreadsheet view. /// /// - Parameter spreadsheetView: The spreadsheet view requesting this information. diff --git a/Framework/Sources/SpreadsheetViewDelegate.swift b/Framework/Sources/SpreadsheetViewDelegate.swift index 48514389..b23a39d6 100644 --- a/Framework/Sources/SpreadsheetViewDelegate.swift +++ b/Framework/Sources/SpreadsheetViewDelegate.swift @@ -11,7 +11,7 @@ import UIKit /// The `SpreadsheetViewDelegate` protocol defines methods that allow you to manage the selection and /// highlighting of cells in a spreadsheet view and to perform actions on those cells. /// The methods of this protocol are all optional. -public protocol SpreadsheetViewDelegate: class { +public protocol SpreadsheetViewDelegate: AnyObject { /// Asks the delegate if the cell should be highlighted during tracking. /// - Note: As touch events arrive, the spreadsheet view highlights cells in anticipation of the user selecting them. /// As it processes those touch events, the collection view calls this method to ask your delegate if a given cell should be highlighted. From ab59025ff8fb59413298eaf19b835eb6e6673a89 Mon Sep 17 00:00:00 2001 From: bannzai Date: Sat, 9 Oct 2021 18:22:18 +0900 Subject: [PATCH 3/3] :up: Update targer iOS version on CI testing --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bdc12f20..c8f237b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: test: needs: build env: - os: '14.0' + os: '14.4' strategy: matrix: device: [iPhone 11, iPhone 11 Pro, iPhone 11 Pro Max, iPhone 8, iPhone 8 Plus, iPhone SE (2nd generation)]