From ee81b508ab5926b7253779d029b0d9af2dd4ee2b Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sun, 2 Apr 2023 13:15:27 +0200
Subject: [PATCH 01/11] Update README.md
---
README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/README.md b/README.md
index a24c93b5..44c29e06 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,10 @@
+
+ ✨ New beta is out! Features a new and improved API for SwiftUI Try it now.
+
+
From 13aad3e9308e8a4e38cb579430dbf66465418777 Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Fri, 7 Apr 2023 11:18:54 +0200
Subject: [PATCH 02/11] Update date handling in calendar example
---
.../Calendar/CalendarViewController.swift | 26 +++++++++++++++----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/Example/Examples/Calendar/CalendarViewController.swift b/Example/Examples/Calendar/CalendarViewController.swift
index a6a02204..827bb438 100644
--- a/Example/Examples/Calendar/CalendarViewController.swift
+++ b/Example/Examples/Calendar/CalendarViewController.swift
@@ -22,10 +22,12 @@ struct CalendarItem: PagingItem, Hashable, Comparable {
}
class CalendarViewController: UIViewController {
+ private let calendar: Calendar = .current
+ private let pagingViewController = PagingViewController()
+
override func viewDidLoad() {
super.viewDidLoad()
- let pagingViewController = PagingViewController()
pagingViewController.register(CalendarPagingCell.self, for: CalendarItem.self)
pagingViewController.menuItemSize = .fixed(width: 48, height: 58)
pagingViewController.textColor = UIColor.gray
@@ -40,8 +42,20 @@ class CalendarViewController: UIViewController {
// Set our custom data source
pagingViewController.infiniteDataSource = self
- // Set the current date as the selected paging item
- pagingViewController.select(pagingItem: CalendarItem(date: Date()))
+ // Set the current date as the selected paging item.
+ let today = calendar.startOfDay(for: Date())
+ pagingViewController.select(pagingItem: CalendarItem(date: today))
+
+ navigationItem.rightBarButtonItem = UIBarButtonItem(
+ title: "Today",
+ style: .plain,
+ target: self,
+ action: #selector(selectToday))
+ }
+
+ @objc private func selectToday() {
+ let date = calendar.startOfDay(for: Date())
+ pagingViewController.select(pagingItem: CalendarItem(date: date), animated: true)
}
}
@@ -54,12 +68,14 @@ class CalendarViewController: UIViewController {
extension CalendarViewController: PagingViewControllerInfiniteDataSource {
func pagingViewController(_: PagingViewController, itemAfter pagingItem: PagingItem) -> PagingItem? {
let calendarItem = pagingItem as! CalendarItem
- return CalendarItem(date: calendarItem.date.addingTimeInterval(86400))
+ let nextDate = calendar.date(byAdding: .day, value: 1, to: calendarItem.date)!
+ return CalendarItem(date: nextDate)
}
func pagingViewController(_: PagingViewController, itemBefore pagingItem: PagingItem) -> PagingItem? {
let calendarItem = pagingItem as! CalendarItem
- return CalendarItem(date: calendarItem.date.addingTimeInterval(-86400))
+ let previousDate = calendar.date(byAdding: .day, value: -1, to: calendarItem.date)!
+ return CalendarItem(date: previousDate)
}
func pagingViewController(_: PagingViewController, viewControllerFor pagingItem: PagingItem) -> UIViewController {
From 45ebb4b1ba0cc7feed4ed5485f79bdf590b30bb4 Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Thu, 11 Jan 2024 18:08:40 +0100
Subject: [PATCH 03/11] Add privacy manifest file
---
Package.swift | 5 ++++-
Parchment.xcodeproj/project.pbxproj | 4 ++++
Parchment/PrivacyInfo.xcprivacy | 23 +++++++++++++++++++++++
3 files changed, 31 insertions(+), 1 deletion(-)
create mode 100644 Parchment/PrivacyInfo.xcprivacy
diff --git a/Package.swift b/Package.swift
index 026f2451..9fdd671f 100644
--- a/Package.swift
+++ b/Package.swift
@@ -10,7 +10,10 @@ let package = Package(
targets: [
.target(
name: "Parchment",
- path: "Parchment"
+ path: "Parchment",
+ resources: [
+ .copy("PrivacyInfo.xcprivacy")
+ ]
)
]
)
diff --git a/Parchment.xcodeproj/project.pbxproj b/Parchment.xcodeproj/project.pbxproj
index 5a4ceb71..fcfb1bab 100644
--- a/Parchment.xcodeproj/project.pbxproj
+++ b/Parchment.xcodeproj/project.pbxproj
@@ -126,6 +126,7 @@
95D790182299D57A00E6EE7C /* PagingMenuDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95D790172299D57A00E6EE7C /* PagingMenuDelegate.swift */; };
95E4BA701FF15E84008871A3 /* PagingViewControllerDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95E4BA6F1FF15E84008871A3 /* PagingViewControllerDataSource.swift */; };
95E4BA721FF15EFE008871A3 /* PagingFiniteDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95E4BA711FF15EFE008871A3 /* PagingFiniteDataSource.swift */; };
+ 95ED82642B5056AC0055227B /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 95ED82632B5056AC0055227B /* PrivacyInfo.xcprivacy */; };
95F5660F2128707900F2A75E /* PagingMenuItemSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9D1BE1D211E409400E86B72 /* PagingMenuItemSource.swift */; };
95F83D6426237D2B003B728F /* SelectedIndexView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95F83D6326237D2B003B728F /* SelectedIndexView.swift */; };
95F83D6C26237DA4003B728F /* LifecycleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95F83D6B26237DA4003B728F /* LifecycleView.swift */; };
@@ -326,6 +327,7 @@
95D790172299D57A00E6EE7C /* PagingMenuDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PagingMenuDelegate.swift; sourceTree = ""; };
95E4BA6F1FF15E84008871A3 /* PagingViewControllerDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PagingViewControllerDataSource.swift; sourceTree = ""; };
95E4BA711FF15EFE008871A3 /* PagingFiniteDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PagingFiniteDataSource.swift; sourceTree = ""; };
+ 95ED82632B5056AC0055227B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; };
95F83D6326237D2B003B728F /* SelectedIndexView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectedIndexView.swift; sourceTree = ""; };
95F83D6B26237DA4003B728F /* LifecycleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LifecycleView.swift; sourceTree = ""; };
95F83D822623804F003B728F /* ChangeItems.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChangeItems.swift; sourceTree = ""; };
@@ -500,6 +502,7 @@
children = (
3E49C71D1C8F5ABD006269DD /* Parchment.h */,
3EC0184C1C95F993005421AD /* Info.plist */,
+ 95ED82632B5056AC0055227B /* PrivacyInfo.xcprivacy */,
3E4090A31C88BD1700800E22 /* Classes */,
3E4090951C88BC9100800E22 /* Enums */,
3EA04A701C53C0640054E5E0 /* Extensions */,
@@ -940,6 +943,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 95ED82642B5056AC0055227B /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/Parchment/PrivacyInfo.xcprivacy b/Parchment/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..8189f487
--- /dev/null
+++ b/Parchment/PrivacyInfo.xcprivacy
@@ -0,0 +1,23 @@
+
+
+
+
+ NSPrivacyCollectedDataTypes
+
+
+ NSPrivacyCollectedDataType
+
+ NSPrivacyCollectedDataTypeLinked
+
+ NSPrivacyCollectedDataTypeTracking
+
+ NSPrivacyCollectedDataTypePurposes
+
+
+
+
+
+ NSPrivacyTracking
+
+
+
From 9a8b650f3b5da3bc96c2f17a85f8aab96118887d Mon Sep 17 00:00:00 2001
From: rono23
Date: Thu, 25 Jan 2024 11:10:01 +0900
Subject: [PATCH 04/11] Fix README
---
README.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/README.md b/README.md
index 44c29e06..013d761c 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,6 @@ Parchment lets you page between view controllers while showing any type of gener
- [Reloading data](#reloading-data)
- [Delegate](#delegate)
- [Size delegate](#size-delegate)
- - [Selecting items](#selecting-items)
- [Customization](#customization)
- [Installation](#installation)
- [Changelog](#changelog)
From a0427054658ac0176debadd47a7de5c315b62452 Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 12:23:57 +0100
Subject: [PATCH 05/11] Set minimum deployment target to iOS 12
---
Package.swift | 2 +-
Parchment.podspec.json | 2 +-
Parchment.xcodeproj/project.pbxproj | 8 ++++----
README.md | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Package.swift b/Package.swift
index 9fdd671f..92ba1cc4 100644
--- a/Package.swift
+++ b/Package.swift
@@ -3,7 +3,7 @@ import PackageDescription
let package = Package(
name: "Parchment",
- platforms: [.iOS(.v11)],
+ platforms: [.iOS(.v12)],
products: [
.library(name: "Parchment", targets: ["Parchment"]),
],
diff --git a/Parchment.podspec.json b/Parchment.podspec.json
index 2e0d0eb3..9607390f 100644
--- a/Parchment.podspec.json
+++ b/Parchment.podspec.json
@@ -14,7 +14,7 @@
"tag": "v3.2.1"
},
"platforms": {
- "ios": "11.0"
+ "ios": "12.0"
},
"source_files": [
"Parchment/**/*.swift",
diff --git a/Parchment.xcodeproj/project.pbxproj b/Parchment.xcodeproj/project.pbxproj
index fcfb1bab..390652db 100644
--- a/Parchment.xcodeproj/project.pbxproj
+++ b/Parchment.xcodeproj/project.pbxproj
@@ -1260,7 +1260,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
@@ -1314,7 +1314,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -1340,7 +1340,7 @@
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Parchment/Resources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1364,7 +1364,7 @@
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Parchment/Resources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/README.md b/README.md
index 013d761c..a7038292 100644
--- a/README.md
+++ b/README.md
@@ -505,7 +505,7 @@ Parchment will be compatible with the lastest public release of Swift.
### Requirements
-- iOS 11.0+
+- iOS 12.0+
- Xcode 14.0+
### CocoaPods
From 2d7278f27ab57ec3ce3420a556b5cafd67fadc1a Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 12:25:13 +0100
Subject: [PATCH 06/11] Enable user-script sandboxing in Xcode settings
---
Parchment.xcodeproj/project.pbxproj | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Parchment.xcodeproj/project.pbxproj b/Parchment.xcodeproj/project.pbxproj
index 390652db..ab3df815 100644
--- a/Parchment.xcodeproj/project.pbxproj
+++ b/Parchment.xcodeproj/project.pbxproj
@@ -1246,6 +1246,7 @@
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
@@ -1306,6 +1307,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
From 6acfd978156dc4b91e82c11ed25ae9c8c7681a6e Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 12:26:16 +0100
Subject: [PATCH 07/11] Update to latest Xcode recommended project settings
---
Parchment.xcodeproj/project.pbxproj | 70 +++++++++++++++----
.../xcshareddata/xcschemes/Parchment.xcscheme | 2 +-
2 files changed, 58 insertions(+), 14 deletions(-)
diff --git a/Parchment.xcodeproj/project.pbxproj b/Parchment.xcodeproj/project.pbxproj
index ab3df815..4efb8fae 100644
--- a/Parchment.xcodeproj/project.pbxproj
+++ b/Parchment.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 46;
+ objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
@@ -876,8 +876,9 @@
3EA04A421C53BFE40054E5E0 /* Project object */ = {
isa = PBXProject;
attributes = {
+ BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1130;
- LastUpgradeCheck = 1300;
+ LastUpgradeCheck = 1520;
ORGANIZATIONNAME = "Martin Rechsteiner";
TargetAttributes = {
3E504EC31C7465B000AE1CE3 = {
@@ -1191,7 +1192,11 @@
buildSettings = {
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = ParchmentTests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ParchmentTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -1204,7 +1209,11 @@
buildSettings = {
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = ParchmentTests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ParchmentTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -1319,7 +1328,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
SWIFT_VERSION = 3.0.1;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
@@ -1339,11 +1349,18 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
+ ENABLE_MODULE_VERIFIER = YES;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Parchment/Resources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1363,11 +1380,18 @@
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
+ ENABLE_MODULE_VERIFIER = YES;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
INFOPLIST_FILE = Parchment/Resources/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++";
+ MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu99 gnu++11";
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
@@ -1384,7 +1408,10 @@
DEVELOPMENT_TEAM = G4TGN24VA2;
INFOPLIST_FILE = Example/Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -1400,7 +1427,10 @@
DEVELOPMENT_TEAM = G4TGN24VA2;
INFOPLIST_FILE = Example/Resources/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Example;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
@@ -1421,7 +1451,11 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = ParchmentUITests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ParchmentUITests;
@@ -1447,7 +1481,11 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = ParchmentUITests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.2;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ParchmentUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -1474,7 +1512,10 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = ExampleSwiftUI/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ExampleSwiftUI;
@@ -1502,7 +1543,10 @@
GCC_C_LANGUAGE_STANDARD = gnu11;
INFOPLIST_FILE = ExampleSwiftUI/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.ExampleSwiftUI;
PRODUCT_NAME = "$(TARGET_NAME)";
diff --git a/Parchment.xcodeproj/xcshareddata/xcschemes/Parchment.xcscheme b/Parchment.xcodeproj/xcshareddata/xcschemes/Parchment.xcscheme
index 59dbc336..83bf59f7 100644
--- a/Parchment.xcodeproj/xcshareddata/xcschemes/Parchment.xcscheme
+++ b/Parchment.xcodeproj/xcshareddata/xcschemes/Parchment.xcscheme
@@ -1,6 +1,6 @@
Date: Sat, 17 Feb 2024 12:27:05 +0100
Subject: [PATCH 08/11] Add example schemes to xcshareddata
---
.../xcshareddata/xcschemes/Example.xcscheme | 77 +++++++++++++++++++
.../xcschemes/ExampleSwiftUI.xcscheme | 77 +++++++++++++++++++
2 files changed, 154 insertions(+)
create mode 100644 Parchment.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
create mode 100644 Parchment.xcodeproj/xcshareddata/xcschemes/ExampleSwiftUI.xcscheme
diff --git a/Parchment.xcodeproj/xcshareddata/xcschemes/Example.xcscheme b/Parchment.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
new file mode 100644
index 00000000..d55f916b
--- /dev/null
+++ b/Parchment.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Parchment.xcodeproj/xcshareddata/xcschemes/ExampleSwiftUI.xcscheme b/Parchment.xcodeproj/xcshareddata/xcschemes/ExampleSwiftUI.xcscheme
new file mode 100644
index 00000000..40869caa
--- /dev/null
+++ b/Parchment.xcodeproj/xcshareddata/xcschemes/ExampleSwiftUI.xcscheme
@@ -0,0 +1,77 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
From 33955c8052e37844c75857b9d3d42c4b6f75e38f Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 12:42:37 +0100
Subject: [PATCH 09/11] Update Swift version to 5.9
---
.swift-version | 2 +-
Package.swift | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.swift-version b/.swift-version
index 760606e1..95ee81a4 100644
--- a/.swift-version
+++ b/.swift-version
@@ -1 +1 @@
-5.7
+5.9
diff --git a/Package.swift b/Package.swift
index 92ba1cc4..f16a22a4 100644
--- a/Package.swift
+++ b/Package.swift
@@ -1,4 +1,4 @@
-// swift-tools-version:5.7
+// swift-tools-version:5.9
import PackageDescription
let package = Package(
From cc8ca4725a1c59899bf11dad0dd1ea82571810e1 Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 12:49:00 +0100
Subject: [PATCH 10/11] Release v3.3.0
---
CHANGELOG.md | 6 ++++++
Parchment.podspec.json | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5f7112aa..699f7237 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
`Parchment` adheres to [Semantic Versioning](http://semver.org/).
+## [3.3.0](https://github.com/rechsteiner/Parchment/compare/v3.2.1...v3.3.0) - 2024-02-17
+
+- Set minimum deployment target to iOS 12 #699
+- Add privacy manifest file #695
+- Update Swift version to 5.9 #700
+
## [3.2.1](https://github.com/rechsteiner/Parchment/compare/v3.2.0...v3.2.1) - 2023-03-07
### Fixes
diff --git a/Parchment.podspec.json b/Parchment.podspec.json
index 9607390f..af1473ba 100644
--- a/Parchment.podspec.json
+++ b/Parchment.podspec.json
@@ -1,6 +1,6 @@
{
"name": "Parchment",
- "version": "3.2.1",
+ "version": "3.3.0",
"license": "MIT",
"summary": "A flexible paging menu controller with support for infinite data sources.",
"description": "Parchment allows you to page between view controllers while showing menu items that scrolls along with the content. It’s build to be very customizable, it’s well-tested and written fully in Swift.",
@@ -11,7 +11,7 @@
"social_media_url": "http://twitter.com/rechsteiner",
"source": {
"git": "https://github.com/rechsteiner/Parchment.git",
- "tag": "v3.2.1"
+ "tag": "v3.3.0"
},
"platforms": {
"ios": "12.0"
From d2c2a87b009f6cb670cf042c98e5909fc0e19211 Mon Sep 17 00:00:00 2001
From: Martin Rechsteiner
Date: Sat, 17 Feb 2024 13:56:35 +0100
Subject: [PATCH 11/11] Update Cocoapods podspec file
---
Parchment.podspec.json | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Parchment.podspec.json b/Parchment.podspec.json
index af1473ba..22ea8413 100644
--- a/Parchment.podspec.json
+++ b/Parchment.podspec.json
@@ -5,14 +5,12 @@
"summary": "A flexible paging menu controller with support for infinite data sources.",
"description": "Parchment allows you to page between view controllers while showing menu items that scrolls along with the content. It’s build to be very customizable, it’s well-tested and written fully in Swift.",
"homepage": "https://github.com/rechsteiner/Parchment",
- "authors": {
- "Martin Rechsteiner": "marrechsteiner@gmail.com"
- },
- "social_media_url": "http://twitter.com/rechsteiner",
+ "authors": "Martin Rechsteiner",
"source": {
"git": "https://github.com/rechsteiner/Parchment.git",
"tag": "v3.3.0"
},
+ "swift_version": "5.9",
"platforms": {
"ios": "12.0"
},