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/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/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/Package.swift b/Package.swift index 5086a0d..d890390 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( @@ -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"] ) ] ) diff --git a/README.md b/README.md index 50b15d9..3709e6f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@

-

@@ -13,8 +13,8 @@ width=600> alt="codebeat badge"> - Version: 1.9.2 + Version: 1.9.3 Swift: 5.0