From b5344929b7b5406ca57d3825aeb18f486d4a6f1e Mon Sep 17 00:00:00 2001 From: Leo Lee Date: Mon, 30 Sep 2024 23:26:31 +0800 Subject: [PATCH] Bump version to 4.2.5 --- NXNavigationExtension.podspec | 4 ++-- NXNavigationExtension.xcodeproj/project.pbxproj | 12 ++++++------ .../UINavigationController+NXNavigationExtension.h | 1 + Package.swift | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/NXNavigationExtension.podspec b/NXNavigationExtension.podspec index a5d11ba..fb609db 100644 --- a/NXNavigationExtension.podspec +++ b/NXNavigationExtension.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = 'NXNavigationExtension' - spec.version = '4.2.4' + spec.version = '4.2.5' spec.summary = '🔥 Lightweight, simple, and easy-to-use NavigationBar library.' spec.description = <<-DESC @@ -17,7 +17,7 @@ Pod::Spec.new do |spec| spec.ios.deployment_target = '12.0' spec.default_subspec = 'Sources' - spec.swift_version = '5.0' + spec.swift_version = '6.0' spec.frameworks = 'UIKit' spec.subspec 'Sources' do |ss| diff --git a/NXNavigationExtension.xcodeproj/project.pbxproj b/NXNavigationExtension.xcodeproj/project.pbxproj index 7c828f8..78269d6 100644 --- a/NXNavigationExtension.xcodeproj/project.pbxproj +++ b/NXNavigationExtension.xcodeproj/project.pbxproj @@ -305,7 +305,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 4.2.4; + MARKETING_VERSION = 4.2.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = io.github.l1dan.NXNavigationExtension; @@ -336,7 +336,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 4.2.4; + MARKETING_VERSION = 4.2.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = io.github.l1dan.NXNavigationExtension; @@ -490,7 +490,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 4.2.4; + MARKETING_VERSION = 4.2.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = io.github.l1dan.NXNavigationExtensionSwiftUI; @@ -500,7 +500,7 @@ SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_INSTALL_OBJC_HEADER = NO; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -526,7 +526,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 4.2.4; + MARKETING_VERSION = 4.2.5; MODULE_VERIFIER_SUPPORTED_LANGUAGES = "objective-c objective-c++"; MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 gnu++20"; PRODUCT_BUNDLE_IDENTIFIER = io.github.l1dan.NXNavigationExtensionSwiftUI; @@ -535,7 +535,7 @@ SWIFT_COMPILATION_MODE = wholemodule; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_INSTALL_OBJC_HEADER = NO; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; diff --git a/NXNavigationExtension/Core/UINavigationController+NXNavigationExtension.h b/NXNavigationExtension/Core/UINavigationController+NXNavigationExtension.h index ed5421d..a0572f4 100644 --- a/NXNavigationExtension/Core/UINavigationController+NXNavigationExtension.h +++ b/NXNavigationExtension/Core/UINavigationController+NXNavigationExtension.h @@ -67,6 +67,7 @@ typedef NS_ENUM(NSUInteger, NXNavigationBackAction) { typedef void (^NXNavigationTransitionStateHandler) (UIViewController *, NXNavigationTransitionState); typedef BOOL (^NXNavigationBackActionHandler) (UIViewController *, NXNavigationBackAction); +NS_SWIFT_UI_ACTOR @protocol NXNavigationTransitionDelegate @optional diff --git a/Package.swift b/Package.swift index 71fd080..9141f27 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.5 +// swift-tools-version:6.0 // // Package.swift // @@ -52,5 +52,5 @@ let package = Package( path: "NXNavigationExtensionSwiftUI" ) ], - swiftLanguageVersions: [.v5] + swiftLanguageModes: [.v5, .v6] )