From 2352b1dfa6784284690b28a29fec1fd60baa5028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20G=C3=BCnd=C3=BCz?= Date: Thu, 7 May 2020 03:07:10 +0200 Subject: [PATCH 1/4] [README.md] Fix logo link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50b15d9..9ae40c6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

-

From 99998aafa4295566f62f982903f85342ab359cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Tue, 2 Feb 2021 13:46:58 +0100 Subject: [PATCH 2/4] Use correct bundle in NibLoadable in SwiftPM --- Frameworks/HandyUIKit/NibLoadable.swift | 3 +-- Package.swift | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Frameworks/HandyUIKit/NibLoadable.swift b/Frameworks/HandyUIKit/NibLoadable.swift index c219bbd..13468fb 100644 --- a/Frameworks/HandyUIKit/NibLoadable.swift +++ b/Frameworks/HandyUIKit/NibLoadable.swift @@ -23,8 +23,7 @@ extension NibLoadable where Self: UIView { /// Loads the contents of this view from the corresponding Nib file. /// /// NOTE: This view must be the 'File's Owner', not the 'View' within the Nib file. - public func loadFromNib() throws { - let bundle = Bundle(for: type(of: self)) + public func loadFromNib(bundle: Bundle) throws { let nibName = Self.nibName let nib = UINib(nibName: nibName, bundle: bundle) diff --git a/Package.swift b/Package.swift index 5086a0d..d6a5971 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:4.2 +// swift-tools-version:5.3 import PackageDescription let package = Package( From 33ff628cfa813586a407d9b364c0846f55009209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Fri, 15 Oct 2021 06:53:22 +0200 Subject: [PATCH 3/4] Cleanup Swift package manifest to silence warnings --- Package.swift | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index d6a5971..d890390 100644 --- a/Package.swift +++ b/Package.swift @@ -9,13 +9,11 @@ let package = Package( targets: [ .target( name: "HandyUIKit", - path: "Frameworks/HandyUIKit", - exclude: ["Frameworks/SupportingFiles"] + path: "Frameworks/HandyUIKit" ), .testTarget( name: "HandyUIKitTests", - dependencies: ["HandyUIKit"], - exclude: ["Tests/SupportingFiles"] + dependencies: ["HandyUIKit"] ) ] ) From 931df1e142c2a45a956e72b9e030151962e4b3b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Fri, 15 Oct 2021 06:55:42 +0200 Subject: [PATCH 4/4] Bump version num & finalize new changelog section --- CHANGELOG.md | 4 ++++ Frameworks/SupportingFiles/Info.plist | 2 +- HandyUIKit.podspec | 2 +- README.md | 4 ++-- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 358ef08..63bf7ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,10 @@ If needed, pluralize to `Tasks`, `PRs` or `Authors` and list multiple entries se ### Security - None. +## [1.9.3] - 2021-10-15 +### Fixed +- Fixed a warning due to a wrong path in the Swift package manifest. + ## [1.9.2] - 2020-05-07 ### Added - Made `cornerRadius` and `IBDesignable`s available for override. diff --git a/Frameworks/SupportingFiles/Info.plist b/Frameworks/SupportingFiles/Info.plist index 17d778d..a7f24a4 100644 --- a/Frameworks/SupportingFiles/Info.plist +++ b/Frameworks/SupportingFiles/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.9.2 + 1.9.3 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass diff --git a/HandyUIKit.podspec b/HandyUIKit.podspec index 0859df9..0d14706 100644 --- a/HandyUIKit.podspec +++ b/HandyUIKit.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "HandyUIKit" - s.version = "1.9.2" + s.version = "1.9.3" s.summary = "Handy UI features that should have been part of UIKit in the first place." s.description = <<-DESC diff --git a/README.md b/README.md index 9ae40c6..3709e6f 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ width=600> alt="codebeat badge"> - Version: 1.9.2 + Version: 1.9.3 Swift: 5.0