Skip to content

Commit

Permalink
Fix Swift 5 compatibility. (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshier committed Feb 24, 2020
1 parent 62a37b3 commit a21c732
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion AlamofireImage.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.tvos.deployment_target = '10.0'
s.watchos.deployment_target = '3.0'

s.dependency 'Alamofire', '>= 5.0.1', '< 6.0.0'
s.dependency 'Alamofire', '>= 5.0.2', '< 6.0.0'
end
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "Alamofire/Alamofire" ~> 5.0.1
github "Alamofire/Alamofire" ~> 5.0.2
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "Alamofire/Alamofire" "5.0.1"
github "Alamofire/Alamofire" "5.0.2"
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(name: "AlamofireImage",
.watchOS(.v3)],
products: [.library(name: "AlamofireImage", targets: ["AlamofireImage"])],
dependencies: [.package(url: "https://github.com/Alamofire/Alamofire.git",
from: "5.0.1")],
from: "5.0.2")],
targets: [.target(name: "AlamofireImage",
dependencies: ["Alamofire"],
path: "Source")],
Expand Down
2 changes: 1 addition & 1 deletion Source/UIImage+AlamofireImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ extension AlamofireExtension where ExtendedType: UIImage {
extension UIImage {
@available(*, deprecated, message: "Replaced by `image.af.imageFiltered(withCoreImageFilter:parameters:)`")
public func af_imageFiltered(withCoreImageFilter name: String, parameters: [String: Any]? = nil) -> UIImage? {
af.imageFiltered(withCoreImageFilter: name, parameters: parameters)
return af.imageFiltered(withCoreImageFilter: name, parameters: parameters)
}
}

Expand Down

0 comments on commit a21c732

Please sign in to comment.