Explorar o código

Move `@objc` mark to function

This resolves the library revolution error when building with Swift 5.1.3
onevcat %!s(int64=6) %!d(string=hai) anos
pai
achega
45e3fc297a
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Sources/Extensions/ImageView+Kingfisher.swift

+ 2 - 2
Sources/Extensions/ImageView+Kingfisher.swift

@@ -403,8 +403,8 @@ extension KingfisherWrapper where Base: KFCrossPlatformImageView {
 }
 
 
-@objc extension KFCrossPlatformImageView {
-    func shouldPreloadAllAnimation() -> Bool { return true }
+extension KFCrossPlatformImageView {
+    @objc func shouldPreloadAllAnimation() -> Bool { return true }
 }
 
 extension KingfisherWrapper where Base: KFCrossPlatformImageView {