From 070e2f21bd7298a6d67e9b919ed9e1be4b208d65 Mon Sep 17 00:00:00 2001 From: onevcat Date: Thu, 24 Sep 2020 09:46:25 +0900 Subject: [PATCH] Give SessionDelegate an ObjC name --- Sources/Networking/SessionDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Networking/SessionDelegate.swift b/Sources/Networking/SessionDelegate.swift index 36c06091b..f4821d9b9 100644 --- a/Sources/Networking/SessionDelegate.swift +++ b/Sources/Networking/SessionDelegate.swift @@ -27,6 +27,7 @@ import Foundation // Represents the delegate object of downloader session. It also behave like a task manager for downloading. +@objc(KFSessionDelegate) // Fix for ObjC header name conflicting. https://github.com/onevcat/Kingfisher/issues/1530 class SessionDelegate: NSObject { typealias SessionChallengeFunc = (