From 13d47d6f399f65d0bbb08e11530181db6ac7a217 Mon Sep 17 00:00:00 2001 From: so yeon Date: Fri, 13 May 2022 15:24:02 +0900 Subject: [PATCH 1/6] =?UTF-8?q?[Feat]=20=ED=9A=8C=EC=9B=90=EA=B0=80?= =?UTF-8?q?=EC=9E=85=20=EC=84=9C=EB=B2=84=20=EC=97=B0=EA=B2=B0=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram.xcodeproj/project.pbxproj | 60 ++++++++++++++++--- .../Network/API/Auth/SignUpAPI.swift | 50 ++++++++++++++++ .../DataModel/Auth/SignInRequest.swift | 14 +++++ .../DataModel/Auth/SignInResponse.swift | 14 +++++ .../DataModel/Auth/SignUpRequest.swift | 14 +++++ .../DataModel/Auth/SignUpResponse.swift | 15 +++++ .../Network/Service/Auth/SignUpService.swift | 58 ++++++++++++++++++ ...neralResponse.swift => BaseResponse.swift} | 25 +++----- .../Network/Utility/BaseTargetType.swift | 23 ------- .../Network/Utility/GeneralAPI.swift | 12 ++++ .../Network/Utility/MoyaLoggingPlugin.swift | 36 ++++++----- .../Network/Utility/NetworkResult.swift | 19 ++---- .../AuthCompleteViewController.swift | 39 ++++++++++-- .../Controller/UserNameViewController.swift | 4 +- .../UserPasswordViewController.swift | 5 +- .../Source/Screen/Auth/Model/AuthModel.swift | 6 ++ 16 files changed, 303 insertions(+), 91 deletions(-) create mode 100644 Instagram/Instagram/Network/API/Auth/SignUpAPI.swift create mode 100644 Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift create mode 100644 Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift create mode 100644 Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift create mode 100644 Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift create mode 100644 Instagram/Instagram/Network/Service/Auth/SignUpService.swift rename Instagram/Instagram/Network/Utility/{GeneralResponse.swift => BaseResponse.swift} (70%) delete mode 100644 Instagram/Instagram/Network/Utility/BaseTargetType.swift diff --git a/Instagram/Instagram.xcodeproj/project.pbxproj b/Instagram/Instagram.xcodeproj/project.pbxproj index e4246a0..7d8c762 100644 --- a/Instagram/Instagram.xcodeproj/project.pbxproj +++ b/Instagram/Instagram.xcodeproj/project.pbxproj @@ -27,11 +27,10 @@ 921E576827FADA4C00CDC913 /* TempAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576727FADA4C00CDC913 /* TempAPI.swift */; }; 921E576A27FADA5700CDC913 /* TempDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576927FADA5700CDC913 /* TempDataModel.swift */; }; 921E576C27FADA5F00CDC913 /* TempService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576B27FADA5F00CDC913 /* TempService.swift */; }; - 921E576E27FADA7800CDC913 /* GeneralResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576D27FADA7800CDC913 /* GeneralResponse.swift */; }; + 921E576E27FADA7800CDC913 /* BaseResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576D27FADA7800CDC913 /* BaseResponse.swift */; }; 921E577027FADA8900CDC913 /* GeneralAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576F27FADA8900CDC913 /* GeneralAPI.swift */; }; 921E577227FADA9800CDC913 /* NetworkResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E577127FADA9800CDC913 /* NetworkResult.swift */; }; 921E577427FADADC00CDC913 /* MoyaLoggingPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E577327FADADC00CDC913 /* MoyaLoggingPlugin.swift */; }; - 921E577627FADB1A00CDC913 /* BaseTargetType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E577527FADB1A00CDC913 /* BaseTargetType.swift */; }; 921E577B27FADC2E00CDC913 /* SignInViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E577A27FADC2E00CDC913 /* SignInViewController.swift */; }; 921E578127FADC5B00CDC913 /* AuthCompleteView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E578027FADC5B00CDC913 /* AuthCompleteView.swift */; }; 921E578327FADC6600CDC913 /* AuthModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E578227FADC6600CDC913 /* AuthModel.swift */; }; @@ -51,6 +50,12 @@ 92920C7527FAE95F00DCABC7 /* Assets+Generated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92920C7427FAE95F00DCABC7 /* Assets+Generated.swift */; }; 92920C7727FAF71C00DCABC7 /* Reactive+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92920C7627FAF71C00DCABC7 /* Reactive+.swift */; }; 92920C7927FAFE6800DCABC7 /* UserPasswordViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92920C7827FAFE6800DCABC7 /* UserPasswordViewController.swift */; }; + 92BF252C2829678200DE0205 /* SignUpAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF252B2829678200DE0205 /* SignUpAPI.swift */; }; + 92BF252E2829678F00DE0205 /* SignUpService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF252D2829678F00DE0205 /* SignUpService.swift */; }; + 92BF25312829687300DE0205 /* SignInResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF25302829687300DE0205 /* SignInResponse.swift */; }; + 92BF25332829689700DE0205 /* SignInRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF25322829689700DE0205 /* SignInRequest.swift */; }; + 92BF253528296A8800DE0205 /* SignUpRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF253428296A8800DE0205 /* SignUpRequest.swift */; }; + 92BF253728296A9300DE0205 /* SignUpResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF253628296A9300DE0205 /* SignUpResponse.swift */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -77,11 +82,10 @@ 921E576727FADA4C00CDC913 /* TempAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempAPI.swift; sourceTree = ""; }; 921E576927FADA5700CDC913 /* TempDataModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempDataModel.swift; sourceTree = ""; }; 921E576B27FADA5F00CDC913 /* TempService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempService.swift; sourceTree = ""; }; - 921E576D27FADA7800CDC913 /* GeneralResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralResponse.swift; sourceTree = ""; }; + 921E576D27FADA7800CDC913 /* BaseResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseResponse.swift; sourceTree = ""; }; 921E576F27FADA8900CDC913 /* GeneralAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralAPI.swift; sourceTree = ""; }; 921E577127FADA9800CDC913 /* NetworkResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkResult.swift; sourceTree = ""; }; 921E577327FADADC00CDC913 /* MoyaLoggingPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoyaLoggingPlugin.swift; sourceTree = ""; }; - 921E577527FADB1A00CDC913 /* BaseTargetType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseTargetType.swift; sourceTree = ""; }; 921E577A27FADC2E00CDC913 /* SignInViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInViewController.swift; sourceTree = ""; }; 921E578027FADC5B00CDC913 /* AuthCompleteView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthCompleteView.swift; sourceTree = ""; }; 921E578227FADC6600CDC913 /* AuthModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthModel.swift; sourceTree = ""; }; @@ -101,6 +105,12 @@ 92920C7427FAE95F00DCABC7 /* Assets+Generated.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Assets+Generated.swift"; sourceTree = ""; }; 92920C7627FAF71C00DCABC7 /* Reactive+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Reactive+.swift"; sourceTree = ""; }; 92920C7827FAFE6800DCABC7 /* UserPasswordViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserPasswordViewController.swift; sourceTree = ""; }; + 92BF252B2829678200DE0205 /* SignUpAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpAPI.swift; sourceTree = ""; }; + 92BF252D2829678F00DE0205 /* SignUpService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpService.swift; sourceTree = ""; }; + 92BF25302829687300DE0205 /* SignInResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInResponse.swift; sourceTree = ""; }; + 92BF25322829689700DE0205 /* SignInRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInRequest.swift; sourceTree = ""; }; + 92BF253428296A8800DE0205 /* SignUpRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpRequest.swift; sourceTree = ""; }; + 92BF253628296A9300DE0205 /* SignUpResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignUpResponse.swift; sourceTree = ""; }; DB41544B785A02F968ACF11F /* Pods-Instagram.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Instagram.release.xcconfig"; path = "Target Support Files/Pods-Instagram/Pods-Instagram.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -297,6 +307,7 @@ 921E576327FAD9F500CDC913 /* API */ = { isa = PBXGroup; children = ( + 92BF252A2829676A00DE0205 /* Auth */, 921E576727FADA4C00CDC913 /* TempAPI.swift */, ); path = API; @@ -305,6 +316,7 @@ 921E576427FAD9FF00CDC913 /* DataModel */ = { isa = PBXGroup; children = ( + 92BF252F2829685000DE0205 /* Auth */, 921E576927FADA5700CDC913 /* TempDataModel.swift */, ); path = DataModel; @@ -313,6 +325,7 @@ 921E576527FADA0700CDC913 /* Service */ = { isa = PBXGroup; children = ( + 92BF25292829675400DE0205 /* Auth */, 921E576B27FADA5F00CDC913 /* TempService.swift */, ); path = Service; @@ -321,9 +334,8 @@ 921E576627FADA3A00CDC913 /* Utility */ = { isa = PBXGroup; children = ( - 921E577527FADB1A00CDC913 /* BaseTargetType.swift */, 921E576F27FADA8900CDC913 /* GeneralAPI.swift */, - 921E576D27FADA7800CDC913 /* GeneralResponse.swift */, + 921E576D27FADA7800CDC913 /* BaseResponse.swift */, 921E577327FADADC00CDC913 /* MoyaLoggingPlugin.swift */, 921E577127FADA9800CDC913 /* NetworkResult.swift */, ); @@ -434,6 +446,33 @@ path = ViewModel; sourceTree = ""; }; + 92BF25292829675400DE0205 /* Auth */ = { + isa = PBXGroup; + children = ( + 92BF252D2829678F00DE0205 /* SignUpService.swift */, + ); + path = Auth; + sourceTree = ""; + }; + 92BF252A2829676A00DE0205 /* Auth */ = { + isa = PBXGroup; + children = ( + 92BF252B2829678200DE0205 /* SignUpAPI.swift */, + ); + path = Auth; + sourceTree = ""; + }; + 92BF252F2829685000DE0205 /* Auth */ = { + isa = PBXGroup; + children = ( + 92BF253628296A9300DE0205 /* SignUpResponse.swift */, + 92BF253428296A8800DE0205 /* SignUpRequest.swift */, + 92BF25302829687300DE0205 /* SignInResponse.swift */, + 92BF25322829689700DE0205 /* SignInRequest.swift */, + ); + path = Auth; + sourceTree = ""; + }; FF974F9CEE94739839915902 /* Frameworks */ = { isa = PBXGroup; children = ( @@ -584,15 +623,17 @@ 9244A9DF27FEDD0400D7C2EC /* SignInViewModel.swift in Sources */, 921E575527FAD0EE00CDC913 /* UIView+.swift in Sources */, 921E579027FADF7B00CDC913 /* SignUpView.swift in Sources */, - 921E576E27FADA7800CDC913 /* GeneralResponse.swift in Sources */, + 92BF252E2829678F00DE0205 /* SignUpService.swift in Sources */, + 921E576E27FADA7800CDC913 /* BaseResponse.swift in Sources */, 92920C7527FAE95F00DCABC7 /* Assets+Generated.swift in Sources */, - 921E577627FADB1A00CDC913 /* BaseTargetType.swift in Sources */, 921E579227FAE23B00CDC913 /* IDSNavigationBar.swift in Sources */, 921E576827FADA4C00CDC913 /* TempAPI.swift in Sources */, + 92BF25332829689700DE0205 /* SignInRequest.swift in Sources */, 920995AF280DD9AD008C3491 /* ShopMainViewController.swift in Sources */, 92920C7927FAFE6800DCABC7 /* UserPasswordViewController.swift in Sources */, 921E576C27FADA5F00CDC913 /* TempService.swift in Sources */, 921E573F27FACB1A00CDC913 /* HomeMainViewController.swift in Sources */, + 92BF252C2829678200DE0205 /* SignUpAPI.swift in Sources */, 921E575727FAD11800CDC913 /* UITextField+.swift in Sources */, 921E578327FADC6600CDC913 /* AuthModel.swift in Sources */, 921E578127FADC5B00CDC913 /* AuthCompleteView.swift in Sources */, @@ -601,6 +642,7 @@ 920995AB280DD965008C3491 /* SearchMainViewController.swift in Sources */, 921E576A27FADA5700CDC913 /* TempDataModel.swift in Sources */, 921E578E27FADD8E00CDC913 /* AuthCompleteViewController.swift in Sources */, + 92BF253528296A8800DE0205 /* SignUpRequest.swift in Sources */, 92920C7727FAF71C00DCABC7 /* Reactive+.swift in Sources */, 921E578827FADCFA00CDC913 /* HomeMainModel.swift in Sources */, 920995A8280DD79F008C3491 /* TabBarController.swift in Sources */, @@ -609,12 +651,14 @@ 921E579827FAE4C900CDC913 /* SignInView.swift in Sources */, 921E576027FAD3AA00CDC913 /* IDSButton.swift in Sources */, 921E575E27FAD25300CDC913 /* IDSTextField.swift in Sources */, + 92BF253728296A9300DE0205 /* SignUpResponse.swift in Sources */, 921E577027FADA8900CDC913 /* GeneralAPI.swift in Sources */, 921E579427FAE2BA00CDC913 /* BackButton.swift in Sources */, 920995B4280DD9D9008C3491 /* ProfileMainViewController.swift in Sources */, 920995B1280DD9B5008C3491 /* ReelsMainViewController.swift in Sources */, 922DD0E8281290B9008F29DF /* UIWindow+.swift in Sources */, 921E577227FADA9800CDC913 /* NetworkResult.swift in Sources */, + 92BF25312829687300DE0205 /* SignInResponse.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift b/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift new file mode 100644 index 0000000..1e70369 --- /dev/null +++ b/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift @@ -0,0 +1,50 @@ +// +// SignUpAPI.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +import Moya +import Accelerate + +final class SignUpAPI { + + // MARK: - Static Properties + + static let shared: SignUpAPI = SignUpAPI() + private init() { } + + // MARK: - Network Properties + + var authProvider = MoyaProvider(plugins: [MoyaLoggerPlugin()]) + + public private(set) var signUpResponse: BaseResponse? + public private(set) var signUpData: SignUpResponse? + + // MARK: - GET + + func signUp(parameter: SignUpRequest, completion: @escaping ((SignUpResponse?, Error?) -> ())) { + authProvider.request(.signUp(parameter: parameter)) { [weak self] response in + switch response { + case .success(let result): + do { + self?.signUpResponse = try result.map(BaseResponse.self) + guard let data = self?.signUpResponse?.data else { + completion(nil, Error.self as? Error) + return + } + completion(data, nil) + } catch(let err) { + print(err.localizedDescription) + completion(nil, err) + } + case .failure(let err): + print(err.localizedDescription) + completion(nil, err) + } + } + } +} diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift b/Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift new file mode 100644 index 0000000..43a533d --- /dev/null +++ b/Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift @@ -0,0 +1,14 @@ +// +// SignInRequest.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +// MARK: - SignUp Request + +struct SignInRequest: Codable { + let email, password: String +} diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift b/Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift new file mode 100644 index 0000000..a00f378 --- /dev/null +++ b/Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift @@ -0,0 +1,14 @@ +// +// SignInResponse.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +// MARK: - SignIn Response + +struct SignInResponse: Codable { + let name, email: String +} diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift b/Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift new file mode 100644 index 0000000..6b259b4 --- /dev/null +++ b/Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift @@ -0,0 +1,14 @@ +// +// SignUpRequest.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +// MARK: - SignUp Request + +struct SignUpRequest: Codable { + let name, email, password: String +} diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift b/Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift new file mode 100644 index 0000000..b854c23 --- /dev/null +++ b/Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift @@ -0,0 +1,15 @@ +// +// SignUpResponse.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +// MARK: - SignUp Response + +struct SignUpResponse: Codable { + let id: Int +} + diff --git a/Instagram/Instagram/Network/Service/Auth/SignUpService.swift b/Instagram/Instagram/Network/Service/Auth/SignUpService.swift new file mode 100644 index 0000000..02ed4e3 --- /dev/null +++ b/Instagram/Instagram/Network/Service/Auth/SignUpService.swift @@ -0,0 +1,58 @@ +// +// AuthService.swift +// Instagram +// +// Created by 소연 on 2022/05/10. +// + +import Foundation + +import Moya + +enum SignUpService { + case signUp(parameter: SignUpRequest) +} + +extension SignUpService: TargetType { + var baseURL: URL { + return URL(string: GeneralAPI.baseURL)! + } + + var path: String { + switch self { + case .signUp: + return GeneralAPI.signUpURL + } + } + + var parameterEncoding: ParameterEncoding { + switch self { + case .signUp: + return JSONEncoding.default + } + } + + var method: Moya.Method { + switch self { + case .signUp: + return .post + } + } + + var task: Task { + switch self { + case .signUp(let parameter): + let parameter: [String: Any] = ["name": parameter.name, + "email": parameter.email, + "password": parameter.password] + return .requestParameters(parameters: parameter, encoding: JSONEncoding.default) + } + } + + var headers: [String : String]? { + switch self { + case .signUp: + return ["Content-Type": "application/json"] + } + } +} diff --git a/Instagram/Instagram/Network/Utility/GeneralResponse.swift b/Instagram/Instagram/Network/Utility/BaseResponse.swift similarity index 70% rename from Instagram/Instagram/Network/Utility/GeneralResponse.swift rename to Instagram/Instagram/Network/Utility/BaseResponse.swift index a5f093b..4838791 100644 --- a/Instagram/Instagram/Network/Utility/GeneralResponse.swift +++ b/Instagram/Instagram/Network/Utility/BaseResponse.swift @@ -7,15 +7,11 @@ import Foundation -struct GenericResponse: Decodable { - var status: Int - var success: Bool - var message: String? - var data: T? - - var statusCase: NetworkResult? { - return NetworkResult(rawValue: status) - } +struct BaseResponse: Decodable { + let status: Int + let success: Bool + let message: String + let data: T? enum CodingKeys: String, CodingKey { case message @@ -33,16 +29,12 @@ struct GenericResponse: Decodable { } } -struct GenericArrayResponse: Decodable { +struct BaseArrayResponseType: Decodable { let status: Int - let message: String? let success: Bool? + let message: String? let data: [T]? - var statusCase: NetworkResult? { - return NetworkResult(rawValue: status) - } - enum CodingKeys: String, CodingKey { case message case data @@ -58,6 +50,3 @@ struct GenericArrayResponse: Decodable { success = (try? values.decode(Bool.self, forKey: .success)) ?? false } } - -/// status, message, success 이외에 정보를 사용하지 않는 경우에 VoidType를 설정해주면 됩니다! -struct VoidType: Decodable {} diff --git a/Instagram/Instagram/Network/Utility/BaseTargetType.swift b/Instagram/Instagram/Network/Utility/BaseTargetType.swift deleted file mode 100644 index fe6f1ef..0000000 --- a/Instagram/Instagram/Network/Utility/BaseTargetType.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// BaseTargetType.swift -// Instagram -// -// Created by 소연 on 2022/04/04. -// - -import Foundation - -import Moya - -protocol BaseTargetType: TargetType { } - -extension BaseTargetType { - var baseURL: URL { - // FIXME: - Constant로 관리 + 강제언래핑 수정 - return URL(string: "")! - } - - var sampleData: Data { - return Data() - } -} diff --git a/Instagram/Instagram/Network/Utility/GeneralAPI.swift b/Instagram/Instagram/Network/Utility/GeneralAPI.swift index a3dc50d..4dda49e 100644 --- a/Instagram/Instagram/Network/Utility/GeneralAPI.swift +++ b/Instagram/Instagram/Network/Utility/GeneralAPI.swift @@ -6,3 +6,15 @@ // import Foundation + +struct GeneralAPI { + + // MARK: - Base URL + + static let baseURL = "http://13.124.62.236" + + // MARK: - Feature URL + + static let loginURL = "/auth/signin" + static let signUpURL = "/auth/signup" +} diff --git a/Instagram/Instagram/Network/Utility/MoyaLoggingPlugin.swift b/Instagram/Instagram/Network/Utility/MoyaLoggingPlugin.swift index 2f2c261..fe7361f 100644 --- a/Instagram/Instagram/Network/Utility/MoyaLoggingPlugin.swift +++ b/Instagram/Instagram/Network/Utility/MoyaLoggingPlugin.swift @@ -1,5 +1,5 @@ // -// MoyaLoggingPlugin.swift +// MoyaLoggerPlugin.swift // Instagram // // Created by 소연 on 2022/04/04. @@ -9,7 +9,8 @@ import Foundation import Moya -final class MoyaLoggingPlugin: PluginType { +final class MoyaLoggerPlugin: PluginType { + // Request를 보낼 때 호출 func willSend(_ request: RequestType, target: TargetType) { guard let httpRequest = request.request else { @@ -18,15 +19,15 @@ final class MoyaLoggingPlugin: PluginType { } let url = httpRequest.description let method = httpRequest.httpMethod ?? "unknown method" - var log = "----------------------------------------------------\n\n[\(method)] \(url)\n\n----------------------------------------------------\n" - log.append("API: \(target)\n") + var log = "----------------------------------------------------\n1️⃣[\(method)] \(url)\n----------------------------------------------------\n" + log.append("2️⃣API: \(target)\n") if let headers = httpRequest.allHTTPHeaderFields, !headers.isEmpty { log.append("header: \(headers)\n") } if let body = httpRequest.httpBody, let bodyString = String(bytes: body, encoding: String.Encoding.utf8) { log.append("\(bodyString)\n") } - log.append("------------------- END \(method) --------------------------") + log.append("------------------- END \(method) -------------------") print(log) } @@ -34,36 +35,33 @@ final class MoyaLoggingPlugin: PluginType { func didReceive(_ result: Result, target: TargetType) { switch result { case let .success(response): - onSuceed(response, target: target, isFromError: false) + onSuceed(response) case let .failure(error): - onFail(error, target: target) + onFail(error) } } - func onSuceed(_ response: Response, target: TargetType, isFromError: Bool) { + func onSuceed(_ response: Response) { let request = response.request let url = request?.url?.absoluteString ?? "nil" let statusCode = response.statusCode - var log = "------------------- 네트워크 통신 성공 -------------------" - log.append("\n[\(statusCode)] \(url)\n----------------------------------------------------\n") - log.append("API: \(target)\n") - response.response?.allHeaderFields.forEach { - log.append("\($0): \($1)\n") - } + var log = "------------------- 네트워크 통신 성공했는가? -------------------" + log.append("\n3️⃣[\(statusCode)] \(url)\n----------------------------------------------------\n") + log.append("response: \n") if let reString = String(bytes: response.data, encoding: String.Encoding.utf8) { - log.append("\(reString)\n") + log.append("4️⃣\(reString)\n") } - log.append("------------------- END HTTP (\(response.data.count)-byte body) -------------------") + log.append("------------------- END HTTP -------------------") print(log) } - func onFail(_ error: MoyaError, target: TargetType) { + func onFail(_ error: MoyaError) { if let response = error.response { - onSuceed(response, target: target, isFromError: true) + onSuceed(response) return } var log = "네트워크 오류" - log.append("<-- \(error.errorCode) \(target)\n") + log.append("<-- \(error.errorCode)\n") log.append("\(error.failureReason ?? error.errorDescription ?? "unknown error")\n") log.append("<-- END HTTP") print(log) diff --git a/Instagram/Instagram/Network/Utility/NetworkResult.swift b/Instagram/Instagram/Network/Utility/NetworkResult.swift index f3e2d68..03f4765 100644 --- a/Instagram/Instagram/Network/Utility/NetworkResult.swift +++ b/Instagram/Instagram/Network/Utility/NetworkResult.swift @@ -7,18 +7,11 @@ import Foundation -enum NetworkResult: Int { - case okay = 200 - case created = 201 - case noContent = 204 - case badRequest = 400 - case unAuthorized = 401 - case nullValue = 402 - case forbidden = 403 - case notFound = 404 - case conflict = 409 - case internalServerError = 500 - case serviceUnavailable = 503 - case dbError = 600 +enum NetworkResult { + case success(T) // 서버 통신 성공했을 때, + case requestErr(T) // 요청 에러 발생했을 때, + case pathErr // 경로 에러 발생했을 때, + case serverErr // 서버의 내부적 에러가 발생했을 때, + case networkFail // 네트워크 연결 실패했을 때 } diff --git a/Instagram/Instagram/Source/Screen/Auth/Controller/AuthCompleteViewController.swift b/Instagram/Instagram/Source/Screen/Auth/Controller/AuthCompleteViewController.swift index c4aaf9a..7e8e3c5 100644 --- a/Instagram/Instagram/Source/Screen/Auth/Controller/AuthCompleteViewController.swift +++ b/Instagram/Instagram/Source/Screen/Auth/Controller/AuthCompleteViewController.swift @@ -14,6 +14,10 @@ import Then final class AuthCompleteViewController: UIViewController { + // MARK: - Network + + private let signUpAPI = SignUpAPI.shared + // MARK: - Properties var disposeBag = DisposeBag() @@ -45,6 +49,10 @@ final class AuthCompleteViewController: UIViewController { bind() } + override func touchesBegan(_ touches: Set, with event: UIEvent?) { + self.view.endEditing(true) + } + // MARK: - Init UI private func configNavigationUI() { @@ -60,7 +68,7 @@ final class AuthCompleteViewController: UIViewController { navigationBar.snp.makeConstraints { $0.top.left.right.equalTo(view.safeAreaLayoutGuide) - $0.height.equalTo(44) + $0.height.equalTo(IDSNavigationBar.Metric.navigationHeight) } rootView.snp.makeConstraints { @@ -73,13 +81,16 @@ final class AuthCompleteViewController: UIViewController { private func bind() { rootView.tapCompleteObservable + .throttleOnBackground(.seconds(1)) + .observeOnMain() .withUnretained(self) .subscribe(onNext: { (`self`, _ ) in - let dvc = TabBarController() - guard let window = self.view.window else { - return + self.signUpAPI.signUp(parameter: SignUpRequest(name: AuthModel.name, email: AuthModel.email, password: AuthModel.password)) { data, err in + guard let data = data else { + return + } + self.alert(message: "회원가입 성공") } - window.switchRootViewController(dvc) }) .disposed(by: disposeBag) @@ -88,9 +99,25 @@ final class AuthCompleteViewController: UIViewController { .subscribe(onNext: { (`self`, _ ) in guard let parentVC = self.presentingViewController as? UINavigationController else { return } self.dismiss(animated: true) { - parentVC.popToRootViewController(animated: true) + parentVC.dismiss(animated: true) } }) .disposed(by: disposeBag) } + + func alert(message: String) { + let alertVC = UIAlertController(title: message, message: nil, preferredStyle: .alert) + let okAction = UIAlertAction(title: "확인", style: .default) { action in + print("action") + self.navigationController?.popViewController(animated: true) + } + alertVC.addAction(okAction) + present(alertVC, animated: true) + } +} + +// MARK: - Network + +extension AuthCompleteViewController { + } diff --git a/Instagram/Instagram/Source/Screen/Auth/Controller/UserNameViewController.swift b/Instagram/Instagram/Source/Screen/Auth/Controller/UserNameViewController.swift index 8bd444a..6bd72fd 100644 --- a/Instagram/Instagram/Source/Screen/Auth/Controller/UserNameViewController.swift +++ b/Instagram/Instagram/Source/Screen/Auth/Controller/UserNameViewController.swift @@ -54,7 +54,7 @@ final class UserNameViewController: UIViewController { navigationBar.snp.makeConstraints { $0.top.left.right.equalTo(view.safeAreaLayoutGuide) - $0.height.equalTo(44) + $0.height.equalTo(IDSNavigationBar.Metric.navigationHeight) } rootView.snp.makeConstraints { @@ -70,7 +70,7 @@ final class UserNameViewController: UIViewController { .withUnretained(self) .subscribe(onNext: { (`self`, _ ) in let passwordViewController = UserPasswordViewController() - passwordViewController.userName = self.rootView.textData + AuthModel.email = self.rootView.textData self.navigationController?.pushViewController(passwordViewController, animated: true) }) .disposed(by: disposeBag) diff --git a/Instagram/Instagram/Source/Screen/Auth/Controller/UserPasswordViewController.swift b/Instagram/Instagram/Source/Screen/Auth/Controller/UserPasswordViewController.swift index 9f2a21f..2d1e8b9 100644 --- a/Instagram/Instagram/Source/Screen/Auth/Controller/UserPasswordViewController.swift +++ b/Instagram/Instagram/Source/Screen/Auth/Controller/UserPasswordViewController.swift @@ -58,7 +58,7 @@ final class UserPasswordViewController: UIViewController { navigationBar.snp.makeConstraints { $0.top.left.right.equalTo(view.safeAreaLayoutGuide) - $0.height.equalTo(44) + $0.height.equalTo(IDSNavigationBar.Metric.navigationHeight) } rootView.snp.makeConstraints { @@ -74,7 +74,8 @@ final class UserPasswordViewController: UIViewController { .withUnretained(self) .subscribe(onNext: { (`self`, _ ) in let completeViewController = AuthCompleteViewController() - completeViewController.userName = self.userName + completeViewController.userName = AuthModel.name + AuthModel.password = self.rootView.textData let dvc = UINavigationController(rootViewController: completeViewController) dvc.modalPresentationStyle = .fullScreen diff --git a/Instagram/Instagram/Source/Screen/Auth/Model/AuthModel.swift b/Instagram/Instagram/Source/Screen/Auth/Model/AuthModel.swift index 9216f64..e6bdefb 100644 --- a/Instagram/Instagram/Source/Screen/Auth/Model/AuthModel.swift +++ b/Instagram/Instagram/Source/Screen/Auth/Model/AuthModel.swift @@ -6,3 +6,9 @@ // import Foundation + +internal struct AuthModel { + static var name: String = "" + static var email: String = "" + static var password: String = "" +} From 2cabb433991b546a4c24c7e36d7285b0940a00fc Mon Sep 17 00:00:00 2001 From: so yeon Date: Fri, 13 May 2022 15:27:13 +0900 Subject: [PATCH 2/6] =?UTF-8?q?[Del]=20Temp=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram/Network/API/TempAPI.swift | 8 -------- Instagram/Instagram/Network/DataModel/TempDataModel.swift | 8 -------- Instagram/Instagram/Network/Service/TempService.swift | 8 -------- 3 files changed, 24 deletions(-) delete mode 100644 Instagram/Instagram/Network/API/TempAPI.swift delete mode 100644 Instagram/Instagram/Network/DataModel/TempDataModel.swift delete mode 100644 Instagram/Instagram/Network/Service/TempService.swift diff --git a/Instagram/Instagram/Network/API/TempAPI.swift b/Instagram/Instagram/Network/API/TempAPI.swift deleted file mode 100644 index b0a2dd1..0000000 --- a/Instagram/Instagram/Network/API/TempAPI.swift +++ /dev/null @@ -1,8 +0,0 @@ -// -// TempAPI.swift -// Instagram -// -// Created by 소연 on 2022/04/04. -// - -import Foundation diff --git a/Instagram/Instagram/Network/DataModel/TempDataModel.swift b/Instagram/Instagram/Network/DataModel/TempDataModel.swift deleted file mode 100644 index 378bf8b..0000000 --- a/Instagram/Instagram/Network/DataModel/TempDataModel.swift +++ /dev/null @@ -1,8 +0,0 @@ -// -// TempDataModel.swift -// Instagram -// -// Created by 소연 on 2022/04/04. -// - -import Foundation diff --git a/Instagram/Instagram/Network/Service/TempService.swift b/Instagram/Instagram/Network/Service/TempService.swift deleted file mode 100644 index 157a594..0000000 --- a/Instagram/Instagram/Network/Service/TempService.swift +++ /dev/null @@ -1,8 +0,0 @@ -// -// TempService.swift -// Instagram -// -// Created by 소연 on 2022/04/04. -// - -import Foundation From 28b42d997b2fbe5274de79f317fae6b1339b03cd Mon Sep 17 00:00:00 2001 From: so yeon Date: Fri, 13 May 2022 15:42:24 +0900 Subject: [PATCH 3/6] =?UTF-8?q?[Feat]=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=84=9C=EB=B2=84=20=EC=97=B0=EA=B2=B0=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram.xcodeproj/project.pbxproj | 24 ++++---- .../Network/API/Auth/SignInAPI.swift | 50 ++++++++++++++++ .../Network/API/Auth/SignUpAPI.swift | 1 - .../Network/DataModel/Auth/AuthRequest.swift | 12 ++++ .../Network/Service/Auth/SignInService.swift | 59 +++++++++++++++++++ .../Network/Utility/GeneralAPI.swift | 2 +- .../Controller/SignInViewController.swift | 30 +++++++--- 7 files changed, 157 insertions(+), 21 deletions(-) create mode 100644 Instagram/Instagram/Network/API/Auth/SignInAPI.swift create mode 100644 Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift create mode 100644 Instagram/Instagram/Network/Service/Auth/SignInService.swift diff --git a/Instagram/Instagram.xcodeproj/project.pbxproj b/Instagram/Instagram.xcodeproj/project.pbxproj index 7d8c762..78718d0 100644 --- a/Instagram/Instagram.xcodeproj/project.pbxproj +++ b/Instagram/Instagram.xcodeproj/project.pbxproj @@ -8,6 +8,9 @@ /* Begin PBXBuildFile section */ 5CE6EFA4AF3313DD3C034709 /* Pods_Instagram.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DFC3BF8E1AE7CC1FAF92389 /* Pods_Instagram.framework */; }; + 9201FE52282E322A00443946 /* SignInService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE51282E322A00443946 /* SignInService.swift */; }; + 9201FE54282E327C00443946 /* AuthRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE53282E327C00443946 /* AuthRequest.swift */; }; + 9201FE56282E33E800443946 /* SignInAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE55282E33E800443946 /* SignInAPI.swift */; }; 920995A8280DD79F008C3491 /* TabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995A7280DD79F008C3491 /* TabBarController.swift */; }; 920995AB280DD965008C3491 /* SearchMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995AA280DD965008C3491 /* SearchMainViewController.swift */; }; 920995AF280DD9AD008C3491 /* ShopMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995AE280DD9AD008C3491 /* ShopMainViewController.swift */; }; @@ -24,9 +27,6 @@ 921E575C27FAD1DF00CDC913 /* IDSFont.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E575B27FAD1DF00CDC913 /* IDSFont.swift */; }; 921E575E27FAD25300CDC913 /* IDSTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E575D27FAD25300CDC913 /* IDSTextField.swift */; }; 921E576027FAD3AA00CDC913 /* IDSButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E575F27FAD3AA00CDC913 /* IDSButton.swift */; }; - 921E576827FADA4C00CDC913 /* TempAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576727FADA4C00CDC913 /* TempAPI.swift */; }; - 921E576A27FADA5700CDC913 /* TempDataModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576927FADA5700CDC913 /* TempDataModel.swift */; }; - 921E576C27FADA5F00CDC913 /* TempService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576B27FADA5F00CDC913 /* TempService.swift */; }; 921E576E27FADA7800CDC913 /* BaseResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576D27FADA7800CDC913 /* BaseResponse.swift */; }; 921E577027FADA8900CDC913 /* GeneralAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E576F27FADA8900CDC913 /* GeneralAPI.swift */; }; 921E577227FADA9800CDC913 /* NetworkResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = 921E577127FADA9800CDC913 /* NetworkResult.swift */; }; @@ -61,6 +61,9 @@ /* Begin PBXFileReference section */ 4DFC3BF8E1AE7CC1FAF92389 /* Pods_Instagram.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Instagram.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 90819665880AA30CF7419138 /* Pods-Instagram.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Instagram.debug.xcconfig"; path = "Target Support Files/Pods-Instagram/Pods-Instagram.debug.xcconfig"; sourceTree = ""; }; + 9201FE51282E322A00443946 /* SignInService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInService.swift; sourceTree = ""; }; + 9201FE53282E327C00443946 /* AuthRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthRequest.swift; sourceTree = ""; }; + 9201FE55282E33E800443946 /* SignInAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInAPI.swift; sourceTree = ""; }; 920995A7280DD79F008C3491 /* TabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarController.swift; sourceTree = ""; }; 920995AA280DD965008C3491 /* SearchMainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchMainViewController.swift; sourceTree = ""; }; 920995AE280DD9AD008C3491 /* ShopMainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopMainViewController.swift; sourceTree = ""; }; @@ -79,9 +82,6 @@ 921E575B27FAD1DF00CDC913 /* IDSFont.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IDSFont.swift; sourceTree = ""; }; 921E575D27FAD25300CDC913 /* IDSTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IDSTextField.swift; sourceTree = ""; }; 921E575F27FAD3AA00CDC913 /* IDSButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IDSButton.swift; sourceTree = ""; }; - 921E576727FADA4C00CDC913 /* TempAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempAPI.swift; sourceTree = ""; }; - 921E576927FADA5700CDC913 /* TempDataModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempDataModel.swift; sourceTree = ""; }; - 921E576B27FADA5F00CDC913 /* TempService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TempService.swift; sourceTree = ""; }; 921E576D27FADA7800CDC913 /* BaseResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseResponse.swift; sourceTree = ""; }; 921E576F27FADA8900CDC913 /* GeneralAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeneralAPI.swift; sourceTree = ""; }; 921E577127FADA9800CDC913 /* NetworkResult.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkResult.swift; sourceTree = ""; }; @@ -308,7 +308,6 @@ isa = PBXGroup; children = ( 92BF252A2829676A00DE0205 /* Auth */, - 921E576727FADA4C00CDC913 /* TempAPI.swift */, ); path = API; sourceTree = ""; @@ -317,7 +316,6 @@ isa = PBXGroup; children = ( 92BF252F2829685000DE0205 /* Auth */, - 921E576927FADA5700CDC913 /* TempDataModel.swift */, ); path = DataModel; sourceTree = ""; @@ -326,7 +324,6 @@ isa = PBXGroup; children = ( 92BF25292829675400DE0205 /* Auth */, - 921E576B27FADA5F00CDC913 /* TempService.swift */, ); path = Service; sourceTree = ""; @@ -450,6 +447,7 @@ isa = PBXGroup; children = ( 92BF252D2829678F00DE0205 /* SignUpService.swift */, + 9201FE51282E322A00443946 /* SignInService.swift */, ); path = Auth; sourceTree = ""; @@ -458,6 +456,7 @@ isa = PBXGroup; children = ( 92BF252B2829678200DE0205 /* SignUpAPI.swift */, + 9201FE55282E33E800443946 /* SignInAPI.swift */, ); path = Auth; sourceTree = ""; @@ -469,6 +468,7 @@ 92BF253428296A8800DE0205 /* SignUpRequest.swift */, 92BF25302829687300DE0205 /* SignInResponse.swift */, 92BF25322829689700DE0205 /* SignInRequest.swift */, + 9201FE53282E327C00443946 /* AuthRequest.swift */, ); path = Auth; sourceTree = ""; @@ -622,16 +622,16 @@ 921E579627FAE33C00CDC913 /* CloseButton.swift in Sources */, 9244A9DF27FEDD0400D7C2EC /* SignInViewModel.swift in Sources */, 921E575527FAD0EE00CDC913 /* UIView+.swift in Sources */, + 9201FE52282E322A00443946 /* SignInService.swift in Sources */, 921E579027FADF7B00CDC913 /* SignUpView.swift in Sources */, 92BF252E2829678F00DE0205 /* SignUpService.swift in Sources */, + 9201FE56282E33E800443946 /* SignInAPI.swift in Sources */, 921E576E27FADA7800CDC913 /* BaseResponse.swift in Sources */, 92920C7527FAE95F00DCABC7 /* Assets+Generated.swift in Sources */, 921E579227FAE23B00CDC913 /* IDSNavigationBar.swift in Sources */, - 921E576827FADA4C00CDC913 /* TempAPI.swift in Sources */, 92BF25332829689700DE0205 /* SignInRequest.swift in Sources */, 920995AF280DD9AD008C3491 /* ShopMainViewController.swift in Sources */, 92920C7927FAFE6800DCABC7 /* UserPasswordViewController.swift in Sources */, - 921E576C27FADA5F00CDC913 /* TempService.swift in Sources */, 921E573F27FACB1A00CDC913 /* HomeMainViewController.swift in Sources */, 92BF252C2829678200DE0205 /* SignUpAPI.swift in Sources */, 921E575727FAD11800CDC913 /* UITextField+.swift in Sources */, @@ -640,7 +640,6 @@ 921E573B27FACB1A00CDC913 /* AppDelegate.swift in Sources */, 921E577B27FADC2E00CDC913 /* SignInViewController.swift in Sources */, 920995AB280DD965008C3491 /* SearchMainViewController.swift in Sources */, - 921E576A27FADA5700CDC913 /* TempDataModel.swift in Sources */, 921E578E27FADD8E00CDC913 /* AuthCompleteViewController.swift in Sources */, 92BF253528296A8800DE0205 /* SignUpRequest.swift in Sources */, 92920C7727FAF71C00DCABC7 /* Reactive+.swift in Sources */, @@ -651,6 +650,7 @@ 921E579827FAE4C900CDC913 /* SignInView.swift in Sources */, 921E576027FAD3AA00CDC913 /* IDSButton.swift in Sources */, 921E575E27FAD25300CDC913 /* IDSTextField.swift in Sources */, + 9201FE54282E327C00443946 /* AuthRequest.swift in Sources */, 92BF253728296A9300DE0205 /* SignUpResponse.swift in Sources */, 921E577027FADA8900CDC913 /* GeneralAPI.swift in Sources */, 921E579427FAE2BA00CDC913 /* BackButton.swift in Sources */, diff --git a/Instagram/Instagram/Network/API/Auth/SignInAPI.swift b/Instagram/Instagram/Network/API/Auth/SignInAPI.swift new file mode 100644 index 0000000..5fb473b --- /dev/null +++ b/Instagram/Instagram/Network/API/Auth/SignInAPI.swift @@ -0,0 +1,50 @@ +// +// SignInAPI.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation + +import Moya + +final class SignInAPI { + + // MARK: - Static Properties + + static let shared: SignInAPI = SignInAPI() + private init() { } + + // MARK: - Network Properties + + var authProvider = MoyaProvider(plugins: [MoyaLoggerPlugin()]) + + public private(set) var signInResponse: BaseResponse? + public private(set) var signUpData: SignInResponse? + + // MARK: - GET + + func signUp(parameter: AuthRequest, completion: @escaping ((SignInResponse?, Error?) -> ())) { + authProvider.request(.signIn(parameter: parameter)) { [weak self] response in + switch response { + case .success(let result): + do { + self?.signInResponse = try result.map(BaseResponse.self) + guard let data = self?.signInResponse?.data else { + completion(nil, Error.self as? Error) + return + } + completion(data, nil) + } catch(let err) { + print(err.localizedDescription) + completion(nil, err) + } + case .failure(let err): + print(err.localizedDescription) + completion(nil, err) + } + } + } +} + diff --git a/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift b/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift index 1e70369..fffbb7c 100644 --- a/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift +++ b/Instagram/Instagram/Network/API/Auth/SignUpAPI.swift @@ -8,7 +8,6 @@ import Foundation import Moya -import Accelerate final class SignUpAPI { diff --git a/Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift b/Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift new file mode 100644 index 0000000..58409f7 --- /dev/null +++ b/Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift @@ -0,0 +1,12 @@ +// +// AuthRequest.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation + +struct AuthRequest: Codable { + let name, email, password: String +} diff --git a/Instagram/Instagram/Network/Service/Auth/SignInService.swift b/Instagram/Instagram/Network/Service/Auth/SignInService.swift new file mode 100644 index 0000000..d3912ac --- /dev/null +++ b/Instagram/Instagram/Network/Service/Auth/SignInService.swift @@ -0,0 +1,59 @@ +// +// SignInService.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation + +import Moya + +enum SignInService { + case signIn(parameter: AuthRequest) +} + +extension SignInService: TargetType { + var baseURL: URL { + return URL(string: GeneralAPI.baseURL)! + } + + var path: String { + switch self { + case .signIn: + return GeneralAPI.signInURL + } + } + + var parameterEncoding: ParameterEncoding { + switch self { + case .signIn: + return JSONEncoding.default + } + } + + var method: Moya.Method { + switch self { + case .signIn: + return .post + } + } + + var task: Task { + switch self { + case .signIn(let parameter): + let parameter: [String: Any] = ["name": parameter.name, + "email": parameter.email, + "password": parameter.password] + return .requestParameters(parameters: parameter, encoding: JSONEncoding.default) + } + } + + var headers: [String : String]? { + switch self { + case .signIn: + return ["Content-Type": "application/json"] + } + } +} + diff --git a/Instagram/Instagram/Network/Utility/GeneralAPI.swift b/Instagram/Instagram/Network/Utility/GeneralAPI.swift index 4dda49e..cb0800d 100644 --- a/Instagram/Instagram/Network/Utility/GeneralAPI.swift +++ b/Instagram/Instagram/Network/Utility/GeneralAPI.swift @@ -15,6 +15,6 @@ struct GeneralAPI { // MARK: - Feature URL - static let loginURL = "/auth/signin" + static let signInURL = "/auth/signin" static let signUpURL = "/auth/signup" } diff --git a/Instagram/Instagram/Source/Screen/Auth/Controller/SignInViewController.swift b/Instagram/Instagram/Source/Screen/Auth/Controller/SignInViewController.swift index 7f4ef41..bdc5776 100644 --- a/Instagram/Instagram/Source/Screen/Auth/Controller/SignInViewController.swift +++ b/Instagram/Instagram/Source/Screen/Auth/Controller/SignInViewController.swift @@ -14,6 +14,10 @@ import Then final class SignInViewController: UIViewController { + // MARK: - Network + + private let signInAPI = SignInAPI.shared + // MARK: - Properties var disposeBag = DisposeBag() @@ -73,13 +77,7 @@ final class SignInViewController: UIViewController { rootView.tapSignInObservable .withUnretained(self) .subscribe(onNext: { (`self`, _ ) in - let vc = AuthCompleteViewController() - vc.userName = self.rootView.userName - - let dvc = UINavigationController(rootViewController: vc) - dvc.modalPresentationStyle = .fullScreen - - self.present(dvc, animated: true) + self.signIn() }) .disposed(by: disposeBag) @@ -126,4 +124,22 @@ final class SignInViewController: UIViewController { completeViewController.modalPresentationStyle = .fullScreen present(completeViewController, animated: true) } + + private func signIn() { + guard let password = rootView.pwTextField.text else { return } + + self.signInAPI.signUp(parameter: AuthRequest(name: self.rootView.userName, email: self.rootView.userName, password: password)) { data, err in + guard let data = data else { return } + + let alertVC = UIAlertController(title: "로그인 성공", message: nil, preferredStyle: .alert) + let okAction = UIAlertAction(title: "확인", style: .default) { action in + print("action") + let vc = TabBarController() + self.navigationController?.pushViewController(vc, animated: true) + } + + alertVC.addAction(okAction) + self.present(alertVC, animated: true) + } + } } From 831e0b0c127bc609660891f4a9d9bea68e2a74b7 Mon Sep 17 00:00:00 2001 From: so yeon Date: Fri, 13 May 2022 15:48:31 +0900 Subject: [PATCH 4/6] =?UTF-8?q?[Chore]=20=EC=8B=9C=EC=9E=91=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4=20=EB=B3=80=EA=B2=BD=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram/Resource/Support/SceneDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Instagram/Instagram/Resource/Support/SceneDelegate.swift b/Instagram/Instagram/Resource/Support/SceneDelegate.swift index ced7212..dc95149 100644 --- a/Instagram/Instagram/Resource/Support/SceneDelegate.swift +++ b/Instagram/Instagram/Resource/Support/SceneDelegate.swift @@ -18,7 +18,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). guard let scene = (scene as? UIWindowScene) else { return } self.window = UIWindow(windowScene: scene) - self.window?.rootViewController = TabBarController() + self.window?.rootViewController = SignInViewController() self.window?.makeKeyAndVisible() } From 79aa0e26a99ef3b367ecc0439f54d2f33c19db38 Mon Sep 17 00:00:00 2001 From: so yeon Date: Sat, 28 May 2022 14:53:53 +0900 Subject: [PATCH 5/6] =?UTF-8?q?[Rename]=20API=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD=20(#13)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Instagram/Instagram/Network/API/Home/HomeAPI.swift | 8 ++++++++ .../{DataModel => APIModel}/Auth/AuthRequest.swift | 0 .../{DataModel => APIModel}/Auth/SignInRequest.swift | 0 .../{DataModel => APIModel}/Auth/SignInResponse.swift | 0 .../{DataModel => APIModel}/Auth/SignUpRequest.swift | 0 .../{DataModel => APIModel}/Auth/SignUpResponse.swift | 0 .../Instagram/Network/APIModel/Home/HomeResponse.swift | 8 ++++++++ .../Instagram/Network/Service/Home/HomeService.swift | 8 ++++++++ 8 files changed, 24 insertions(+) create mode 100644 Instagram/Instagram/Network/API/Home/HomeAPI.swift rename Instagram/Instagram/Network/{DataModel => APIModel}/Auth/AuthRequest.swift (100%) rename Instagram/Instagram/Network/{DataModel => APIModel}/Auth/SignInRequest.swift (100%) rename Instagram/Instagram/Network/{DataModel => APIModel}/Auth/SignInResponse.swift (100%) rename Instagram/Instagram/Network/{DataModel => APIModel}/Auth/SignUpRequest.swift (100%) rename Instagram/Instagram/Network/{DataModel => APIModel}/Auth/SignUpResponse.swift (100%) create mode 100644 Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift create mode 100644 Instagram/Instagram/Network/Service/Home/HomeService.swift diff --git a/Instagram/Instagram/Network/API/Home/HomeAPI.swift b/Instagram/Instagram/Network/API/Home/HomeAPI.swift new file mode 100644 index 0000000..1234f9e --- /dev/null +++ b/Instagram/Instagram/Network/API/Home/HomeAPI.swift @@ -0,0 +1,8 @@ +// +// HomeAPI.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation diff --git a/Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift b/Instagram/Instagram/Network/APIModel/Auth/AuthRequest.swift similarity index 100% rename from Instagram/Instagram/Network/DataModel/Auth/AuthRequest.swift rename to Instagram/Instagram/Network/APIModel/Auth/AuthRequest.swift diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift b/Instagram/Instagram/Network/APIModel/Auth/SignInRequest.swift similarity index 100% rename from Instagram/Instagram/Network/DataModel/Auth/SignInRequest.swift rename to Instagram/Instagram/Network/APIModel/Auth/SignInRequest.swift diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift b/Instagram/Instagram/Network/APIModel/Auth/SignInResponse.swift similarity index 100% rename from Instagram/Instagram/Network/DataModel/Auth/SignInResponse.swift rename to Instagram/Instagram/Network/APIModel/Auth/SignInResponse.swift diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift b/Instagram/Instagram/Network/APIModel/Auth/SignUpRequest.swift similarity index 100% rename from Instagram/Instagram/Network/DataModel/Auth/SignUpRequest.swift rename to Instagram/Instagram/Network/APIModel/Auth/SignUpRequest.swift diff --git a/Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift b/Instagram/Instagram/Network/APIModel/Auth/SignUpResponse.swift similarity index 100% rename from Instagram/Instagram/Network/DataModel/Auth/SignUpResponse.swift rename to Instagram/Instagram/Network/APIModel/Auth/SignUpResponse.swift diff --git a/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift b/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift new file mode 100644 index 0000000..b6e5018 --- /dev/null +++ b/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift @@ -0,0 +1,8 @@ +// +// HomeResponse.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation diff --git a/Instagram/Instagram/Network/Service/Home/HomeService.swift b/Instagram/Instagram/Network/Service/Home/HomeService.swift new file mode 100644 index 0000000..ad47ebb --- /dev/null +++ b/Instagram/Instagram/Network/Service/Home/HomeService.swift @@ -0,0 +1,8 @@ +// +// HomeService.swift +// Instagram +// +// Created by 소연 on 2022/05/13. +// + +import Foundation From ea6c003eada1807a51ee37cada9ca10f0aaf447f Mon Sep 17 00:00:00 2001 From: so yeon Date: Sat, 28 May 2022 14:55:03 +0900 Subject: [PATCH 6/6] [Add] Podfile Reinstall (#13) --- Instagram/Instagram.xcodeproj/project.pbxproj | 46 +- .../Instagram/Network/API/Home/HomeAPI.swift | 42 + .../Network/APIModel/Home/HomeResponse.swift | 13 + .../Network/Service/Home/HomeService.swift | 52 + .../Network/Utility/BaseResponse.swift | 2 +- .../Network/Utility/GeneralAPI.swift | 4 + .../Resource/Support/SceneDelegate.swift | 2 +- .../Controller/HomeMainViewController.swift | 11 + .../View/HomeMainContentTableViewCell.swift | 9 +- .../Screen/Home/View/HomeMainView.swift | 4 + Instagram/Podfile | 2 + Instagram/Podfile.lock | 10 +- Instagram/Pods/Alamofire/LICENSE | 2 +- Instagram/Pods/Alamofire/README.md | 18 +- .../Pods/Alamofire/Source/Alamofire.swift | 7 +- .../Pods/Alamofire/Source/Concurrency.swift | 12 +- .../Pods/Alamofire/Source/HTTPMethod.swift | 2 + .../Alamofire/Source/MultipartFormData.swift | 55 +- Instagram/Pods/Alamofire/Source/Request.swift | 2 +- .../Source/ServerTrustEvaluation.swift | 24 +- Instagram/Pods/Alamofire/Source/Session.swift | 3 +- Instagram/Pods/Kingfisher/LICENSE | 22 + Instagram/Pods/Kingfisher/README.md | 258 + .../Sources/Cache/CacheSerializer.swift | 117 + .../Sources/Cache/DiskStorage.swift | 586 ++ .../FormatIndicatedCacheSerializer.swift | 118 + .../Kingfisher/Sources/Cache/ImageCache.swift | 875 +++ .../Sources/Cache/MemoryStorage.swift | 285 + .../Kingfisher/Sources/Cache/Storage.swift | 113 + .../Extensions/CPListItem+Kingfisher.swift | 258 + .../Extensions/ImageView+Kingfisher.swift | 545 ++ .../Extensions/NSButton+Kingfisher.swift | 370 ++ .../NSTextAttachment+Kingfisher.swift | 279 + .../TVMonogramView+Kingfisher.swift | 217 + .../Extensions/UIButton+Kingfisher.swift | 416 ++ .../WKInterfaceImage+Kingfisher.swift | 212 + .../AVAssetImageDataProvider.swift | 137 + .../ImageSource/ImageDataProvider.swift | 170 + .../General/ImageSource/Resource.swift | 115 + .../Sources/General/ImageSource/Source.swift | 123 + .../Pods/Kingfisher/Sources/General/KF.swift | 442 ++ .../Sources/General/KFOptionsSetter.swift | 707 +++ .../Sources/General/Kingfisher.swift | 106 + .../Sources/General/KingfisherError.swift | 461 ++ .../Sources/General/KingfisherManager.swift | 739 +++ .../General/KingfisherOptionsInfo.swift | 400 ++ .../Kingfisher/Sources/Image/Filter.swift | 146 + .../Sources/Image/GIFAnimatedImage.swift | 121 + .../Sources/Image/GraphicsContext.swift | 88 + .../Pods/Kingfisher/Sources/Image/Image.swift | 377 ++ .../Sources/Image/ImageDrawing.swift | 632 +++ .../Sources/Image/ImageFormat.swift | 130 + .../Sources/Image/ImageProcessor.swift | 935 ++++ .../Sources/Image/ImageProgressive.swift | 328 ++ .../Sources/Image/ImageTransition.swift | 118 + .../Sources/Image/Placeholder.swift | 82 + .../AuthenticationChallengeResponsable.swift | 94 + .../Networking/ImageDataProcessor.swift | 74 + .../Sources/Networking/ImageDownloader.swift | 488 ++ .../Networking/ImageDownloaderDelegate.swift | 154 + .../Sources/Networking/ImageModifier.swift | 116 + .../Sources/Networking/ImagePrefetcher.swift | 442 ++ .../Sources/Networking/RedirectHandler.swift | 76 + .../Sources/Networking/RequestModifier.swift | 108 + .../Sources/Networking/RetryStrategy.swift | 153 + .../Sources/Networking/SessionDataTask.swift | 127 + .../Sources/Networking/SessionDelegate.swift | 263 + .../Sources/SwiftUI/ImageBinder.swift | 130 + .../Sources/SwiftUI/ImageContext.swift | 99 + .../Sources/SwiftUI/KFAnimatedImage.swift | 96 + .../Kingfisher/Sources/SwiftUI/KFImage.swift | 106 + .../Sources/SwiftUI/KFImageOptions.swift | 138 + .../Sources/SwiftUI/KFImageProtocol.swift | 93 + .../Sources/SwiftUI/KFImageRenderer.swift | 105 + .../Pods/Kingfisher/Sources/Utility/Box.swift | 34 + .../Sources/Utility/CallbackQueue.swift | 83 + .../Kingfisher/Sources/Utility/Delegate.swift | 132 + .../Sources/Utility/ExtensionHelpers.swift | 125 + .../Kingfisher/Sources/Utility/Result.swift | 71 + .../Kingfisher/Sources/Utility/Runtime.swift | 35 + .../Sources/Utility/SizeExtensions.swift | 110 + .../Sources/Utility/String+MD5.swift | 288 + .../Sources/Views/AnimatedImageView.swift | 660 +++ .../Kingfisher/Sources/Views/Indicator.swift | 231 + Instagram/Pods/Manifest.lock | 10 +- Instagram/Pods/Pods.xcodeproj/project.pbxproj | 4815 +++++++++-------- .../Alamofire/Alamofire-Info.plist | 2 +- .../Kingfisher/Kingfisher-Info.plist | 26 + .../Kingfisher/Kingfisher-dummy.m | 5 + .../Kingfisher/Kingfisher-prefix.pch | 12 + .../Kingfisher/Kingfisher-umbrella.h | 16 + .../Kingfisher/Kingfisher.debug.xcconfig | 14 + .../Kingfisher/Kingfisher.modulemap | 6 + .../Kingfisher/Kingfisher.release.xcconfig | 14 + .../Pods-Instagram-acknowledgements.markdown | 28 +- .../Pods-Instagram-acknowledgements.plist | 34 +- ...am-frameworks-Debug-input-files.xcfilelist | 1 + ...m-frameworks-Debug-output-files.xcfilelist | 1 + ...-frameworks-Release-input-files.xcfilelist | 1 + ...frameworks-Release-output-files.xcfilelist | 1 + .../Pods-Instagram-frameworks.sh | 2 + .../Pods-Instagram.debug.xcconfig | 6 +- .../Pods-Instagram.release.xcconfig | 6 +- 103 files changed, 18733 insertions(+), 2248 deletions(-) create mode 100644 Instagram/Pods/Kingfisher/LICENSE create mode 100644 Instagram/Pods/Kingfisher/README.md create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/DiskStorage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/ImageCache.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Cache/Storage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/CPListItem+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/NSTextAttachment+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/TVMonogramView+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/ImageSource/AVAssetImageDataProvider.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/ImageSource/Source.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/KF.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/KFOptionsSetter.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/Kingfisher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/KingfisherError.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/KingfisherManager.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/Filter.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/GraphicsContext.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/Image.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/ImageDrawing.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/ImageFormat.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/ImageProcessor.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/ImageProgressive.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/ImageTransition.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Image/Placeholder.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/ImageModifier.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/RequestModifier.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/RetryStrategy.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageBinder.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageContext.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/KFAnimatedImage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImage.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageOptions.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageProtocol.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/Box.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/Delegate.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/Result.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/Runtime.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Utility/String+MD5.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift create mode 100644 Instagram/Pods/Kingfisher/Sources/Views/Indicator.swift create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-Info.plist create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.debug.xcconfig create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap create mode 100644 Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.release.xcconfig diff --git a/Instagram/Instagram.xcodeproj/project.pbxproj b/Instagram/Instagram.xcodeproj/project.pbxproj index a70b404..f8a9e21 100644 --- a/Instagram/Instagram.xcodeproj/project.pbxproj +++ b/Instagram/Instagram.xcodeproj/project.pbxproj @@ -11,6 +11,9 @@ 9201FE52282E322A00443946 /* SignInService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE51282E322A00443946 /* SignInService.swift */; }; 9201FE54282E327C00443946 /* AuthRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE53282E327C00443946 /* AuthRequest.swift */; }; 9201FE56282E33E800443946 /* SignInAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE55282E33E800443946 /* SignInAPI.swift */; }; + 9201FE5B282E3AF100443946 /* HomeResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE5A282E3AF100443946 /* HomeResponse.swift */; }; + 9201FE5D282E3B6400443946 /* HomeService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE5C282E3B6400443946 /* HomeService.swift */; }; + 9201FE5F282E3C1F00443946 /* HomeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9201FE5E282E3C1F00443946 /* HomeAPI.swift */; }; 920995A8280DD79F008C3491 /* TabBarController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995A7280DD79F008C3491 /* TabBarController.swift */; }; 920995AB280DD965008C3491 /* SearchMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995AA280DD965008C3491 /* SearchMainViewController.swift */; }; 920995AF280DD9AD008C3491 /* ShopMainViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920995AE280DD9AD008C3491 /* ShopMainViewController.swift */; }; @@ -70,6 +73,9 @@ 9201FE51282E322A00443946 /* SignInService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInService.swift; sourceTree = ""; }; 9201FE53282E327C00443946 /* AuthRequest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuthRequest.swift; sourceTree = ""; }; 9201FE55282E33E800443946 /* SignInAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignInAPI.swift; sourceTree = ""; }; + 9201FE5A282E3AF100443946 /* HomeResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeResponse.swift; sourceTree = ""; }; + 9201FE5C282E3B6400443946 /* HomeService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeService.swift; sourceTree = ""; }; + 9201FE5E282E3C1F00443946 /* HomeAPI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeAPI.swift; sourceTree = ""; }; 920995A7280DD79F008C3491 /* TabBarController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabBarController.swift; sourceTree = ""; }; 920995AA280DD965008C3491 /* SearchMainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchMainViewController.swift; sourceTree = ""; }; 920995AE280DD9AD008C3491 /* ShopMainViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShopMainViewController.swift; sourceTree = ""; }; @@ -147,6 +153,30 @@ path = Pods; sourceTree = ""; }; + 9201FE57282E3AAA00443946 /* Home */ = { + isa = PBXGroup; + children = ( + 9201FE5C282E3B6400443946 /* HomeService.swift */, + ); + path = Home; + sourceTree = ""; + }; + 9201FE58282E3AB500443946 /* Home */ = { + isa = PBXGroup; + children = ( + 9201FE5E282E3C1F00443946 /* HomeAPI.swift */, + ); + path = Home; + sourceTree = ""; + }; + 9201FE59282E3ABD00443946 /* Home */ = { + isa = PBXGroup; + children = ( + 9201FE5A282E3AF100443946 /* HomeResponse.swift */, + ); + path = Home; + sourceTree = ""; + }; 920995A9280DD950008C3491 /* Search */ = { isa = PBXGroup; children = ( @@ -241,7 +271,7 @@ isa = PBXGroup; children = ( 921E576327FAD9F500CDC913 /* API */, - 921E576427FAD9FF00CDC913 /* DataModel */, + 921E576427FAD9FF00CDC913 /* APIModel */, 921E576527FADA0700CDC913 /* Service */, 921E576627FADA3A00CDC913 /* Utility */, ); @@ -320,22 +350,25 @@ 921E576327FAD9F500CDC913 /* API */ = { isa = PBXGroup; children = ( + 9201FE58282E3AB500443946 /* Home */, 92BF252A2829676A00DE0205 /* Auth */, ); path = API; sourceTree = ""; }; - 921E576427FAD9FF00CDC913 /* DataModel */ = { + 921E576427FAD9FF00CDC913 /* APIModel */ = { isa = PBXGroup; children = ( + 9201FE59282E3ABD00443946 /* Home */, 92BF252F2829685000DE0205 /* Auth */, ); - path = DataModel; + path = APIModel; sourceTree = ""; }; 921E576527FADA0700CDC913 /* Service */ = { isa = PBXGroup; children = ( + 9201FE57282E3AAA00443946 /* Home */, 92BF25292829675400DE0205 /* Auth */, ); path = Service; @@ -511,7 +544,7 @@ 921E573327FACB1A00CDC913 /* Sources */, 921E573427FACB1A00CDC913 /* Frameworks */, 921E573527FACB1A00CDC913 /* Resources */, - 2BC0F4C06902F95C74337A91 /* [CP] Embed Pods Frameworks */, + 8512CE3ABBFA202A1235F577 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -593,7 +626,7 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 2BC0F4C06902F95C74337A91 /* [CP] Embed Pods Frameworks */ = { + 8512CE3ABBFA202A1235F577 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -645,6 +678,7 @@ 9201FE52282E322A00443946 /* SignInService.swift in Sources */, 921E579027FADF7B00CDC913 /* SignUpView.swift in Sources */, 92BF252E2829678F00DE0205 /* SignUpService.swift in Sources */, + 9201FE5B282E3AF100443946 /* HomeResponse.swift in Sources */, 9201FE56282E33E800443946 /* SignInAPI.swift in Sources */, 921E576E27FADA7800CDC913 /* BaseResponse.swift in Sources */, 92920C7527FAE95F00DCABC7 /* Assets+Generated.swift in Sources */, @@ -660,6 +694,7 @@ 921E578127FADC5B00CDC913 /* AuthCompleteView.swift in Sources */, 921E573B27FACB1A00CDC913 /* AppDelegate.swift in Sources */, 921E577B27FADC2E00CDC913 /* SignInViewController.swift in Sources */, + 9201FE5D282E3B6400443946 /* HomeService.swift in Sources */, 920995AB280DD965008C3491 /* SearchMainViewController.swift in Sources */, 921E578E27FADD8E00CDC913 /* AuthCompleteViewController.swift in Sources */, 92BF253528296A8800DE0205 /* SignUpRequest.swift in Sources */, @@ -667,6 +702,7 @@ 92920C7727FAF71C00DCABC7 /* Reactive+.swift in Sources */, 921E578827FADCFA00CDC913 /* HomeMainModel.swift in Sources */, 924AC4D72816C18D0056F0A5 /* UILabel+.swift in Sources */, + 9201FE5F282E3C1F00443946 /* HomeAPI.swift in Sources */, 920995A8280DD79F008C3491 /* TabBarController.swift in Sources */, 921E573D27FACB1A00CDC913 /* SceneDelegate.swift in Sources */, 921E575C27FAD1DF00CDC913 /* IDSFont.swift in Sources */, diff --git a/Instagram/Instagram/Network/API/Home/HomeAPI.swift b/Instagram/Instagram/Network/API/Home/HomeAPI.swift index 1234f9e..ed42eb1 100644 --- a/Instagram/Instagram/Network/API/Home/HomeAPI.swift +++ b/Instagram/Instagram/Network/API/Home/HomeAPI.swift @@ -6,3 +6,45 @@ // import Foundation + +import Moya + +final class HomeAPI { + + // MARK: - Static Properties + + static let shared: HomeAPI = HomeAPI() + private init() { } + + // MARK: - Network Properties + + private let homeProvider = MoyaProvider(plugins: [MoyaLoggerPlugin()]) + + public private(set) var homeResponse: BaseArrayResponseType? + public private(set) var homeData: [HomeResponse]? + + func getImageList(completion: @escaping (([HomeResponse]?, Error?) -> ())) { + homeProvider.request(.imageList) { [weak self] response in + guard let self = self else { return } + switch response { + case .success(let result): + do { + self.homeResponse = try result.map(BaseArrayResponseType.self) + guard let data = self.homeResponse?.data else { + completion(nil, Error.self as? Error) + return + } + self.homeData = data + + completion(data, nil) + } catch(let err) { + print(err.localizedDescription) + completion(nil, err) + } + case .failure(let err): + print(err.localizedDescription) + completion(nil, err) + } + } + } +} diff --git a/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift b/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift index b6e5018..0c8d777 100644 --- a/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift +++ b/Instagram/Instagram/Network/APIModel/Home/HomeResponse.swift @@ -6,3 +6,16 @@ // import Foundation + +// MARK: - HomeResponse + +struct HomeResponse: Codable { + let id, author: String + let width, height: Int + let url, downloadURL: String + + enum CodingKeys: String, CodingKey { + case id, author, width, height, url + case downloadURL = "download_url" + } +} diff --git a/Instagram/Instagram/Network/Service/Home/HomeService.swift b/Instagram/Instagram/Network/Service/Home/HomeService.swift index ad47ebb..87c530e 100644 --- a/Instagram/Instagram/Network/Service/Home/HomeService.swift +++ b/Instagram/Instagram/Network/Service/Home/HomeService.swift @@ -6,3 +6,55 @@ // import Foundation + +import Moya + +enum HomeService { + case imageList +} + +extension HomeService: TargetType { + + var baseURL: URL { + return URL(string: GeneralAPI.imageBaseURL)! + } + + var path: String { + switch self { + case .imageList: + return GeneralAPI.imageList + } + } + + var parameterEncoding: ParameterEncoding { + switch self { + case .imageList: + return JSONEncoding.default + } + } + + var method: Moya.Method { + switch self { + case .imageList: + return .get + } + } + + var sampleData: Data { + return Data() + } + + var task: Task { + switch self { + case .imageList: + return .requestPlain + } + } + + var headers: [String: String]? { + switch self { + case .imageList: + return ["Content-Type": "application/json"] + } + } +} diff --git a/Instagram/Instagram/Network/Utility/BaseResponse.swift b/Instagram/Instagram/Network/Utility/BaseResponse.swift index 4838791..468af41 100644 --- a/Instagram/Instagram/Network/Utility/BaseResponse.swift +++ b/Instagram/Instagram/Network/Utility/BaseResponse.swift @@ -30,7 +30,7 @@ struct BaseResponse: Decodable { } struct BaseArrayResponseType: Decodable { - let status: Int + let status: Int? let success: Bool? let message: String? let data: [T]? diff --git a/Instagram/Instagram/Network/Utility/GeneralAPI.swift b/Instagram/Instagram/Network/Utility/GeneralAPI.swift index cb0800d..4b7ec39 100644 --- a/Instagram/Instagram/Network/Utility/GeneralAPI.swift +++ b/Instagram/Instagram/Network/Utility/GeneralAPI.swift @@ -13,8 +13,12 @@ struct GeneralAPI { static let baseURL = "http://13.124.62.236" + static let imageBaseURL = "https://picsum.photos/v2" + // MARK: - Feature URL static let signInURL = "/auth/signin" static let signUpURL = "/auth/signup" + + static let imageList = "/list" } diff --git a/Instagram/Instagram/Resource/Support/SceneDelegate.swift b/Instagram/Instagram/Resource/Support/SceneDelegate.swift index dc95149..ced7212 100644 --- a/Instagram/Instagram/Resource/Support/SceneDelegate.swift +++ b/Instagram/Instagram/Resource/Support/SceneDelegate.swift @@ -18,7 +18,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). guard let scene = (scene as? UIWindowScene) else { return } self.window = UIWindow(windowScene: scene) - self.window?.rootViewController = SignInViewController() + self.window?.rootViewController = TabBarController() self.window?.makeKeyAndVisible() } diff --git a/Instagram/Instagram/Source/Screen/Home/Controller/HomeMainViewController.swift b/Instagram/Instagram/Source/Screen/Home/Controller/HomeMainViewController.swift index b189ed9..7746c10 100644 --- a/Instagram/Instagram/Source/Screen/Home/Controller/HomeMainViewController.swift +++ b/Instagram/Instagram/Source/Screen/Home/Controller/HomeMainViewController.swift @@ -14,6 +14,12 @@ import Then final class HomeMainViewController: UIViewController { + // MARK: - Network + + private let homeAPI = HomeAPI.shared + + // MARK: - Properties + var disposeBag = DisposeBag() private lazy var rootView = HomeMainView() @@ -52,6 +58,11 @@ final class HomeMainViewController: UIViewController { private func bind() { rootView.delegate = self + + self.homeAPI.getImageList() { data, err in + guard let data = data else { return } + dump(data) + } } } diff --git a/Instagram/Instagram/Source/Screen/Home/View/HomeMainContentTableViewCell.swift b/Instagram/Instagram/Source/Screen/Home/View/HomeMainContentTableViewCell.swift index 941b598..daff94f 100644 --- a/Instagram/Instagram/Source/Screen/Home/View/HomeMainContentTableViewCell.swift +++ b/Instagram/Instagram/Source/Screen/Home/View/HomeMainContentTableViewCell.swift @@ -10,6 +10,8 @@ import UIKit import SnapKit import Then +import Kingfisher + protocol HomeMainContentTableViewCellDelegate: AnyObject { func touchUpLikeButton(index: Int) } @@ -182,7 +184,7 @@ final class HomeMainContentTableViewCell: UITableViewCell { // MARK: - Custom Method internal func setData(_ data: HomeMainContentDataModel) { - userImageView.image = data.userImage + userNameLabel.text = data.userName contentUserNameLabel.text = data.userName contentImageView.image = data.contentImage @@ -191,6 +193,11 @@ final class HomeMainContentTableViewCell: UITableViewCell { commentLabel.text = "댓글 \(data.commentCount) 모두 보기" } + internal func setImage(_ data: String) { + let url = URL(string: data) + userImageView.kf.setImage(with: url) + } + // MARK: - @objc @objc func touchUpLikeButton() { diff --git a/Instagram/Instagram/Source/Screen/Home/View/HomeMainView.swift b/Instagram/Instagram/Source/Screen/Home/View/HomeMainView.swift index 7f56574..ddafb7a 100644 --- a/Instagram/Instagram/Source/Screen/Home/View/HomeMainView.swift +++ b/Instagram/Instagram/Source/Screen/Home/View/HomeMainView.swift @@ -56,6 +56,8 @@ final class HomeMainView: UIView { weak var delegate: HomeMainViewDelegate? + var imageList = [HomeResponse]() + // MARK: - Initializer init() { @@ -170,6 +172,8 @@ extension HomeMainView: UITableViewDataSource { cell.index = indexPath.row cell.setData(HomeMainContentDataModel.sampleData[indexPath.row]) cell.delegate = self + // FIXME: - ERROR: Out Of Index +// cell.setImage(imageList[indexPath.row].downloadURL) return cell default: return UITableViewCell() diff --git a/Instagram/Podfile b/Instagram/Podfile index 4567a92..0553cba 100644 --- a/Instagram/Podfile +++ b/Instagram/Podfile @@ -8,6 +8,8 @@ target 'Instagram' do pod 'Then', '2.7.0' pod 'SnapKit', '5.0.1' + pod 'Kingfisher', '~> 7.0' + pod 'SwiftGen', '~> 6.0' pod 'RxSwift', '6.2.0' diff --git a/Instagram/Podfile.lock b/Instagram/Podfile.lock index 3d2a837..e6a34f3 100644 --- a/Instagram/Podfile.lock +++ b/Instagram/Podfile.lock @@ -1,5 +1,6 @@ PODS: - - Alamofire (5.5.0) + - Alamofire (5.6.1) + - Kingfisher (7.2.2) - Moya (15.0.0): - Moya/Core (= 15.0.0) - Moya/Core (15.0.0): @@ -31,6 +32,7 @@ PODS: - WeakMapTable (1.2.0) DEPENDENCIES: + - Kingfisher (~> 7.0) - Moya (= 15.0.0) - Moya/RxSwift (= 15.0.0) - ReactorKit (= 3.1.0) @@ -46,6 +48,7 @@ DEPENDENCIES: SPEC REPOS: trunk: - Alamofire + - Kingfisher - Moya - ReactorKit - RxCocoa @@ -60,7 +63,8 @@ SPEC REPOS: - WeakMapTable SPEC CHECKSUMS: - Alamofire: 1c4fb5369c3fe93d2857c780d8bbe09f06f97e7c + Alamofire: 87bd8c952f9a4454320fce00d9cc3de57bcadaf5 + Kingfisher: 184d4d1a8c36666e663caf8e08abe87898595c53 Moya: 138f0573e53411fb3dc17016add0b748dfbd78ee ReactorKit: a06dd2a5c9339287aedf3dc821cfab6347eca106 RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42 @@ -74,6 +78,6 @@ SPEC CHECKSUMS: Then: acfe0be7e98221c6204e12f8161459606d5d822d WeakMapTable: 05c694ce8439a7a9ebabb56187287a63c57673d6 -PODFILE CHECKSUM: 9cebdff718aea97f27c508f757181b3a2f7f7137 +PODFILE CHECKSUM: e88bee4b1892e6d6c9febf18c1de96141f81b2e9 COCOAPODS: 1.11.2 diff --git a/Instagram/Pods/Alamofire/LICENSE b/Instagram/Pods/Alamofire/LICENSE index 6b4d719..cae030a 100644 --- a/Instagram/Pods/Alamofire/LICENSE +++ b/Instagram/Pods/Alamofire/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014-2021 Alamofire Software Foundation (http://alamofire.org/) +Copyright (c) 2014-2022 Alamofire Software Foundation (http://alamofire.org/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Instagram/Pods/Alamofire/README.md b/Instagram/Pods/Alamofire/README.md index c220900..b3fc817 100644 --- a/Instagram/Pods/Alamofire/README.md +++ b/Instagram/Pods/Alamofire/README.md @@ -1,6 +1,6 @@ ![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/master/Resources/AlamofireLogo.png) -[![Swift](https://img.shields.io/badge/Swift-5.3_5.4_5.5-orange?style=flat-square)](https://img.shields.io/badge/Swift-5.3_5.4_5.5-Orange?style=flat-square) +[![Swift](https://img.shields.io/badge/Swift-5.3_5.4_5.5_5.6-orange?style=flat-square)](https://img.shields.io/badge/Swift-5.3_5.4_5.5_5.6-Orange?style=flat-square) [![Platforms](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS_watchOS_Linux_Windows-yellowgreen?style=flat-square)](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS_watchOS_Linux_Windows-Green?style=flat-square) [![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg?style=flat-square)](https://img.shields.io/cocoapods/v/Alamofire.svg) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat-square)](https://github.com/Carthage/Carthage) @@ -99,7 +99,7 @@ Due to these issues, Alamofire is unsupported on Linux and Windows. Please repor [CocoaPods](https://cocoapods.org) is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`: ```ruby -pod 'Alamofire', '~> 5.5' +pod 'Alamofire' ``` ### Carthage @@ -107,18 +107,18 @@ pod 'Alamofire', '~> 5.5' [Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl -github "Alamofire/Alamofire" ~> 5.5 +github "Alamofire/Alamofire" ``` ### Swift Package Manager -The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Alamofire does support its use on supported platforms. +The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`. ```swift dependencies: [ - .package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.5.0")) + .package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.6.1")) ] ``` @@ -197,11 +197,11 @@ Alamofire is owned and maintained by the [Alamofire Software Foundation](http:// If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker. -## Donations +## Sponsorship The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially stay registered as a federal non-profit organization. Registering will allow Foundation members to gain some legal protections and also allow us to put donations to use, tax-free. -Donating to the ASF will enable us to: +Sponsoring the ASF will enable us to: - Pay our yearly legal fees to keep the non-profit in good status - Pay for our mail servers to help us stay on top of all questions and security issues @@ -212,9 +212,9 @@ The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. -Any amount you can donate today to help us reach our goal would be greatly appreciated. +Any amount you can donate, whether once or monthly, to help us reach our goal would be greatly appreciated. -[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W34WPEE74APJQ) +[Sponsor Alamofire](https://github.com/sponsors/Alamofire) ## Supporters diff --git a/Instagram/Pods/Alamofire/Source/Alamofire.swift b/Instagram/Pods/Alamofire/Source/Alamofire.swift index 0d3f5dc..d6fc39e 100644 --- a/Instagram/Pods/Alamofire/Source/Alamofire.swift +++ b/Instagram/Pods/Alamofire/Source/Alamofire.swift @@ -28,8 +28,13 @@ import Foundation @_exported import FoundationNetworking #endif +// Enforce minimum Swift version for all platforms and build systems. +#if swift(<5.3) +#error("Alamofire doesn't support Swift versions below 5.3.") +#endif + /// Reference to `Session.default` for quick bootstrapping and examples. public let AF = Session.default /// Current Alamofire version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate. -let version = "5.5.0" +let version = "5.6.1" diff --git a/Instagram/Pods/Alamofire/Source/Concurrency.swift b/Instagram/Pods/Alamofire/Source/Concurrency.swift index 2484335..a5621f3 100644 --- a/Instagram/Pods/Alamofire/Source/Concurrency.swift +++ b/Instagram/Pods/Alamofire/Source/Concurrency.swift @@ -22,7 +22,7 @@ // THE SOFTWARE. // -#if compiler(>=5.5.2) && canImport(_Concurrency) +#if compiler(>=5.6.0) && canImport(_Concurrency) import Foundation @@ -413,9 +413,15 @@ extension DownloadRequest { /// Creates a `DownloadTask` to `await` serialization of the downloaded file's `URL` on disk. /// + /// - Parameters: + /// - shouldAutomaticallyCancel: `Bool` determining whether or not the request should be cancelled when the + /// enclosing async context is cancelled. Only applies to `DownloadTask`'s async + /// properties. `false` by default. + /// /// - Returns: The `DownloadTask`. - public func serializingDownloadedFileURL() -> DownloadTask { - serializingDownload(using: URLResponseSerializer()) + public func serializingDownloadedFileURL(automaticallyCancelling shouldAutomaticallyCancel: Bool = false) -> DownloadTask { + serializingDownload(using: URLResponseSerializer(), + automaticallyCancelling: shouldAutomaticallyCancel) } /// Creates a `DownloadTask` to `await` serialization of a `String` value. diff --git a/Instagram/Pods/Alamofire/Source/HTTPMethod.swift b/Instagram/Pods/Alamofire/Source/HTTPMethod.swift index 4867c1e..539d214 100644 --- a/Instagram/Pods/Alamofire/Source/HTTPMethod.swift +++ b/Instagram/Pods/Alamofire/Source/HTTPMethod.swift @@ -43,6 +43,8 @@ public struct HTTPMethod: RawRepresentable, Equatable, Hashable { public static let post = HTTPMethod(rawValue: "POST") /// `PUT` method. public static let put = HTTPMethod(rawValue: "PUT") + /// `QUERY` method. + public static let query = HTTPMethod(rawValue: "QUERY") /// `TRACE` method. public static let trace = HTTPMethod(rawValue: "TRACE") diff --git a/Instagram/Pods/Alamofire/Source/MultipartFormData.swift b/Instagram/Pods/Alamofire/Source/MultipartFormData.swift index 8f72860..364b614 100644 --- a/Instagram/Pods/Alamofire/Source/MultipartFormData.swift +++ b/Instagram/Pods/Alamofire/Source/MultipartFormData.swift @@ -508,20 +508,6 @@ open class MultipartFormData { } } - // MARK: - Private - Mime Type - - private func mimeType(forPathExtension pathExtension: String) -> String { - #if !(os(Linux) || os(Windows)) - if - let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(), - let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() { - return contentType as String - } - #endif - - return "application/octet-stream" - } - // MARK: - Private - Content Headers private func contentHeaders(withName name: String, fileName: String? = nil, mimeType: String? = nil) -> HTTPHeaders { @@ -555,3 +541,44 @@ open class MultipartFormData { bodyPartError = AFError.multipartEncodingFailed(reason: reason) } } + +#if canImport(UniformTypeIdentifiers) +import UniformTypeIdentifiers + +extension MultipartFormData { + // MARK: - Private - Mime Type + + private func mimeType(forPathExtension pathExtension: String) -> String { + if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) { + return UTType(filenameExtension: pathExtension)?.preferredMIMEType ?? "application/octet-stream" + } else { + if + let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(), + let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() { + return contentType as String + } + + return "application/octet-stream" + } + } +} + +#else + +extension MultipartFormData { + // MARK: - Private - Mime Type + + private func mimeType(forPathExtension pathExtension: String) -> String { + #if !(os(Linux) || os(Windows)) + if + let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(), + let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() { + return contentType as String + } + #endif + + return "application/octet-stream" + } +} + +#endif diff --git a/Instagram/Pods/Alamofire/Source/Request.swift b/Instagram/Pods/Alamofire/Source/Request.swift index fdbdf11..7c6e5dc 100644 --- a/Instagram/Pods/Alamofire/Source/Request.swift +++ b/Instagram/Pods/Alamofire/Source/Request.swift @@ -1721,7 +1721,7 @@ public class DownloadRequest: Request { } else { // Resume to ensure metrics are gathered. task.resume() - task.cancel(byProducingResumeData: { _ in }) + task.cancel() self.underlyingQueue.async { self.didCancelTask(task) } } } diff --git a/Instagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift b/Instagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift index d63a63d..06abf19 100644 --- a/Instagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift +++ b/Instagram/Pods/Alamofire/Source/ServerTrustEvaluation.swift @@ -604,12 +604,25 @@ extension AlamofireExtension where ExtendedType == SecTrust { certificates.af.publicKeys } - /// The `SecCertificate`s contained i `self`. + #if swift(>=5.5) // Xcode 13 / 2021 SDKs. + /// The `SecCertificate`s contained in `self`. + public var certificates: [SecCertificate] { + if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) { + return (SecTrustCopyCertificateChain(type) as? [SecCertificate]) ?? [] + } else { + return (0.. Bool = { true }) - { + shouldCreateTask: @escaping () -> Bool = { true }) { dispatchPrecondition(condition: .onQueue(requestQueue)) let initialRequest: URLRequest diff --git a/Instagram/Pods/Kingfisher/LICENSE b/Instagram/Pods/Kingfisher/LICENSE new file mode 100644 index 0000000..80888ba --- /dev/null +++ b/Instagram/Pods/Kingfisher/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2019 Wei Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/Instagram/Pods/Kingfisher/README.md b/Instagram/Pods/Kingfisher/README.md new file mode 100644 index 0000000..b486aee --- /dev/null +++ b/Instagram/Pods/Kingfisher/README.md @@ -0,0 +1,258 @@ +

+Kingfisher +

+ +

+ + + + + +
+ + +

+ +Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web. It provides you a chance to use a pure-Swift way to work with remote images in your next app. + +## Features + +- [x] Asynchronous image downloading and caching. +- [x] Loading image from either `URLSession`-based networking or local provided data. +- [x] Useful image processors and filters provided. +- [x] Multiple-layer hybrid cache for both memory and disk. +- [x] Fine control on cache behavior. Customizable expiration date and size limit. +- [x] Cancelable downloading and auto-reusing previous downloaded content to improve performance. +- [x] Independent components. Use the downloader, caching system, and image processors separately as you need. +- [x] Prefetching images and showing them from the cache to boost your app. +- [x] View extensions for `UIImageView`, `NSImageView`, `NSButton` and `UIButton` to directly set an image from a URL. +- [x] Built-in transition animation when setting images. +- [x] Customizable placeholder and indicator while loading images. +- [x] Extensible image processing and image format easily. +- [x] Low Data Mode support. +- [x] SwiftUI support. + +### Kingfisher 101 + +The simplest use-case is setting an image to an image view with the `UIImageView` extension: + +```swift +import Kingfisher + +let url = URL(string: "https://example.com/image.png") +imageView.kf.setImage(with: url) +``` + +Kingfisher will download the image from `url`, send it to both memory cache and disk cache, and display it in `imageView`. +When you set with the same URL later, the image will be retrieved from the cache and shown immediately. + +It also works if you use SwiftUI: + +```swift +var body: some View { + KFImage(URL(string: "https://example.com/image.png")!) +} +``` + +### A More Advanced Example + +With the powerful options, you can do hard tasks with Kingfisher in a simple way. For example, the code below: + +1. Downloads a high-resolution image. +2. Downsamples it to match the image view size. +3. Makes it round cornered with a given radius. +4. Shows a system indicator and a placeholder image while downloading. +5. When prepared, it animates the small thumbnail image with a "fade in" effect. +6. The original large image is also cached to disk for later use, to get rid of downloading it again in a detail view. +7. A console log is printed when the task finishes, either for success or failure. + +```swift +let url = URL(string: "https://example.com/high_resolution_image.png") +let processor = DownsamplingImageProcessor(size: imageView.bounds.size) + |> RoundCornerImageProcessor(cornerRadius: 20) +imageView.kf.indicatorType = .activity +imageView.kf.setImage( + with: url, + placeholder: UIImage(named: "placeholderImage"), + options: [ + .processor(processor), + .scaleFactor(UIScreen.main.scale), + .transition(.fade(1)), + .cacheOriginalImage + ]) +{ + result in + switch result { + case .success(let value): + print("Task done for: \(value.source.url?.absoluteString ?? "")") + case .failure(let error): + print("Job failed: \(error.localizedDescription)") + } +} +``` + +It is a common situation I can meet in my daily work. Think about how many lines you need to write without +Kingfisher! + +### Method Chaining + +If you are not a fan of the `kf` extension, you can also prefer to use the `KF` builder and chained the method +invocations. The code below is doing the same thing: + +```swift +// Use `kf` extension +imageView.kf.setImage( + with: url, + placeholder: placeholderImage, + options: [ + .processor(processor), + .loadDiskFileSynchronously, + .cacheOriginalImage, + .transition(.fade(0.25)), + .lowDataMode(.network(lowResolutionURL)) + ], + progressBlock: { receivedSize, totalSize in + // Progress updated + }, + completionHandler: { result in + // Done + } +) + +// Use `KF` builder +KF.url(url) + .placeholder(placeholderImage) + .setProcessor(processor) + .loadDiskFileSynchronously() + .cacheMemoryOnly() + .fade(duration: 0.25) + .lowDataModeSource(.network(lowResolutionURL)) + .onProgress { receivedSize, totalSize in } + .onSuccess { result in } + .onFailure { error in } + .set(to: imageView) +``` + +And even better, if later you want to switch to SwiftUI, just change the `KF` above to `KFImage`, and you've done: + +```swift +struct ContentView: View { + var body: some View { + KFImage.url(url) + .placeholder(placeholderImage) + .setProcessor(processor) + .loadDiskFileSynchronously() + .cacheMemoryOnly() + .fade(duration: 0.25) + .lowDataModeSource(.network(lowResolutionURL)) + .onProgress { receivedSize, totalSize in } + .onSuccess { result in } + .onFailure { error in } + } +} +``` + +### Learn More + +To learn the use of Kingfisher by more examples, take a look at the well-prepared [Cheat Sheet](https://github.com/onevcat/Kingfisher/wiki/Cheat-Sheet). +There we summarized the most common tasks in Kingfisher, you can get a better idea of what this framework can do. +There are also some performance tips, remember to check them too. + +## Requirements + +- iOS 12.0+ / macOS 10.14+ / tvOS 12.0+ / watchOS 5.0+ (if you use only UIKit/AppKit) +- iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+ (if you use it in SwiftUI) +- Swift 5.0+ + +> If you need to support from iOS 10 (UIKit/AppKit) or iOS 13 (SwiftUI), use Kingfisher version 6.x. But it won't work +> with Xcode 13.0 and Xcode 13.1 [#1802](https://github.com/onevcat/Kingfisher/issues/1802). +> +> If you need to use Xcode 13.0 and 13.1 but cannot upgrade to v7, use the `version6-xcode13` branch. However, you have to drop +> iOS 10 support due to another Xcode 13 bug. +> +> | UIKit | SwiftUI | Xcode | Kingfisher | +> |---|---|---|---| +> | iOS 10+ | iOS 13+ | 12 | ~> 6.3.1 | +> | iOS 11+ | iOS 13+ | 13 | `version6-xcode13` | +> | iOS 12+ | iOS 14+ | 13 | ~> 7.0 | + +### Installation + +A detailed guide for installation can be found in [Installation Guide](https://github.com/onevcat/Kingfisher/wiki/Installation-Guide). + +#### Swift Package Manager + +- File > Swift Packages > Add Package Dependency +- Add `https://github.com/onevcat/Kingfisher.git` +- Select "Up to Next Major" with "7.0.0" + +#### CocoaPods + +```ruby +source 'https://github.com/CocoaPods/Specs.git' +platform :ios, '12.0' +use_frameworks! + +target 'MyApp' do + pod 'Kingfisher', '~> 7.0' +end +``` + +#### Carthage + +``` +github "onevcat/Kingfisher" ~> 7.0 +``` + + +### Migrating + +[Kingfisher 7.0 Migration](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-7.0-Migration-Guide) - Kingfisher 7.x is NOT fully compatible with the previous version. However, changes should be trivial or not required at all. Please follow the [migration guide](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-7.0-Migration-Guide) when you prepare to upgrade Kingfisher in your project. + +If you are using an even earlier version, see the guides below to know the steps for migrating. + +> - [Kingfisher 6.0 Migration](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-6.0-Migration-Guide) - Kingfisher 6.x is NOT fully compatible with the previous version. However, the migration is not difficult. Depending on your use cases, it may take no effect or several minutes to modify your existing code for the new version. Please follow the [migration guide](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-6.0-Migration-Guide) when you prepare to upgrade Kingfisher in your project. +> - [Kingfisher 5.0 Migration](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-5.0-Migration-Guide) - If you are upgrading to Kingfisher 5.x from 4.x, please read this for more information. +> - Kingfisher 4.0 Migration - Kingfisher 3.x should be source compatible to Kingfisher 4. The reason for a major update is that we need to specify the Swift version explicitly for Xcode. All deprecated methods in Kingfisher 3 were removed, so please ensure you have no warning left before you migrate from Kingfisher 3 to Kingfisher 4. If you have any trouble when migrating, please open an issue to discuss. +> - [Kingfisher 3.0 Migration](https://github.com/onevcat/Kingfisher/wiki/Kingfisher-3.0-Migration-Guide) - If you are upgrading to Kingfisher 3.x from an earlier version, please read this for more information. + +## Next Steps + +We prepared a [wiki page](https://github.com/onevcat/Kingfisher/wiki). You can find tons of useful things there. + +* [Installation Guide](https://github.com/onevcat/Kingfisher/wiki/Installation-Guide) - Follow it to integrate Kingfisher into your project. +* [Cheat Sheet](https://github.com/onevcat/Kingfisher/wiki/Cheat-Sheet)- Curious about what Kingfisher could do and how would it look like when used in your project? See this page for useful code snippets. If you are already familiar with Kingfisher, you could also learn new tricks to improve the way you use Kingfisher! +* [API Reference](https://kingfisher.onevcat.com/) - Lastly, please remember to read the full API reference whenever you need more detailed documentation. + +## Other + +### Future of Kingfisher + +I want to keep Kingfisher lightweight. This framework focuses on providing a simple solution for downloading and caching images. This doesn’t mean the framework can’t be improved. Kingfisher is far from perfect, so necessary and useful updates will be made to make it better. + +### Developments and Tests + +Any contributing and pull requests are warmly welcome. However, before you plan to implement some features or try to fix an uncertain issue, it is recommended to open a discussion first. It would be appreciated if your pull requests could build and with all tests green. :) + +### About the logo + +The logo of Kingfisher is inspired by [Tangram (七巧板)](http://en.wikipedia.org/wiki/Tangram), a dissection puzzle consisting of seven flat shapes from China. I believe she's a kingfisher bird instead of a swift, but someone insists that she is a pigeon. I guess I should give her a name. Hi, guys, do you have any suggestions? + +### Contact + +Follow and contact me on [Twitter](http://twitter.com/onevcat) or [Sina Weibo](http://weibo.com/onevcat). If you find an issue, [open a ticket](https://github.com/onevcat/Kingfisher/issues/new). Pull requests are warmly welcome as well. + +## Backers & Sponsors + +Open-source projects cannot live long without your help. If you find Kingfisher is useful, please consider supporting this +project by becoming a sponsor. Your user icon or company logo shows up [on my blog](https://onevcat.com/tabs/about/) with a link to your home page. + +Become a sponsor through [GitHub Sponsors](https://github.com/sponsors/onevcat). :heart: + +Special thanks to: + +[![imgly](https://user-images.githubusercontent.com/1812216/106253726-271ed000-6218-11eb-98e0-c9c681925770.png)](https://img.ly/) + +### License + +Kingfisher is released under the MIT license. See LICENSE for details. diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift b/Instagram/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift new file mode 100644 index 0000000..8cb09f2 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/CacheSerializer.swift @@ -0,0 +1,117 @@ +// +// CacheSerializer.swift +// Kingfisher +// +// Created by Wei Wang on 2016/09/02. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CoreGraphics + +/// An `CacheSerializer` is used to convert some data to an image object after +/// retrieving it from disk storage, and vice versa, to convert an image to data object +/// for storing to the disk storage. +public protocol CacheSerializer { + + /// Gets the serialized data from a provided image + /// and optional original data for caching to disk. + /// + /// - Parameters: + /// - image: The image needed to be serialized. + /// - original: The original data which is just downloaded. + /// If the image is retrieved from cache instead of + /// downloaded, it will be `nil`. + /// - Returns: The data object for storing to disk, or `nil` when no valid + /// data could be serialized. + func data(with image: KFCrossPlatformImage, original: Data?) -> Data? + + /// Gets an image from provided serialized data. + /// + /// - Parameters: + /// - data: The data from which an image should be deserialized. + /// - options: The parsed options for deserialization. + /// - Returns: An image deserialized or `nil` when no valid image + /// could be deserialized. + func image(with data: Data, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? +} + +/// Represents a basic and default `CacheSerializer` used in Kingfisher disk cache system. +/// It could serialize and deserialize images in PNG, JPEG and GIF format. For +/// image other than these formats, a normalized `pngRepresentation` will be used. +public struct DefaultCacheSerializer: CacheSerializer { + + /// The default general cache serializer used across Kingfisher's cache. + public static let `default` = DefaultCacheSerializer() + + /// The compression quality when converting image to a lossy format data. Default is 1.0. + public var compressionQuality: CGFloat = 1.0 + + /// Whether the original data should be preferred when serializing the image. + /// If `true`, the input original data will be checked first and used unless the data is `nil`. + /// In that case, the serialization will fall back to creating data from image. + public var preferCacheOriginalData: Bool = false + + /// Creates a cache serializer that serialize and deserialize images in PNG, JPEG and GIF format. + /// + /// - Note: + /// Use `DefaultCacheSerializer.default` unless you need to specify your own properties. + /// + public init() { } + + /// - Parameters: + /// - image: The image needed to be serialized. + /// - original: The original data which is just downloaded. + /// If the image is retrieved from cache instead of + /// downloaded, it will be `nil`. + /// - Returns: The data object for storing to disk, or `nil` when no valid + /// data could be serialized. + /// + /// - Note: + /// Only when `original` contains valid PNG, JPEG and GIF format data, the `image` will be + /// converted to the corresponding data type. Otherwise, if the `original` is provided but it is not + /// If `original` is `nil`, the input `image` will be encoded as PNG data. + public func data(with image: KFCrossPlatformImage, original: Data?) -> Data? { + if preferCacheOriginalData { + return original ?? + image.kf.data( + format: original?.kf.imageFormat ?? .unknown, + compressionQuality: compressionQuality + ) + } else { + return image.kf.data( + format: original?.kf.imageFormat ?? .unknown, + compressionQuality: compressionQuality + ) + } + } + + /// Gets an image deserialized from provided data. + /// + /// - Parameters: + /// - data: The data from which an image should be deserialized. + /// - options: Options for deserialization. + /// - Returns: An image deserialized or `nil` when no valid image + /// could be deserialized. + public func image(with data: Data, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + return KingfisherWrapper.image(data: data, options: options.imageCreatingOptions) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/DiskStorage.swift b/Instagram/Pods/Kingfisher/Sources/Cache/DiskStorage.swift new file mode 100644 index 0000000..debe7f4 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/DiskStorage.swift @@ -0,0 +1,586 @@ +// +// DiskStorage.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/15. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + + +/// Represents a set of conception related to storage which stores a certain type of value in disk. +/// This is a namespace for the disk storage types. A `Backend` with a certain `Config` will be used to describe the +/// storage. See these composed types for more information. +public enum DiskStorage { + + /// Represents a storage back-end for the `DiskStorage`. The value is serialized to data + /// and stored as file in the file system under a specified location. + /// + /// You can config a `DiskStorage.Backend` in its initializer by passing a `DiskStorage.Config` value. + /// or modifying the `config` property after it being created. `DiskStorage` will use file's attributes to keep + /// track of a file for its expiration or size limitation. + public class Backend { + /// The config used for this disk storage. + public var config: Config + + // The final storage URL on disk, with `name` and `cachePathBlock` considered. + public let directoryURL: URL + + let metaChangingQueue: DispatchQueue + + var maybeCached : Set? + let maybeCachedCheckingQueue = DispatchQueue(label: "com.onevcat.Kingfisher.maybeCachedCheckingQueue") + + // `false` if the storage initialized with an error. This prevents unexpected forcibly crash when creating + // storage in the default cache. + private var storageReady: Bool = true + + /// Creates a disk storage with the given `DiskStorage.Config`. + /// + /// - Parameter config: The config used for this disk storage. + /// - Throws: An error if the folder for storage cannot be got or created. + public convenience init(config: Config) throws { + self.init(noThrowConfig: config, creatingDirectory: false) + try prepareDirectory() + } + + // If `creatingDirectory` is `false`, the directory preparation will be skipped. + // We need to call `prepareDirectory` manually after this returns. + init(noThrowConfig config: Config, creatingDirectory: Bool) { + var config = config + + let creation = Creation(config) + self.directoryURL = creation.directoryURL + + // Break any possible retain cycle set by outside. + config.cachePathBlock = nil + self.config = config + + metaChangingQueue = DispatchQueue(label: creation.cacheName) + setupCacheChecking() + + if creatingDirectory { + try? prepareDirectory() + } + } + + private func setupCacheChecking() { + maybeCachedCheckingQueue.async { + do { + self.maybeCached = Set() + try self.config.fileManager.contentsOfDirectory(atPath: self.directoryURL.path).forEach { fileName in + self.maybeCached?.insert(fileName) + } + } catch { + // Just disable the functionality if we fail to initialize it properly. This will just revert to + // the behavior which is to check file existence on disk directly. + self.maybeCached = nil + } + } + } + + // Creates the storage folder. + private func prepareDirectory() throws { + let fileManager = config.fileManager + let path = directoryURL.path + + guard !fileManager.fileExists(atPath: path) else { return } + + do { + try fileManager.createDirectory( + atPath: path, + withIntermediateDirectories: true, + attributes: nil) + } catch { + self.storageReady = false + throw KingfisherError.cacheError(reason: .cannotCreateDirectory(path: path, error: error)) + } + } + + /// Stores a value to the storage under the specified key and expiration policy. + /// - Parameters: + /// - value: The value to be stored. + /// - key: The key to which the `value` will be stored. If there is already a value under the key, + /// the old value will be overwritten by `value`. + /// - expiration: The expiration policy used by this store action. + /// - writeOptions: Data writing options used the new files. + /// - Throws: An error during converting the value to a data format or during writing it to disk. + public func store( + value: T, + forKey key: String, + expiration: StorageExpiration? = nil, + writeOptions: Data.WritingOptions = []) throws + { + guard storageReady else { + throw KingfisherError.cacheError(reason: .diskStorageIsNotReady(cacheURL: directoryURL)) + } + + let expiration = expiration ?? config.expiration + // The expiration indicates that already expired, no need to store. + guard !expiration.isExpired else { return } + + let data: Data + do { + data = try value.toData() + } catch { + throw KingfisherError.cacheError(reason: .cannotConvertToData(object: value, error: error)) + } + + let fileURL = cacheFileURL(forKey: key) + do { + try data.write(to: fileURL, options: writeOptions) + } catch { + throw KingfisherError.cacheError( + reason: .cannotCreateCacheFile(fileURL: fileURL, key: key, data: data, error: error) + ) + } + + let now = Date() + let attributes: [FileAttributeKey : Any] = [ + // The last access date. + .creationDate: now.fileAttributeDate, + // The estimated expiration date. + .modificationDate: expiration.estimatedExpirationSinceNow.fileAttributeDate + ] + do { + try config.fileManager.setAttributes(attributes, ofItemAtPath: fileURL.path) + } catch { + try? config.fileManager.removeItem(at: fileURL) + throw KingfisherError.cacheError( + reason: .cannotSetCacheFileAttribute( + filePath: fileURL.path, + attributes: attributes, + error: error + ) + ) + } + + maybeCachedCheckingQueue.async { + self.maybeCached?.insert(fileURL.lastPathComponent) + } + } + + /// Gets a value from the storage. + /// - Parameters: + /// - key: The cache key of value. + /// - extendingExpiration: The expiration policy used by this getting action. + /// - Throws: An error during converting the data to a value or during operation of disk files. + /// - Returns: The value under `key` if it is valid and found in the storage. Otherwise, `nil`. + public func value(forKey key: String, extendingExpiration: ExpirationExtending = .cacheTime) throws -> T? { + return try value(forKey: key, referenceDate: Date(), actuallyLoad: true, extendingExpiration: extendingExpiration) + } + + func value( + forKey key: String, + referenceDate: Date, + actuallyLoad: Bool, + extendingExpiration: ExpirationExtending) throws -> T? + { + guard storageReady else { + throw KingfisherError.cacheError(reason: .diskStorageIsNotReady(cacheURL: directoryURL)) + } + + let fileManager = config.fileManager + let fileURL = cacheFileURL(forKey: key) + let filePath = fileURL.path + + let fileMaybeCached = maybeCachedCheckingQueue.sync { + return maybeCached?.contains(fileURL.lastPathComponent) ?? true + } + guard fileMaybeCached else { + return nil + } + guard fileManager.fileExists(atPath: filePath) else { + return nil + } + + let meta: FileMeta + do { + let resourceKeys: Set = [.contentModificationDateKey, .creationDateKey] + meta = try FileMeta(fileURL: fileURL, resourceKeys: resourceKeys) + } catch { + throw KingfisherError.cacheError( + reason: .invalidURLResource(error: error, key: key, url: fileURL)) + } + + if meta.expired(referenceDate: referenceDate) { + return nil + } + if !actuallyLoad { return T.empty } + + do { + let data = try Data(contentsOf: fileURL) + let obj = try T.fromData(data) + metaChangingQueue.async { + meta.extendExpiration(with: fileManager, extendingExpiration: extendingExpiration) + } + return obj + } catch { + throw KingfisherError.cacheError(reason: .cannotLoadDataFromDisk(url: fileURL, error: error)) + } + } + + /// Whether there is valid cached data under a given key. + /// - Parameter key: The cache key of value. + /// - Returns: If there is valid data under the key, `true`. Otherwise, `false`. + /// + /// - Note: + /// This method does not actually load the data from disk, so it is faster than directly loading the cached value + /// by checking the nullability of `value(forKey:extendingExpiration:)` method. + /// + public func isCached(forKey key: String) -> Bool { + return isCached(forKey: key, referenceDate: Date()) + } + + /// Whether there is valid cached data under a given key and a reference date. + /// - Parameters: + /// - key: The cache key of value. + /// - referenceDate: A reference date to check whether the cache is still valid. + /// - Returns: If there is valid data under the key, `true`. Otherwise, `false`. + /// + /// - Note: + /// If you pass `Date()` to `referenceDate`, this method is identical to `isCached(forKey:)`. Use the + /// `referenceDate` to determine whether the cache is still valid for a future date. + public func isCached(forKey key: String, referenceDate: Date) -> Bool { + do { + let result = try value( + forKey: key, + referenceDate: referenceDate, + actuallyLoad: false, + extendingExpiration: .none + ) + return result != nil + } catch { + return false + } + } + + /// Removes a value from a specified key. + /// - Parameter key: The cache key of value. + /// - Throws: An error during removing the value. + public func remove(forKey key: String) throws { + let fileURL = cacheFileURL(forKey: key) + try removeFile(at: fileURL) + } + + func removeFile(at url: URL) throws { + try config.fileManager.removeItem(at: url) + } + + /// Removes all values in this storage. + /// - Throws: An error during removing the values. + public func removeAll() throws { + try removeAll(skipCreatingDirectory: false) + } + + func removeAll(skipCreatingDirectory: Bool) throws { + try config.fileManager.removeItem(at: directoryURL) + if !skipCreatingDirectory { + try prepareDirectory() + } + } + + /// The URL of the cached file with a given computed `key`. + /// + /// - Parameter key: The final computed key used when caching the image. Please note that usually this is not + /// the `cacheKey` of an image `Source`. It is the computed key with processor identifier considered. + /// + /// - Note: + /// This method does not guarantee there is an image already cached in the returned URL. It just gives your + /// the URL that the image should be if it exists in disk storage, with the give key. + /// + public func cacheFileURL(forKey key: String) -> URL { + let fileName = cacheFileName(forKey: key) + return directoryURL.appendingPathComponent(fileName, isDirectory: false) + } + + func cacheFileName(forKey key: String) -> String { + if config.usesHashedFileName { + let hashedKey = key.kf.md5 + if let ext = config.pathExtension { + return "\(hashedKey).\(ext)" + } else if config.autoExtAfterHashedFileName, + let ext = key.kf.ext { + return "\(hashedKey).\(ext)" + } + return hashedKey + } else { + if let ext = config.pathExtension { + return "\(key).\(ext)" + } + return key + } + } + + func allFileURLs(for propertyKeys: [URLResourceKey]) throws -> [URL] { + let fileManager = config.fileManager + + guard let directoryEnumerator = fileManager.enumerator( + at: directoryURL, includingPropertiesForKeys: propertyKeys, options: .skipsHiddenFiles) else + { + throw KingfisherError.cacheError(reason: .fileEnumeratorCreationFailed(url: directoryURL)) + } + + guard let urls = directoryEnumerator.allObjects as? [URL] else { + throw KingfisherError.cacheError(reason: .invalidFileEnumeratorContent(url: directoryURL)) + } + return urls + } + + /// Removes all expired values from this storage. + /// - Throws: A file manager error during removing the file. + /// - Returns: The URLs for removed files. + public func removeExpiredValues() throws -> [URL] { + return try removeExpiredValues(referenceDate: Date()) + } + + func removeExpiredValues(referenceDate: Date) throws -> [URL] { + let propertyKeys: [URLResourceKey] = [ + .isDirectoryKey, + .contentModificationDateKey + ] + + let urls = try allFileURLs(for: propertyKeys) + let keys = Set(propertyKeys) + let expiredFiles = urls.filter { fileURL in + do { + let meta = try FileMeta(fileURL: fileURL, resourceKeys: keys) + if meta.isDirectory { + return false + } + return meta.expired(referenceDate: referenceDate) + } catch { + return true + } + } + try expiredFiles.forEach { url in + try removeFile(at: url) + } + return expiredFiles + } + + /// Removes all size exceeded values from this storage. + /// - Throws: A file manager error during removing the file. + /// - Returns: The URLs for removed files. + /// + /// - Note: This method checks `config.sizeLimit` and remove cached files in an LRU (Least Recently Used) way. + func removeSizeExceededValues() throws -> [URL] { + + if config.sizeLimit == 0 { return [] } // Back compatible. 0 means no limit. + + var size = try totalSize() + if size < config.sizeLimit { return [] } + + let propertyKeys: [URLResourceKey] = [ + .isDirectoryKey, + .creationDateKey, + .fileSizeKey + ] + let keys = Set(propertyKeys) + + let urls = try allFileURLs(for: propertyKeys) + var pendings: [FileMeta] = urls.compactMap { fileURL in + guard let meta = try? FileMeta(fileURL: fileURL, resourceKeys: keys) else { + return nil + } + return meta + } + // Sort by last access date. Most recent file first. + pendings.sort(by: FileMeta.lastAccessDate) + + var removed: [URL] = [] + let target = config.sizeLimit / 2 + while size > target, let meta = pendings.popLast() { + size -= UInt(meta.fileSize) + try removeFile(at: meta.url) + removed.append(meta.url) + } + return removed + } + + /// Gets the total file size of the folder in bytes. + public func totalSize() throws -> UInt { + let propertyKeys: [URLResourceKey] = [.fileSizeKey] + let urls = try allFileURLs(for: propertyKeys) + let keys = Set(propertyKeys) + let totalSize: UInt = urls.reduce(0) { size, fileURL in + do { + let meta = try FileMeta(fileURL: fileURL, resourceKeys: keys) + return size + UInt(meta.fileSize) + } catch { + return size + } + } + return totalSize + } + } +} + +extension DiskStorage { + /// Represents the config used in a `DiskStorage`. + public struct Config { + + /// The file size limit on disk of the storage in bytes. 0 means no limit. + public var sizeLimit: UInt + + /// The `StorageExpiration` used in this disk storage. Default is `.days(7)`, + /// means that the disk cache would expire in one week. + public var expiration: StorageExpiration = .days(7) + + /// The preferred extension of cache item. It will be appended to the file name as its extension. + /// Default is `nil`, means that the cache file does not contain a file extension. + public var pathExtension: String? = nil + + /// Default is `true`, means that the cache file name will be hashed before storing. + public var usesHashedFileName = true + + /// Default is `false` + /// If set to `true`, image extension will be extracted from original file name and append to + /// the hased file name and used as the cache key on disk. + public var autoExtAfterHashedFileName = false + + let name: String + let fileManager: FileManager + let directory: URL? + + var cachePathBlock: ((_ directory: URL, _ cacheName: String) -> URL)! = { + (directory, cacheName) in + return directory.appendingPathComponent(cacheName, isDirectory: true) + } + + /// Creates a config value based on given parameters. + /// + /// - Parameters: + /// - name: The name of cache. It is used as a part of storage folder. It is used to identify the disk + /// storage. Two storages with the same `name` would share the same folder in disk, and it should + /// be prevented. + /// - sizeLimit: The size limit in bytes for all existing files in the disk storage. + /// - fileManager: The `FileManager` used to manipulate files on disk. Default is `FileManager.default`. + /// - directory: The URL where the disk storage should live. The storage will use this as the root folder, + /// and append a path which is constructed by input `name`. Default is `nil`, indicates that + /// the cache directory under user domain mask will be used. + public init( + name: String, + sizeLimit: UInt, + fileManager: FileManager = .default, + directory: URL? = nil) + { + self.name = name + self.fileManager = fileManager + self.directory = directory + self.sizeLimit = sizeLimit + } + } +} + +extension DiskStorage { + struct FileMeta { + + let url: URL + + let lastAccessDate: Date? + let estimatedExpirationDate: Date? + let isDirectory: Bool + let fileSize: Int + + static func lastAccessDate(lhs: FileMeta, rhs: FileMeta) -> Bool { + return lhs.lastAccessDate ?? .distantPast > rhs.lastAccessDate ?? .distantPast + } + + init(fileURL: URL, resourceKeys: Set) throws { + let meta = try fileURL.resourceValues(forKeys: resourceKeys) + self.init( + fileURL: fileURL, + lastAccessDate: meta.creationDate, + estimatedExpirationDate: meta.contentModificationDate, + isDirectory: meta.isDirectory ?? false, + fileSize: meta.fileSize ?? 0) + } + + init( + fileURL: URL, + lastAccessDate: Date?, + estimatedExpirationDate: Date?, + isDirectory: Bool, + fileSize: Int) + { + self.url = fileURL + self.lastAccessDate = lastAccessDate + self.estimatedExpirationDate = estimatedExpirationDate + self.isDirectory = isDirectory + self.fileSize = fileSize + } + + func expired(referenceDate: Date) -> Bool { + return estimatedExpirationDate?.isPast(referenceDate: referenceDate) ?? true + } + + func extendExpiration(with fileManager: FileManager, extendingExpiration: ExpirationExtending) { + guard let lastAccessDate = lastAccessDate, + let lastEstimatedExpiration = estimatedExpirationDate else + { + return + } + + let attributes: [FileAttributeKey : Any] + + switch extendingExpiration { + case .none: + // not extending expiration time here + return + case .cacheTime: + let originalExpiration: StorageExpiration = + .seconds(lastEstimatedExpiration.timeIntervalSince(lastAccessDate)) + attributes = [ + .creationDate: Date().fileAttributeDate, + .modificationDate: originalExpiration.estimatedExpirationSinceNow.fileAttributeDate + ] + case .expirationTime(let expirationTime): + attributes = [ + .creationDate: Date().fileAttributeDate, + .modificationDate: expirationTime.estimatedExpirationSinceNow.fileAttributeDate + ] + } + + try? fileManager.setAttributes(attributes, ofItemAtPath: url.path) + } + } +} + +extension DiskStorage { + struct Creation { + let directoryURL: URL + let cacheName: String + + init(_ config: Config) { + let url: URL + if let directory = config.directory { + url = directory + } else { + url = config.fileManager.urls(for: .cachesDirectory, in: .userDomainMask)[0] + } + + cacheName = "com.onevcat.Kingfisher.ImageCache.\(config.name)" + directoryURL = config.cachePathBlock(url, cacheName) + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift b/Instagram/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift new file mode 100644 index 0000000..cdfb7c3 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/FormatIndicatedCacheSerializer.swift @@ -0,0 +1,118 @@ +// +// RequestModifier.swift +// Kingfisher +// +// Created by Junyu Kuang on 5/28/17. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CoreGraphics + +/// `FormatIndicatedCacheSerializer` lets you indicate an image format for serialized caches. +/// +/// It could serialize and deserialize PNG, JPEG and GIF images. For +/// image other than these formats, a normalized `pngRepresentation` will be used. +/// +/// Example: +/// ```` +/// let profileImageSize = CGSize(width: 44, height: 44) +/// +/// // A round corner image. +/// let imageProcessor = RoundCornerImageProcessor( +/// cornerRadius: profileImageSize.width / 2, targetSize: profileImageSize) +/// +/// let optionsInfo: KingfisherOptionsInfo = [ +/// .cacheSerializer(FormatIndicatedCacheSerializer.png), +/// .processor(imageProcessor)] +/// +/// A URL pointing to a JPEG image. +/// let url = URL(string: "https://example.com/image.jpg")! +/// +/// // Image will be always cached as PNG format to preserve alpha channel for round rectangle. +/// // So when you load it from cache again later, it will be still round cornered. +/// // Otherwise, the corner part would be filled by white color (since JPEG does not contain an alpha channel). +/// imageView.kf.setImage(with: url, options: optionsInfo) +/// ```` +public struct FormatIndicatedCacheSerializer: CacheSerializer { + + /// A `FormatIndicatedCacheSerializer` which converts image from and to PNG format. If the image cannot be + /// represented by PNG format, it will fallback to its real format which is determined by `original` data. + public static let png = FormatIndicatedCacheSerializer(imageFormat: .PNG, jpegCompressionQuality: nil) + + /// A `FormatIndicatedCacheSerializer` which converts image from and to JPEG format. If the image cannot be + /// represented by JPEG format, it will fallback to its real format which is determined by `original` data. + /// The compression quality is 1.0 when using this serializer. If you need to set a customized compression quality, + /// use `jpeg(compressionQuality:)`. + public static let jpeg = FormatIndicatedCacheSerializer(imageFormat: .JPEG, jpegCompressionQuality: 1.0) + + /// A `FormatIndicatedCacheSerializer` which converts image from and to JPEG format with a settable compression + /// quality. If the image cannot be represented by JPEG format, it will fallback to its real format which is + /// determined by `original` data. + /// - Parameter compressionQuality: The compression quality when converting image to JPEG data. + public static func jpeg(compressionQuality: CGFloat) -> FormatIndicatedCacheSerializer { + return FormatIndicatedCacheSerializer(imageFormat: .JPEG, jpegCompressionQuality: compressionQuality) + } + + /// A `FormatIndicatedCacheSerializer` which converts image from and to GIF format. If the image cannot be + /// represented by GIF format, it will fallback to its real format which is determined by `original` data. + public static let gif = FormatIndicatedCacheSerializer(imageFormat: .GIF, jpegCompressionQuality: nil) + + /// The indicated image format. + private let imageFormat: ImageFormat + + /// The compression quality used for loss image format (like JPEG). + private let jpegCompressionQuality: CGFloat? + + /// Creates data which represents the given `image` under a format. + public func data(with image: KFCrossPlatformImage, original: Data?) -> Data? { + + func imageData(withFormat imageFormat: ImageFormat) -> Data? { + return autoreleasepool { () -> Data? in + switch imageFormat { + case .PNG: return image.kf.pngRepresentation() + case .JPEG: return image.kf.jpegRepresentation(compressionQuality: jpegCompressionQuality ?? 1.0) + case .GIF: return image.kf.gifRepresentation() + case .unknown: return nil + } + } + } + + // generate data with indicated image format + if let data = imageData(withFormat: imageFormat) { + return data + } + + let originalFormat = original?.kf.imageFormat ?? .unknown + + // generate data with original image's format + if originalFormat != imageFormat, let data = imageData(withFormat: originalFormat) { + return data + } + + return original ?? image.kf.normalized.kf.pngRepresentation() + } + + /// Same implementation as `DefaultCacheSerializer`. + public func image(with data: Data, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + return KingfisherWrapper.image(data: data, options: options.imageCreatingOptions) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/ImageCache.swift b/Instagram/Pods/Kingfisher/Sources/Cache/ImageCache.swift new file mode 100644 index 0000000..b73100a --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/ImageCache.swift @@ -0,0 +1,875 @@ +// +// ImageCache.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +extension Notification.Name { + /// This notification will be sent when the disk cache got cleaned either there are cached files expired or the + /// total size exceeding the max allowed size. The manually invoking of `clearDiskCache` method will not trigger + /// this notification. + /// + /// The `object` of this notification is the `ImageCache` object which sends the notification. + /// A list of removed hashes (files) could be retrieved by accessing the array under + /// `KingfisherDiskCacheCleanedHashKey` key in `userInfo` of the notification object you received. + /// By checking the array, you could know the hash codes of files are removed. + public static let KingfisherDidCleanDiskCache = + Notification.Name("com.onevcat.Kingfisher.KingfisherDidCleanDiskCache") +} + +/// Key for array of cleaned hashes in `userInfo` of `KingfisherDidCleanDiskCacheNotification`. +public let KingfisherDiskCacheCleanedHashKey = "com.onevcat.Kingfisher.cleanedHash" + +/// Cache type of a cached image. +/// - none: The image is not cached yet when retrieving it. +/// - memory: The image is cached in memory. +/// - disk: The image is cached in disk. +public enum CacheType { + /// The image is not cached yet when retrieving it. + case none + /// The image is cached in memory. + case memory + /// The image is cached in disk. + case disk + + /// Whether the cache type represents the image is already cached or not. + public var cached: Bool { + switch self { + case .memory, .disk: return true + case .none: return false + } + } +} + +/// Represents the caching operation result. +public struct CacheStoreResult { + + /// The cache result for memory cache. Caching an image to memory will never fail. + public let memoryCacheResult: Result<(), Never> + + /// The cache result for disk cache. If an error happens during caching operation, + /// you can get it from `.failure` case of this `diskCacheResult`. + public let diskCacheResult: Result<(), KingfisherError> +} + +extension KFCrossPlatformImage: CacheCostCalculable { + /// Cost of an image + public var cacheCost: Int { return kf.cost } +} + +extension Data: DataTransformable { + public func toData() throws -> Data { + return self + } + + public static func fromData(_ data: Data) throws -> Data { + return data + } + + public static let empty = Data() +} + + +/// Represents the getting image operation from the cache. +/// +/// - disk: The image can be retrieved from disk cache. +/// - memory: The image can be retrieved memory cache. +/// - none: The image does not exist in the cache. +public enum ImageCacheResult { + + /// The image can be retrieved from disk cache. + case disk(KFCrossPlatformImage) + + /// The image can be retrieved memory cache. + case memory(KFCrossPlatformImage) + + /// The image does not exist in the cache. + case none + + /// Extracts the image from cache result. It returns the associated `Image` value for + /// `.disk` and `.memory` case. For `.none` case, `nil` is returned. + public var image: KFCrossPlatformImage? { + switch self { + case .disk(let image): return image + case .memory(let image): return image + case .none: return nil + } + } + + /// Returns the corresponding `CacheType` value based on the result type of `self`. + public var cacheType: CacheType { + switch self { + case .disk: return .disk + case .memory: return .memory + case .none: return .none + } + } +} + +/// Represents a hybrid caching system which is composed by a `MemoryStorage.Backend` and a `DiskStorage.Backend`. +/// `ImageCache` is a high level abstract for storing an image as well as its data to memory and disk, and +/// retrieving them back. +/// +/// While a default image cache object will be used if you prefer the extension methods of Kingfisher, you can create +/// your own cache object and configure its storages as your need. This class also provide an interface for you to set +/// the memory and disk storage config. +open class ImageCache { + + // MARK: Singleton + /// The default `ImageCache` object. Kingfisher will use this cache for its related methods if there is no + /// other cache specified. The `name` of this default cache is "default", and you should not use this name + /// for any of your customize cache. + public static let `default` = ImageCache(name: "default") + + + // MARK: Public Properties + /// The `MemoryStorage.Backend` object used in this cache. This storage holds loaded images in memory with a + /// reasonable expire duration and a maximum memory usage. To modify the configuration of a storage, just set + /// the storage `config` and its properties. + public let memoryStorage: MemoryStorage.Backend + + /// The `DiskStorage.Backend` object used in this cache. This storage stores loaded images in disk with a + /// reasonable expire duration and a maximum disk usage. To modify the configuration of a storage, just set + /// the storage `config` and its properties. + public let diskStorage: DiskStorage.Backend + + private let ioQueue: DispatchQueue + + /// Closure that defines the disk cache path from a given path and cacheName. + public typealias DiskCachePathClosure = (URL, String) -> URL + + // MARK: Initializers + + /// Creates an `ImageCache` from a customized `MemoryStorage` and `DiskStorage`. + /// + /// - Parameters: + /// - memoryStorage: The `MemoryStorage.Backend` object to use in the image cache. + /// - diskStorage: The `DiskStorage.Backend` object to use in the image cache. + public init( + memoryStorage: MemoryStorage.Backend, + diskStorage: DiskStorage.Backend) + { + self.memoryStorage = memoryStorage + self.diskStorage = diskStorage + let ioQueueName = "com.onevcat.Kingfisher.ImageCache.ioQueue.\(UUID().uuidString)" + ioQueue = DispatchQueue(label: ioQueueName) + + let notifications: [(Notification.Name, Selector)] + #if !os(macOS) && !os(watchOS) + notifications = [ + (UIApplication.didReceiveMemoryWarningNotification, #selector(clearMemoryCache)), + (UIApplication.willTerminateNotification, #selector(cleanExpiredDiskCache)), + (UIApplication.didEnterBackgroundNotification, #selector(backgroundCleanExpiredDiskCache)) + ] + #elseif os(macOS) + notifications = [ + (NSApplication.willResignActiveNotification, #selector(cleanExpiredDiskCache)), + ] + #else + notifications = [] + #endif + notifications.forEach { + NotificationCenter.default.addObserver(self, selector: $0.1, name: $0.0, object: nil) + } + } + + /// Creates an `ImageCache` with a given `name`. Both `MemoryStorage` and `DiskStorage` will be created + /// with a default config based on the `name`. + /// + /// - Parameter name: The name of cache object. It is used to setup disk cache directories and IO queue. + /// You should not use the same `name` for different caches, otherwise, the disk storage would + /// be conflicting to each other. The `name` should not be an empty string. + public convenience init(name: String) { + self.init(noThrowName: name, cacheDirectoryURL: nil, diskCachePathClosure: nil) + } + + /// Creates an `ImageCache` with a given `name`, cache directory `path` + /// and a closure to modify the cache directory. + /// + /// - Parameters: + /// - name: The name of cache object. It is used to setup disk cache directories and IO queue. + /// You should not use the same `name` for different caches, otherwise, the disk storage would + /// be conflicting to each other. + /// - cacheDirectoryURL: Location of cache directory URL on disk. It will be internally pass to the + /// initializer of `DiskStorage` as the disk cache directory. If `nil`, the cache + /// directory under user domain mask will be used. + /// - diskCachePathClosure: Closure that takes in an optional initial path string and generates + /// the final disk cache path. You could use it to fully customize your cache path. + /// - Throws: An error that happens during image cache creating, such as unable to create a directory at the given + /// path. + public convenience init( + name: String, + cacheDirectoryURL: URL?, + diskCachePathClosure: DiskCachePathClosure? = nil + ) throws + { + if name.isEmpty { + fatalError("[Kingfisher] You should specify a name for the cache. A cache with empty name is not permitted.") + } + + let memoryStorage = ImageCache.createMemoryStorage() + + let config = ImageCache.createConfig( + name: name, cacheDirectoryURL: cacheDirectoryURL, diskCachePathClosure: diskCachePathClosure + ) + let diskStorage = try DiskStorage.Backend(config: config) + self.init(memoryStorage: memoryStorage, diskStorage: diskStorage) + } + + convenience init( + noThrowName name: String, + cacheDirectoryURL: URL?, + diskCachePathClosure: DiskCachePathClosure? + ) + { + if name.isEmpty { + fatalError("[Kingfisher] You should specify a name for the cache. A cache with empty name is not permitted.") + } + + let memoryStorage = ImageCache.createMemoryStorage() + + let config = ImageCache.createConfig( + name: name, cacheDirectoryURL: cacheDirectoryURL, diskCachePathClosure: diskCachePathClosure + ) + let diskStorage = DiskStorage.Backend(noThrowConfig: config, creatingDirectory: true) + self.init(memoryStorage: memoryStorage, diskStorage: diskStorage) + } + + private static func createMemoryStorage() -> MemoryStorage.Backend { + let totalMemory = ProcessInfo.processInfo.physicalMemory + let costLimit = totalMemory / 4 + let memoryStorage = MemoryStorage.Backend(config: + .init(totalCostLimit: (costLimit > Int.max) ? Int.max : Int(costLimit))) + return memoryStorage + } + + private static func createConfig( + name: String, + cacheDirectoryURL: URL?, + diskCachePathClosure: DiskCachePathClosure? = nil + ) -> DiskStorage.Config + { + var diskConfig = DiskStorage.Config( + name: name, + sizeLimit: 0, + directory: cacheDirectoryURL + ) + if let closure = diskCachePathClosure { + diskConfig.cachePathBlock = closure + } + return diskConfig + } + + deinit { + NotificationCenter.default.removeObserver(self) + } + + // MARK: Storing Images + + open func store(_ image: KFCrossPlatformImage, + original: Data? = nil, + forKey key: String, + options: KingfisherParsedOptionsInfo, + toDisk: Bool = true, + completionHandler: ((CacheStoreResult) -> Void)? = nil) + { + let identifier = options.processor.identifier + let callbackQueue = options.callbackQueue + + let computedKey = key.computedKey(with: identifier) + // Memory storage should not throw. + memoryStorage.storeNoThrow(value: image, forKey: computedKey, expiration: options.memoryCacheExpiration) + + guard toDisk else { + if let completionHandler = completionHandler { + let result = CacheStoreResult(memoryCacheResult: .success(()), diskCacheResult: .success(())) + callbackQueue.execute { completionHandler(result) } + } + return + } + + ioQueue.async { + let serializer = options.cacheSerializer + if let data = serializer.data(with: image, original: original) { + self.syncStoreToDisk( + data, + forKey: key, + processorIdentifier: identifier, + callbackQueue: callbackQueue, + expiration: options.diskCacheExpiration, + writeOptions: options.diskStoreWriteOptions, + completionHandler: completionHandler) + } else { + guard let completionHandler = completionHandler else { return } + + let diskError = KingfisherError.cacheError( + reason: .cannotSerializeImage(image: image, original: original, serializer: serializer)) + let result = CacheStoreResult( + memoryCacheResult: .success(()), + diskCacheResult: .failure(diskError)) + callbackQueue.execute { completionHandler(result) } + } + } + } + + /// Stores an image to the cache. + /// + /// - Parameters: + /// - image: The image to be stored. + /// - original: The original data of the image. This value will be forwarded to the provided `serializer` for + /// further use. By default, Kingfisher uses a `DefaultCacheSerializer` to serialize the image to + /// data for caching in disk, it checks the image format based on `original` data to determine in + /// which image format should be used. For other types of `serializer`, it depends on their + /// implementation detail on how to use this original data. + /// - key: The key used for caching the image. + /// - identifier: The identifier of processor being used for caching. If you are using a processor for the + /// image, pass the identifier of processor to this parameter. + /// - serializer: The `CacheSerializer` + /// - toDisk: Whether this image should be cached to disk or not. If `false`, the image is only cached in memory. + /// Otherwise, it is cached in both memory storage and disk storage. Default is `true`. + /// - callbackQueue: The callback queue on which `completionHandler` is invoked. Default is `.untouch`. For case + /// that `toDisk` is `false`, a `.untouch` queue means `callbackQueue` will be invoked from the + /// caller queue of this method. If `toDisk` is `true`, the `completionHandler` will be called + /// from an internal file IO queue. To change this behavior, specify another `CallbackQueue` + /// value. + /// - completionHandler: A closure which is invoked when the cache operation finishes. + open func store(_ image: KFCrossPlatformImage, + original: Data? = nil, + forKey key: String, + processorIdentifier identifier: String = "", + cacheSerializer serializer: CacheSerializer = DefaultCacheSerializer.default, + toDisk: Bool = true, + callbackQueue: CallbackQueue = .untouch, + completionHandler: ((CacheStoreResult) -> Void)? = nil) + { + struct TempProcessor: ImageProcessor { + let identifier: String + func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + return nil + } + } + + let options = KingfisherParsedOptionsInfo([ + .processor(TempProcessor(identifier: identifier)), + .cacheSerializer(serializer), + .callbackQueue(callbackQueue) + ]) + store(image, original: original, forKey: key, options: options, + toDisk: toDisk, completionHandler: completionHandler) + } + + open func storeToDisk( + _ data: Data, + forKey key: String, + processorIdentifier identifier: String = "", + expiration: StorageExpiration? = nil, + callbackQueue: CallbackQueue = .untouch, + completionHandler: ((CacheStoreResult) -> Void)? = nil) + { + ioQueue.async { + self.syncStoreToDisk( + data, + forKey: key, + processorIdentifier: identifier, + callbackQueue: callbackQueue, + expiration: expiration, + completionHandler: completionHandler) + } + } + + private func syncStoreToDisk( + _ data: Data, + forKey key: String, + processorIdentifier identifier: String = "", + callbackQueue: CallbackQueue = .untouch, + expiration: StorageExpiration? = nil, + writeOptions: Data.WritingOptions = [], + completionHandler: ((CacheStoreResult) -> Void)? = nil) + { + let computedKey = key.computedKey(with: identifier) + let result: CacheStoreResult + do { + try self.diskStorage.store(value: data, forKey: computedKey, expiration: expiration, writeOptions: writeOptions) + result = CacheStoreResult(memoryCacheResult: .success(()), diskCacheResult: .success(())) + } catch { + let diskError: KingfisherError + if let error = error as? KingfisherError { + diskError = error + } else { + diskError = .cacheError(reason: .cannotConvertToData(object: data, error: error)) + } + + result = CacheStoreResult( + memoryCacheResult: .success(()), + diskCacheResult: .failure(diskError) + ) + } + if let completionHandler = completionHandler { + callbackQueue.execute { completionHandler(result) } + } + } + + // MARK: Removing Images + + /// Removes the image for the given key from the cache. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - identifier: The identifier of processor being used for caching. If you are using a processor for the + /// image, pass the identifier of processor to this parameter. + /// - fromMemory: Whether this image should be removed from memory storage or not. + /// If `false`, the image won't be removed from the memory storage. Default is `true`. + /// - fromDisk: Whether this image should be removed from disk storage or not. + /// If `false`, the image won't be removed from the disk storage. Default is `true`. + /// - callbackQueue: The callback queue on which `completionHandler` is invoked. Default is `.untouch`. + /// - completionHandler: A closure which is invoked when the cache removing operation finishes. + open func removeImage(forKey key: String, + processorIdentifier identifier: String = "", + fromMemory: Bool = true, + fromDisk: Bool = true, + callbackQueue: CallbackQueue = .untouch, + completionHandler: (() -> Void)? = nil) + { + let computedKey = key.computedKey(with: identifier) + + if fromMemory { + memoryStorage.remove(forKey: computedKey) + } + + if fromDisk { + ioQueue.async{ + try? self.diskStorage.remove(forKey: computedKey) + if let completionHandler = completionHandler { + callbackQueue.execute { completionHandler() } + } + } + } else { + if let completionHandler = completionHandler { + callbackQueue.execute { completionHandler() } + } + } + } + + // MARK: Getting Images + + /// Gets an image for a given key from the cache, either from memory storage or disk storage. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - options: The `KingfisherParsedOptionsInfo` options setting used for retrieving the image. + /// - callbackQueue: The callback queue on which `completionHandler` is invoked. Default is `.mainCurrentOrAsync`. + /// - completionHandler: A closure which is invoked when the image getting operation finishes. If the + /// image retrieving operation finishes without problem, an `ImageCacheResult` value + /// will be sent to this closure as result. Otherwise, a `KingfisherError` result + /// with detail failing reason will be sent. + open func retrieveImage( + forKey key: String, + options: KingfisherParsedOptionsInfo, + callbackQueue: CallbackQueue = .mainCurrentOrAsync, + completionHandler: ((Result) -> Void)?) + { + // No completion handler. No need to start working and early return. + guard let completionHandler = completionHandler else { return } + + // Try to check the image from memory cache first. + if let image = retrieveImageInMemoryCache(forKey: key, options: options) { + callbackQueue.execute { completionHandler(.success(.memory(image))) } + } else if options.fromMemoryCacheOrRefresh { + callbackQueue.execute { completionHandler(.success(.none)) } + } else { + + // Begin to disk search. + self.retrieveImageInDiskCache(forKey: key, options: options, callbackQueue: callbackQueue) { + result in + switch result { + case .success(let image): + + guard let image = image else { + // No image found in disk storage. + callbackQueue.execute { completionHandler(.success(.none)) } + return + } + + // Cache the disk image to memory. + // We are passing `false` to `toDisk`, the memory cache does not change + // callback queue, we can call `completionHandler` without another dispatch. + var cacheOptions = options + cacheOptions.callbackQueue = .untouch + self.store( + image, + forKey: key, + options: cacheOptions, + toDisk: false) + { + _ in + callbackQueue.execute { completionHandler(.success(.disk(image))) } + } + case .failure(let error): + callbackQueue.execute { completionHandler(.failure(error)) } + } + } + } + } + + /// Gets an image for a given key from the cache, either from memory storage or disk storage. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - options: The `KingfisherOptionsInfo` options setting used for retrieving the image. + /// - callbackQueue: The callback queue on which `completionHandler` is invoked. Default is `.mainCurrentOrAsync`. + /// - completionHandler: A closure which is invoked when the image getting operation finishes. If the + /// image retrieving operation finishes without problem, an `ImageCacheResult` value + /// will be sent to this closure as result. Otherwise, a `KingfisherError` result + /// with detail failing reason will be sent. + /// + /// Note: This method is marked as `open` for only compatible purpose. Do not overide this method. Instead, override + /// the version receives `KingfisherParsedOptionsInfo` instead. + open func retrieveImage(forKey key: String, + options: KingfisherOptionsInfo? = nil, + callbackQueue: CallbackQueue = .mainCurrentOrAsync, + completionHandler: ((Result) -> Void)?) + { + retrieveImage( + forKey: key, + options: KingfisherParsedOptionsInfo(options), + callbackQueue: callbackQueue, + completionHandler: completionHandler) + } + + /// Gets an image for a given key from the memory storage. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - options: The `KingfisherParsedOptionsInfo` options setting used for retrieving the image. + /// - Returns: The image stored in memory cache, if exists and valid. Otherwise, if the image does not exist or + /// has already expired, `nil` is returned. + open func retrieveImageInMemoryCache( + forKey key: String, + options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? + { + let computedKey = key.computedKey(with: options.processor.identifier) + return memoryStorage.value(forKey: computedKey, extendingExpiration: options.memoryCacheAccessExtendingExpiration) + } + + /// Gets an image for a given key from the memory storage. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - options: The `KingfisherOptionsInfo` options setting used for retrieving the image. + /// - Returns: The image stored in memory cache, if exists and valid. Otherwise, if the image does not exist or + /// has already expired, `nil` is returned. + /// + /// Note: This method is marked as `open` for only compatible purpose. Do not overide this method. Instead, override + /// the version receives `KingfisherParsedOptionsInfo` instead. + open func retrieveImageInMemoryCache( + forKey key: String, + options: KingfisherOptionsInfo? = nil) -> KFCrossPlatformImage? + { + return retrieveImageInMemoryCache(forKey: key, options: KingfisherParsedOptionsInfo(options)) + } + + func retrieveImageInDiskCache( + forKey key: String, + options: KingfisherParsedOptionsInfo, + callbackQueue: CallbackQueue = .untouch, + completionHandler: @escaping (Result) -> Void) + { + let computedKey = key.computedKey(with: options.processor.identifier) + let loadingQueue: CallbackQueue = options.loadDiskFileSynchronously ? .untouch : .dispatch(ioQueue) + loadingQueue.execute { + do { + var image: KFCrossPlatformImage? = nil + if let data = try self.diskStorage.value(forKey: computedKey, extendingExpiration: options.diskCacheAccessExtendingExpiration) { + image = options.cacheSerializer.image(with: data, options: options) + } + callbackQueue.execute { completionHandler(.success(image)) } + } catch { + if let error = error as? KingfisherError { + callbackQueue.execute { completionHandler(.failure(error)) } + } else { + assertionFailure("The internal thrown error should be a `KingfisherError`.") + } + } + } + } + + /// Gets an image for a given key from the disk storage. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - options: The `KingfisherOptionsInfo` options setting used for retrieving the image. + /// - callbackQueue: The callback queue on which `completionHandler` is invoked. Default is `.untouch`. + /// - completionHandler: A closure which is invoked when the operation finishes. + open func retrieveImageInDiskCache( + forKey key: String, + options: KingfisherOptionsInfo? = nil, + callbackQueue: CallbackQueue = .untouch, + completionHandler: @escaping (Result) -> Void) + { + retrieveImageInDiskCache( + forKey: key, + options: KingfisherParsedOptionsInfo(options), + callbackQueue: callbackQueue, + completionHandler: completionHandler) + } + + // MARK: Cleaning + /// Clears the memory & disk storage of this cache. This is an async operation. + /// + /// - Parameter handler: A closure which is invoked when the cache clearing operation finishes. + /// This `handler` will be called from the main queue. + public func clearCache(completion handler: (() -> Void)? = nil) { + clearMemoryCache() + clearDiskCache(completion: handler) + } + + /// Clears the memory storage of this cache. + @objc public func clearMemoryCache() { + memoryStorage.removeAll() + } + + /// Clears the disk storage of this cache. This is an async operation. + /// + /// - Parameter handler: A closure which is invoked when the cache clearing operation finishes. + /// This `handler` will be called from the main queue. + open func clearDiskCache(completion handler: (() -> Void)? = nil) { + ioQueue.async { + do { + try self.diskStorage.removeAll() + } catch _ { } + if let handler = handler { + DispatchQueue.main.async { handler() } + } + } + } + + /// Clears the expired images from memory & disk storage. This is an async operation. + open func cleanExpiredCache(completion handler: (() -> Void)? = nil) { + cleanExpiredMemoryCache() + cleanExpiredDiskCache(completion: handler) + } + + /// Clears the expired images from disk storage. + open func cleanExpiredMemoryCache() { + memoryStorage.removeExpired() + } + + /// Clears the expired images from disk storage. This is an async operation. + @objc func cleanExpiredDiskCache() { + cleanExpiredDiskCache(completion: nil) + } + + /// Clears the expired images from disk storage. This is an async operation. + /// + /// - Parameter handler: A closure which is invoked when the cache clearing operation finishes. + /// This `handler` will be called from the main queue. + open func cleanExpiredDiskCache(completion handler: (() -> Void)? = nil) { + ioQueue.async { + do { + var removed: [URL] = [] + let removedExpired = try self.diskStorage.removeExpiredValues() + removed.append(contentsOf: removedExpired) + + let removedSizeExceeded = try self.diskStorage.removeSizeExceededValues() + removed.append(contentsOf: removedSizeExceeded) + + if !removed.isEmpty { + DispatchQueue.main.async { + let cleanedHashes = removed.map { $0.lastPathComponent } + NotificationCenter.default.post( + name: .KingfisherDidCleanDiskCache, + object: self, + userInfo: [KingfisherDiskCacheCleanedHashKey: cleanedHashes]) + } + } + + if let handler = handler { + DispatchQueue.main.async { handler() } + } + } catch {} + } + } + +#if !os(macOS) && !os(watchOS) + /// Clears the expired images from disk storage when app is in background. This is an async operation. + /// In most cases, you should not call this method explicitly. + /// It will be called automatically when `UIApplicationDidEnterBackgroundNotification` received. + @objc public func backgroundCleanExpiredDiskCache() { + // if 'sharedApplication()' is unavailable, then return + guard let sharedApplication = KingfisherWrapper.shared else { return } + + func endBackgroundTask(_ task: inout UIBackgroundTaskIdentifier) { + sharedApplication.endBackgroundTask(task) + task = UIBackgroundTaskIdentifier.invalid + } + + var backgroundTask: UIBackgroundTaskIdentifier! + backgroundTask = sharedApplication.beginBackgroundTask { + endBackgroundTask(&backgroundTask!) + } + + cleanExpiredDiskCache { + endBackgroundTask(&backgroundTask!) + } + } +#endif + + // MARK: Image Cache State + + /// Returns the cache type for a given `key` and `identifier` combination. + /// This method is used for checking whether an image is cached in current cache. + /// It also provides information on which kind of cache can it be found in the return value. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - identifier: Processor identifier which used for this image. Default is the `identifier` of + /// `DefaultImageProcessor.default`. + /// - Returns: A `CacheType` instance which indicates the cache status. + /// `.none` means the image is not in cache or it is already expired. + open func imageCachedType( + forKey key: String, + processorIdentifier identifier: String = DefaultImageProcessor.default.identifier) -> CacheType + { + let computedKey = key.computedKey(with: identifier) + if memoryStorage.isCached(forKey: computedKey) { return .memory } + if diskStorage.isCached(forKey: computedKey) { return .disk } + return .none + } + + /// Returns whether the file exists in cache for a given `key` and `identifier` combination. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - identifier: Processor identifier which used for this image. Default is the `identifier` of + /// `DefaultImageProcessor.default`. + /// - Returns: A `Bool` which indicates whether a cache could match the given `key` and `identifier` combination. + /// + /// - Note: + /// The return value does not contain information about from which kind of storage the cache matches. + /// To get the information about cache type according `CacheType`, + /// use `imageCachedType(forKey:processorIdentifier:)` instead. + public func isCached( + forKey key: String, + processorIdentifier identifier: String = DefaultImageProcessor.default.identifier) -> Bool + { + return imageCachedType(forKey: key, processorIdentifier: identifier).cached + } + + /// Gets the hash used as cache file name for the key. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - identifier: Processor identifier which used for this image. Default is the `identifier` of + /// `DefaultImageProcessor.default`. + /// - Returns: The hash which is used as the cache file name. + /// + /// - Note: + /// By default, for a given combination of `key` and `identifier`, `ImageCache` will use the value + /// returned by this method as the cache file name. You can use this value to check and match cache file + /// if you need. + open func hash( + forKey key: String, + processorIdentifier identifier: String = DefaultImageProcessor.default.identifier) -> String + { + let computedKey = key.computedKey(with: identifier) + return diskStorage.cacheFileName(forKey: computedKey) + } + + /// Calculates the size taken by the disk storage. + /// It is the total file size of all cached files in the `diskStorage` on disk in bytes. + /// + /// - Parameter handler: Called with the size calculating finishes. This closure is invoked from the main queue. + open func calculateDiskStorageSize(completion handler: @escaping ((Result) -> Void)) { + ioQueue.async { + do { + let size = try self.diskStorage.totalSize() + DispatchQueue.main.async { handler(.success(size)) } + } catch { + if let error = error as? KingfisherError { + DispatchQueue.main.async { handler(.failure(error)) } + } else { + assertionFailure("The internal thrown error should be a `KingfisherError`.") + } + + } + } + } + + /// Gets the cache path for the key. + /// It is useful for projects with web view or anyone that needs access to the local file path. + /// + /// i.e. Replacing the `` tag in your HTML. + /// + /// - Parameters: + /// - key: The key used for caching the image. + /// - identifier: Processor identifier which used for this image. Default is the `identifier` of + /// `DefaultImageProcessor.default`. + /// - Returns: The disk path of cached image under the given `key` and `identifier`. + /// + /// - Note: + /// This method does not guarantee there is an image already cached in the returned path. It just gives your + /// the path that the image should be, if it exists in disk storage. + /// + /// You could use `isCached(forKey:)` method to check whether the image is cached under that key in disk. + open func cachePath( + forKey key: String, + processorIdentifier identifier: String = DefaultImageProcessor.default.identifier) -> String + { + let computedKey = key.computedKey(with: identifier) + return diskStorage.cacheFileURL(forKey: computedKey).path + } +} + +extension Dictionary { + func keysSortedByValue(_ isOrderedBefore: (Value, Value) -> Bool) -> [Key] { + return Array(self).sorted{ isOrderedBefore($0.1, $1.1) }.map{ $0.0 } + } +} + +#if !os(macOS) && !os(watchOS) +// MARK: - For App Extensions +extension UIApplication: KingfisherCompatible { } +extension KingfisherWrapper where Base: UIApplication { + public static var shared: UIApplication? { + let selector = NSSelectorFromString("sharedApplication") + guard Base.responds(to: selector) else { return nil } + return Base.perform(selector).takeUnretainedValue() as? UIApplication + } +} +#endif + +extension String { + func computedKey(with identifier: String) -> String { + if identifier.isEmpty { + return self + } else { + return appending("@\(identifier)") + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift b/Instagram/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift new file mode 100644 index 0000000..b8b474e --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/MemoryStorage.swift @@ -0,0 +1,285 @@ +// +// MemoryStorage.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/15. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents a set of conception related to storage which stores a certain type of value in memory. +/// This is a namespace for the memory storage types. A `Backend` with a certain `Config` will be used to describe the +/// storage. See these composed types for more information. +public enum MemoryStorage { + + /// Represents a storage which stores a certain type of value in memory. It provides fast access, + /// but limited storing size. The stored value type needs to conform to `CacheCostCalculable`, + /// and its `cacheCost` will be used to determine the cost of size for the cache item. + /// + /// You can config a `MemoryStorage.Backend` in its initializer by passing a `MemoryStorage.Config` value. + /// or modifying the `config` property after it being created. The backend of `MemoryStorage` has + /// upper limitation on cost size in memory and item count. All items in the storage has an expiration + /// date. When retrieved, if the target item is already expired, it will be recognized as it does not + /// exist in the storage. The `MemoryStorage` also contains a scheduled self clean task, to evict expired + /// items from memory. + public class Backend { + let storage = NSCache>() + + // Keys trackes the objects once inside the storage. For object removing triggered by user, the corresponding + // key would be also removed. However, for the object removing triggered by cache rule/policy of system, the + // key will be remained there until next `removeExpired` happens. + // + // Breaking the strict tracking could save additional locking behaviors. + // See https://github.com/onevcat/Kingfisher/issues/1233 + var keys = Set() + + private var cleanTimer: Timer? = nil + private let lock = NSLock() + + /// The config used in this storage. It is a value you can set and + /// use to config the storage in air. + public var config: Config { + didSet { + storage.totalCostLimit = config.totalCostLimit + storage.countLimit = config.countLimit + } + } + + /// Creates a `MemoryStorage` with a given `config`. + /// + /// - Parameter config: The config used to create the storage. It determines the max size limitation, + /// default expiration setting and more. + public init(config: Config) { + self.config = config + storage.totalCostLimit = config.totalCostLimit + storage.countLimit = config.countLimit + + cleanTimer = .scheduledTimer(withTimeInterval: config.cleanInterval, repeats: true) { [weak self] _ in + guard let self = self else { return } + self.removeExpired() + } + } + + /// Removes the expired values from the storage. + public func removeExpired() { + lock.lock() + defer { lock.unlock() } + for key in keys { + let nsKey = key as NSString + guard let object = storage.object(forKey: nsKey) else { + // This could happen if the object is moved by cache `totalCostLimit` or `countLimit` rule. + // We didn't remove the key yet until now, since we do not want to introduce additional lock. + // See https://github.com/onevcat/Kingfisher/issues/1233 + keys.remove(key) + continue + } + if object.estimatedExpiration.isPast { + storage.removeObject(forKey: nsKey) + keys.remove(key) + } + } + } + + /// Stores a value to the storage under the specified key and expiration policy. + /// - Parameters: + /// - value: The value to be stored. + /// - key: The key to which the `value` will be stored. + /// - expiration: The expiration policy used by this store action. + /// - Throws: No error will + public func store( + value: T, + forKey key: String, + expiration: StorageExpiration? = nil) + { + storeNoThrow(value: value, forKey: key, expiration: expiration) + } + + // The no throw version for storing value in cache. Kingfisher knows the detail so it + // could use this version to make syntax simpler internally. + func storeNoThrow( + value: T, + forKey key: String, + expiration: StorageExpiration? = nil) + { + lock.lock() + defer { lock.unlock() } + let expiration = expiration ?? config.expiration + // The expiration indicates that already expired, no need to store. + guard !expiration.isExpired else { return } + + let object: StorageObject + if config.keepWhenEnteringBackground { + object = BackgroundKeepingStorageObject(value, key: key, expiration: expiration) + } else { + object = StorageObject(value, key: key, expiration: expiration) + } + storage.setObject(object, forKey: key as NSString, cost: value.cacheCost) + keys.insert(key) + } + + /// Gets a value from the storage. + /// + /// - Parameters: + /// - key: The cache key of value. + /// - extendingExpiration: The expiration policy used by this getting action. + /// - Returns: The value under `key` if it is valid and found in the storage. Otherwise, `nil`. + public func value(forKey key: String, extendingExpiration: ExpirationExtending = .cacheTime) -> T? { + guard let object = storage.object(forKey: key as NSString) else { + return nil + } + if object.expired { + return nil + } + object.extendExpiration(extendingExpiration) + return object.value + } + + /// Whether there is valid cached data under a given key. + /// - Parameter key: The cache key of value. + /// - Returns: If there is valid data under the key, `true`. Otherwise, `false`. + public func isCached(forKey key: String) -> Bool { + guard let _ = value(forKey: key, extendingExpiration: .none) else { + return false + } + return true + } + + /// Removes a value from a specified key. + /// - Parameter key: The cache key of value. + public func remove(forKey key: String) { + lock.lock() + defer { lock.unlock() } + storage.removeObject(forKey: key as NSString) + keys.remove(key) + } + + /// Removes all values in this storage. + public func removeAll() { + lock.lock() + defer { lock.unlock() } + storage.removeAllObjects() + keys.removeAll() + } + } +} + +extension MemoryStorage { + /// Represents the config used in a `MemoryStorage`. + public struct Config { + + /// Total cost limit of the storage in bytes. + public var totalCostLimit: Int + + /// The item count limit of the memory storage. + public var countLimit: Int = .max + + /// The `StorageExpiration` used in this memory storage. Default is `.seconds(300)`, + /// means that the memory cache would expire in 5 minutes. + public var expiration: StorageExpiration = .seconds(300) + + /// The time interval between the storage do clean work for swiping expired items. + public var cleanInterval: TimeInterval + + /// Whether the newly added items to memory cache should be purged when the app goes to background. + /// + /// By default, the cached items in memory will be purged as soon as the app goes to background to ensure + /// least memory footprint. Enabling this would prevent this behavior and keep the items alive in cache even + /// when your app is not in foreground anymore. + /// + /// Default is `false`. After setting `true`, only the newly added cache objects are affected. Existing + /// objects which are already in the cache while this value was `false` will be still be purged when entering + /// background. + public var keepWhenEnteringBackground: Bool = false + + /// Creates a config from a given `totalCostLimit` value. + /// + /// - Parameters: + /// - totalCostLimit: Total cost limit of the storage in bytes. + /// - cleanInterval: The time interval between the storage do clean work for swiping expired items. + /// Default is 120, means the auto eviction happens once per two minutes. + /// + /// - Note: + /// Other members of `MemoryStorage.Config` will use their default values when created. + public init(totalCostLimit: Int, cleanInterval: TimeInterval = 120) { + self.totalCostLimit = totalCostLimit + self.cleanInterval = cleanInterval + } + } +} + +extension MemoryStorage { + + class BackgroundKeepingStorageObject: StorageObject, NSDiscardableContent { + var accessing = true + func beginContentAccess() -> Bool { + if value != nil { + accessing = true + } else { + accessing = false + } + return accessing + } + + func endContentAccess() { + accessing = false + } + + func discardContentIfPossible() { + value = nil + } + + func isContentDiscarded() -> Bool { + return value == nil + } + } + + class StorageObject { + var value: T? + let expiration: StorageExpiration + let key: String + + private(set) var estimatedExpiration: Date + + init(_ value: T, key: String, expiration: StorageExpiration) { + self.value = value + self.key = key + self.expiration = expiration + + self.estimatedExpiration = expiration.estimatedExpirationSinceNow + } + + func extendExpiration(_ extendingExpiration: ExpirationExtending = .cacheTime) { + switch extendingExpiration { + case .none: + return + case .cacheTime: + self.estimatedExpiration = expiration.estimatedExpirationSinceNow + case .expirationTime(let expirationTime): + self.estimatedExpiration = expirationTime.estimatedExpirationSinceNow + } + } + + var expired: Bool { + return estimatedExpiration.isPast + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Cache/Storage.swift b/Instagram/Pods/Kingfisher/Sources/Cache/Storage.swift new file mode 100644 index 0000000..ca0f8bb --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Cache/Storage.swift @@ -0,0 +1,113 @@ +// +// Storage.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/15. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Constants for some time intervals +struct TimeConstants { + static let secondsInOneMinute = 60 + static let minutesInOneHour = 60 + static let hoursInOneDay = 24 + static let secondsInOneDay = 86_400 +} + +/// Represents the expiration strategy used in storage. +/// +/// - never: The item never expires. +/// - seconds: The item expires after a time duration of given seconds from now. +/// - days: The item expires after a time duration of given days from now. +/// - date: The item expires after a given date. +public enum StorageExpiration { + /// The item never expires. + case never + /// The item expires after a time duration of given seconds from now. + case seconds(TimeInterval) + /// The item expires after a time duration of given days from now. + case days(Int) + /// The item expires after a given date. + case date(Date) + /// Indicates the item is already expired. Use this to skip cache. + case expired + + func estimatedExpirationSince(_ date: Date) -> Date { + switch self { + case .never: return .distantFuture + case .seconds(let seconds): + return date.addingTimeInterval(seconds) + case .days(let days): + let duration: TimeInterval = TimeInterval(TimeConstants.secondsInOneDay) * TimeInterval(days) + return date.addingTimeInterval(duration) + case .date(let ref): + return ref + case .expired: + return .distantPast + } + } + + var estimatedExpirationSinceNow: Date { + return estimatedExpirationSince(Date()) + } + + var isExpired: Bool { + return timeInterval <= 0 + } + + var timeInterval: TimeInterval { + switch self { + case .never: return .infinity + case .seconds(let seconds): return seconds + case .days(let days): return TimeInterval(TimeConstants.secondsInOneDay) * TimeInterval(days) + case .date(let ref): return ref.timeIntervalSinceNow + case .expired: return -(.infinity) + } + } +} + +/// Represents the expiration extending strategy used in storage to after access. +/// +/// - none: The item expires after the original time, without extending after access. +/// - cacheTime: The item expiration extends by the original cache time after each access. +/// - expirationTime: The item expiration extends by the provided time after each access. +public enum ExpirationExtending { + /// The item expires after the original time, without extending after access. + case none + /// The item expiration extends by the original cache time after each access. + case cacheTime + /// The item expiration extends by the provided time after each access. + case expirationTime(_ expiration: StorageExpiration) +} + +/// Represents types which cost in memory can be calculated. +public protocol CacheCostCalculable { + var cacheCost: Int { get } +} + +/// Represents types which can be converted to and from data. +public protocol DataTransformable { + func toData() throws -> Data + static func fromData(_ data: Data) throws -> Self + static var empty: Self { get } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/CPListItem+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/CPListItem+Kingfisher.swift new file mode 100644 index 0000000..d49c2f6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/CPListItem+Kingfisher.swift @@ -0,0 +1,258 @@ + +// +// CPListItem+Kingfisher.swift +// Kingfisher +// +// Created by Wayne Hartman on 2021-08-29. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(CarPlay) && !targetEnvironment(macCatalyst) +import CarPlay + +@available(iOS 14.0, *) +extension KingfisherWrapper where Base: CPListItem { + + // MARK: Setting Image + + /// Sets an image to the image view with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? [])) + return setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an image to the image view with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + /** + * In iOS SDK 14.0-14.4 the image param was non-`nil`. The SDK changed in 14.5 + * to allow `nil`. The compiler version 5.4 was introduced in this same SDK, + * which allows >=14.5 SDK to set a `nil` image. This compile check allows + * newer SDK users to set the image to `nil`, while still allowing older SDK + * users to compile the framework. + */ + #if compiler(>=5.4) + self.base.setImage(placeholder) + #else + if let placeholder = placeholder { + self.base.setImage(placeholder) + } + #endif + + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + /** + * In iOS SDK 14.0-14.4 the image param was non-`nil`. The SDK changed in 14.5 + * to allow `nil`. The compiler version 5.4 was introduced in this same SDK, + * which allows >=14.5 SDK to set a `nil` image. This compile check allows + * newer SDK users to set the image to `nil`, while still allowing older SDK + * users to compile the framework. + */ + #if compiler(>=5.4) + self.base.setImage(placeholder) + #else // Let older SDK users deal with the older behavior. + if let placeholder = placeholder { + self.base.setImage(placeholder) + } + #endif + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.setImage(image) + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + self.base.setImage(value.image) + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + /** + * In iOS SDK 14.0-14.4 the image param was non-`nil`. The SDK changed in 14.5 + * to allow `nil`. The compiler version 5.4 was introduced in this same SDK, + * which allows >=14.5 SDK to set a `nil` image. This compile check allows + * newer SDK users to set the image to `nil`, while still allowing older SDK + * users to compile the framework. + */ + #if compiler(>=5.4) + self.base.setImage(image) + #else // Let older SDK users deal with the older behavior. + if let unwrapped = image { + self.base.setImage(unwrapped) + } + #endif + + } else { + #if compiler(>=5.4) + self.base.setImage(nil) + #endif + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Image + + /// Cancel the image download task bounded to the image view if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelDownloadTask() { + imageTask?.cancel() + } +} + +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +// MARK: Properties +extension KingfisherWrapper where Base: CPListItem { + + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift new file mode 100644 index 0000000..6ead7d5 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/ImageView+Kingfisher.swift @@ -0,0 +1,545 @@ +// +// ImageView+Kingfisher.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +extension KingfisherWrapper where Base: KFCrossPlatformImageView { + + // MARK: Setting Image + + /// Sets an image to the image view with a `Source`. + /// + /// - Parameters: + /// - source: The `Source` object defines data information from network or a data provider. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// This is the easiest way to use Kingfisher to boost the image setting process from a source. Since all parameters + /// have a default value except the `source`, you can set an image from a certain URL to an image view like this: + /// + /// ``` + /// // Set image from a network source. + /// let url = URL(string: "https://example.com/image.png")! + /// imageView.kf.setImage(with: .network(url)) + /// + /// // Or set image from a data provider. + /// let provider = LocalFileImageDataProvider(fileURL: fileURL) + /// imageView.kf.setImage(with: .provider(provider)) + /// ``` + /// + /// For both `.network` and `.provider` source, there are corresponding view extension methods. So the code + /// above is equivalent to: + /// + /// ``` + /// imageView.kf.setImage(with: url) + /// imageView.kf.setImage(with: provider) + /// ``` + /// + /// Internally, this method will use `KingfisherManager` to get the source. + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage(with: source, placeholder: placeholder, parsedOptions: options, progressBlock: progressBlock, completionHandler: completionHandler) + } + + /// Sets an image to the image view with a `Source`. + /// + /// - Parameters: + /// - source: The `Source` object defines data information from network or a data provider. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// This is the easiest way to use Kingfisher to boost the image setting process from a source. Since all parameters + /// have a default value except the `source`, you can set an image from a certain URL to an image view like this: + /// + /// ``` + /// // Set image from a network source. + /// let url = URL(string: "https://example.com/image.png")! + /// imageView.kf.setImage(with: .network(url)) + /// + /// // Or set image from a data provider. + /// let provider = LocalFileImageDataProvider(fileURL: fileURL) + /// imageView.kf.setImage(with: .provider(provider)) + /// ``` + /// + /// For both `.network` and `.provider` source, there are corresponding view extension methods. So the code + /// above is equivalent to: + /// + /// ``` + /// imageView.kf.setImage(with: url) + /// imageView.kf.setImage(with: provider) + /// ``` + /// + /// Internally, this method will use `KingfisherManager` to get the source. + /// Since this method will perform UI changes, you must call it from the main thread. + /// The `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: source, + placeholder: placeholder, + options: options, + progressBlock: nil, + completionHandler: completionHandler + ) + } + + /// Sets an image to the image view with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// This is the easiest way to use Kingfisher to boost the image setting process from network. Since all parameters + /// have a default value except the `resource`, you can set an image from a certain URL to an image view like this: + /// + /// ``` + /// let url = URL(string: "https://example.com/image.png")! + /// imageView.kf.setImage(with: url) + /// ``` + /// + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + /// Sets an image to the image view with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// This is the easiest way to use Kingfisher to boost the image setting process from network. Since all parameters + /// have a default value except the `resource`, you can set an image from a certain URL to an image view like this: + /// + /// ``` + /// let url = URL(string: "https://example.com/image.png")! + /// imageView.kf.setImage(with: url) + /// ``` + /// + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// The `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource, + placeholder: placeholder, + options: options, + progressBlock: nil, + completionHandler: completionHandler + ) + } + + /// Sets an image to the image view with a data provider. + /// + /// - Parameters: + /// - provider: The `ImageDataProvider` object contains information about the data. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// Internally, this method will use `KingfisherManager` to get the image data, from either cache + /// or the data provider. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with provider: ImageDataProvider?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: provider.map { .provider($0) }, + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + /// Sets an image to the image view with a data provider. + /// + /// - Parameters: + /// - provider: The `ImageDataProvider` object contains information about the data. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// Internally, this method will use `KingfisherManager` to get the image data, from either cache + /// or the data provider. Since this method will perform UI changes, you must call it from the main thread. + /// The `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with provider: ImageDataProvider?, + placeholder: Placeholder? = nil, + options: KingfisherOptionsInfo? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: provider, + placeholder: placeholder, + options: options, + progressBlock: nil, + completionHandler: completionHandler + ) + } + + + func setImage( + with source: Source?, + placeholder: Placeholder? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + mutatingSelf.placeholder = placeholder + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + + let isEmptyImage = base.image == nil && self.placeholder == nil + if !options.keepCurrentImageWhileLoading || isEmptyImage { + // Always set placeholder while there is no image/placeholder yet. + mutatingSelf.placeholder = placeholder + } + + let maybeIndicator = indicator + maybeIndicator?.startAnimatingView() + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if base.shouldPreloadAllAnimation() { + options.preloadAllAnimationData = true + } + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.image = image + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + maybeIndicator?.stopAnimatingView() + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + guard self.needsTransition(options: options, cacheType: value.cacheType) else { + mutatingSelf.placeholder = nil + self.base.image = value.image + completionHandler?(result) + return + } + + self.makeTransition(image: value.image, transition: options.transition) { + completionHandler?(result) + } + + case .failure: + if let image = options.onFailureImage { + mutatingSelf.placeholder = nil + self.base.image = image + } + completionHandler?(result) + } + } + } + ) + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Downloading Task + + /// Cancels the image download task of the image view if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelDownloadTask() { + imageTask?.cancel() + } + + private func needsTransition(options: KingfisherParsedOptionsInfo, cacheType: CacheType) -> Bool { + switch options.transition { + case .none: + return false + #if os(macOS) + case .fade: // Fade is only a placeholder for SwiftUI on macOS. + return false + #else + default: + if options.forceTransition { return true } + if cacheType == .none { return true } + return false + #endif + } + } + + private func makeTransition(image: KFCrossPlatformImage, transition: ImageTransition, done: @escaping () -> Void) { + #if !os(macOS) + // Force hiding the indicator without transition first. + UIView.transition( + with: self.base, + duration: 0.0, + options: [], + animations: { self.indicator?.stopAnimatingView() }, + completion: { _ in + var mutatingSelf = self + mutatingSelf.placeholder = nil + UIView.transition( + with: self.base, + duration: transition.duration, + options: [transition.animationOptions, .allowUserInteraction], + animations: { transition.animations?(self.base, image) }, + completion: { finished in + transition.completion?(finished) + done() + } + ) + } + ) + #else + done() + #endif + } +} + +// MARK: - Associated Object +private var taskIdentifierKey: Void? +private var indicatorKey: Void? +private var indicatorTypeKey: Void? +private var placeholderKey: Void? +private var imageTaskKey: Void? + +extension KingfisherWrapper where Base: KFCrossPlatformImageView { + + // MARK: Properties + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + /// Holds which indicator type is going to be used. + /// Default is `.none`, means no indicator will be shown while downloading. + public var indicatorType: IndicatorType { + get { + return getAssociatedObject(base, &indicatorTypeKey) ?? .none + } + + set { + switch newValue { + case .none: indicator = nil + case .activity: indicator = ActivityIndicator() + case .image(let data): indicator = ImageIndicator(imageData: data) + case .custom(let anIndicator): indicator = anIndicator + } + + setRetainedAssociatedObject(base, &indicatorTypeKey, newValue) + } + } + + /// Holds any type that conforms to the protocol `Indicator`. + /// The protocol `Indicator` has a `view` property that will be shown when loading an image. + /// It will be `nil` if `indicatorType` is `.none`. + public private(set) var indicator: Indicator? { + get { + let box: Box? = getAssociatedObject(base, &indicatorKey) + return box?.value + } + + set { + // Remove previous + if let previousIndicator = indicator { + previousIndicator.view.removeFromSuperview() + } + + // Add new + if let newIndicator = newValue { + // Set default indicator layout + let view = newIndicator.view + + base.addSubview(view) + view.translatesAutoresizingMaskIntoConstraints = false + view.centerXAnchor.constraint( + equalTo: base.centerXAnchor, constant: newIndicator.centerOffset.x).isActive = true + view.centerYAnchor.constraint( + equalTo: base.centerYAnchor, constant: newIndicator.centerOffset.y).isActive = true + + switch newIndicator.sizeStrategy(in: base) { + case .intrinsicSize: + break + case .full: + view.heightAnchor.constraint(equalTo: base.heightAnchor, constant: 0).isActive = true + view.widthAnchor.constraint(equalTo: base.widthAnchor, constant: 0).isActive = true + case .size(let size): + view.heightAnchor.constraint(equalToConstant: size.height).isActive = true + view.widthAnchor.constraint(equalToConstant: size.width).isActive = true + } + + newIndicator.view.isHidden = true + } + + // Save in associated object + // Wrap newValue with Box to workaround an issue that Swift does not recognize + // and casting protocol for associate object correctly. https://github.com/onevcat/Kingfisher/issues/872 + setRetainedAssociatedObject(base, &indicatorKey, newValue.map(Box.init)) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } + + /// Represents the `Placeholder` used for this image view. A `Placeholder` will be shown in the view while + /// it is downloading an image. + public private(set) var placeholder: Placeholder? { + get { return getAssociatedObject(base, &placeholderKey) } + set { + if let previousPlaceholder = placeholder { + previousPlaceholder.remove(from: base) + } + + if let newPlaceholder = newValue { + newPlaceholder.add(to: base) + } else { + base.image = nil + } + setRetainedAssociatedObject(base, &placeholderKey, newValue) + } + } +} + + +extension KFCrossPlatformImageView { + @objc func shouldPreloadAllAnimation() -> Bool { return true } +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift new file mode 100644 index 0000000..566eb1e --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/NSButton+Kingfisher.swift @@ -0,0 +1,370 @@ +// +// NSButton+Kingfisher.swift +// Kingfisher +// +// Created by Jie Zhang on 14/04/2016. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) + +import AppKit + +extension KingfisherWrapper where Base: NSButton { + + // MARK: Setting Image + + /// Sets an image to the button with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about how to get the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested source. + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an image to the button with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + base.image = placeholder + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.image = placeholder + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.image = image + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + self.base.image = value.image + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.image = image + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Downloading Task + + /// Cancels the image download task of the button if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelImageDownloadTask() { + imageTask?.cancel() + } + + // MARK: Setting Alternate Image + + @discardableResult + public func setAlternateImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setAlternateImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an alternate image to the button with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setAlternateImage( + with resource: Resource?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setAlternateImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + func setAlternateImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + base.alternateImage = placeholder + mutatingSelf.alternateTaskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.alternateImage = placeholder + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.alternateTaskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.alternateImage = image + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.alternateTaskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.alternateImageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.alternateTaskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.alternateImageTask = nil + mutatingSelf.alternateTaskIdentifier = nil + + switch result { + case .success(let value): + self.base.alternateImage = value.image + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.alternateImage = image + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.alternateImageTask = task + return task + } + + // MARK: Cancelling Alternate Image Downloading Task + + /// Cancels the alternate image download task of the button if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelAlternateImageDownloadTask() { + alternateImageTask?.cancel() + } +} + + +// MARK: - Associated Object +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +private var alternateTaskIdentifierKey: Void? +private var alternateImageTaskKey: Void? + +extension KingfisherWrapper where Base: NSButton { + + // MARK: Properties + + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } + + public private(set) var alternateTaskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &alternateTaskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &alternateTaskIdentifierKey, box) + } + } + + private var alternateImageTask: DownloadTask? { + get { return getAssociatedObject(base, &alternateImageTaskKey) } + set { setRetainedAssociatedObject(base, &alternateImageTaskKey, newValue)} + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/NSTextAttachment+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/NSTextAttachment+Kingfisher.swift new file mode 100644 index 0000000..adb5490 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/NSTextAttachment+Kingfisher.swift @@ -0,0 +1,279 @@ +// +// NSTextAttachment+Kingfisher.swift +// Kingfisher +// +// Created by Benjamin Briggs on 22/07/2019. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +extension KingfisherWrapper where Base: NSTextAttachment { + + // MARK: Setting Image + + /// Sets an image to the text attachment with a source. + /// + /// - Parameters: + /// - source: The `Source` object defines data information from network or a data provider. + /// - attributedView: The owner of the attributed string which this `NSTextAttachment` is added. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// + /// The retrieved image will be set to `NSTextAttachment.image` property. Because it is not an image view based + /// rendering, options related to view, such as `.transition`, are not supported. + /// + /// Kingfisher will call `setNeedsDisplay` on the `attributedView` when the image task done. It gives the view a + /// chance to render the attributed string again for displaying the downloaded image. For example, if you set an + /// attributed with this `NSTextAttachment` to a `UILabel` object, pass it as the `attributedView` parameter. + /// + /// Here is a typical use case: + /// + /// ```swift + /// let attributedText = NSMutableAttributedString(string: "Hello World") + /// let textAttachment = NSTextAttachment() + /// + /// textAttachment.kf.setImage( + /// with: URL(string: "https://onevcat.com/assets/images/avatar.jpg")!, + /// attributedView: label, + /// options: [ + /// .processor( + /// ResizingImageProcessor(referenceSize: .init(width: 30, height: 30)) + /// |> RoundCornerImageProcessor(cornerRadius: 15)) + /// ] + /// ) + /// attributedText.replaceCharacters(in: NSRange(), with: NSAttributedString(attachment: textAttachment)) + /// label.attributedText = attributedText + /// ``` + /// + @discardableResult + public func setImage( + with source: Source?, + attributedView: @autoclosure @escaping () -> KFCrossPlatformView, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: source, + attributedView: attributedView, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an image to the text attachment with a source. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - attributedView: The owner of the attributed string which this `NSTextAttachment` is added. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// + /// The retrieved image will be set to `NSTextAttachment.image` property. Because it is not an image view based + /// rendering, options related to view, such as `.transition`, are not supported. + /// + /// Kingfisher will call `setNeedsDisplay` on the `attributedView` when the image task done. It gives the view a + /// chance to render the attributed string again for displaying the downloaded image. For example, if you set an + /// attributed with this `NSTextAttachment` to a `UILabel` object, pass it as the `attributedView` parameter. + /// + /// Here is a typical use case: + /// + /// ```swift + /// let attributedText = NSMutableAttributedString(string: "Hello World") + /// let textAttachment = NSTextAttachment() + /// + /// textAttachment.kf.setImage( + /// with: URL(string: "https://onevcat.com/assets/images/avatar.jpg")!, + /// attributedView: label, + /// options: [ + /// .processor( + /// ResizingImageProcessor(referenceSize: .init(width: 30, height: 30)) + /// |> RoundCornerImageProcessor(cornerRadius: 15)) + /// ] + /// ) + /// attributedText.replaceCharacters(in: NSRange(), with: NSAttributedString(attachment: textAttachment)) + /// label.attributedText = attributedText + /// ``` + /// + @discardableResult + public func setImage( + with resource: Resource?, + attributedView: @autoclosure @escaping () -> KFCrossPlatformView, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: resource.map { .network($0) }, + attributedView: attributedView, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + func setImage( + with source: Source?, + attributedView: @escaping () -> KFCrossPlatformView, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + base.image = placeholder + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.image = placeholder + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.image = image + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + self.base.image = value.image + let view = attributedView() + #if canImport(UIKit) + view.setNeedsDisplay() + #else + view.setNeedsDisplay(view.bounds) + #endif + case .failure: + if let image = options.onFailureImage { + self.base.image = image + } + } + completionHandler?(result) + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Image + + /// Cancel the image download task bounded to the text attachment if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelDownloadTask() { + imageTask?.cancel() + } +} + +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +// MARK: Properties +extension KingfisherWrapper where Base: NSTextAttachment { + + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/TVMonogramView+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/TVMonogramView+Kingfisher.swift new file mode 100644 index 0000000..8f0948c --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/TVMonogramView+Kingfisher.swift @@ -0,0 +1,217 @@ +// +// TVMonogramView+Kingfisher.swift +// Kingfisher +// +// Created by Marvin Nazari on 2020-12-07. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +#if canImport(TVUIKit) + +import TVUIKit + +@available(tvOS 12.0, *) +extension KingfisherWrapper where Base: TVMonogramView { + + // MARK: Setting Image + + /// Sets an image to the image view with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + base.image = placeholder + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.image = placeholder + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.image = image + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + self.base.image = value.image + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.image = image + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + /// Sets an image to the image view with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + // MARK: Cancelling Image + + /// Cancel the image download task bounded to the image view if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelDownloadTask() { + imageTask?.cancel() + } +} + +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +// MARK: Properties +@available(tvOS 12.0, *) +extension KingfisherWrapper where Base: TVMonogramView { + + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift new file mode 100644 index 0000000..e30fdd6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/UIButton+Kingfisher.swift @@ -0,0 +1,416 @@ +// +// UIButton+Kingfisher.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/13. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +#if canImport(UIKit) +import UIKit + +extension KingfisherWrapper where Base: UIButton { + + // MARK: Setting Image + /// Sets an image to the button for a specified state with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about the image. + /// - state: The button state to which the image should be set. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested source, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + for state: UIControl.State, + placeholder: UIImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: source, + for: state, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an image to the button for a specified state with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - state: The button state to which the image should be set. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + for state: UIControl.State, + placeholder: UIImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + for: state, + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + @discardableResult + public func setImage( + with source: Source?, + for state: UIControl.State, + placeholder: UIImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + guard let source = source else { + base.setImage(placeholder, for: state) + setTaskIdentifier(nil, for: state) + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.setImage(placeholder, for: state) + } + + var mutatingSelf = self + let issuedIdentifier = Source.Identifier.next() + setTaskIdentifier(issuedIdentifier, for: state) + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.setImage(image, for: state) + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier(for: state) } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier(for: state) else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.setTaskIdentifier(nil, for: state) + + switch result { + case .success(let value): + self.base.setImage(value.image, for: state) + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.setImage(image, for: state) + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Downloading Task + + /// Cancels the image download task of the button if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelImageDownloadTask() { + imageTask?.cancel() + } + + // MARK: Setting Background Image + + /// Sets a background image to the button for a specified state with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about the image. + /// - state: The button state to which the image should be set. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setBackgroundImage( + with source: Source?, + for state: UIControl.State, + placeholder: UIImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setBackgroundImage( + with: source, + for: state, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets a background image to the button for a specified state with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the resource. + /// - state: The button state to which the image should be set. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setBackgroundImage( + with resource: Resource?, + for state: UIControl.State, + placeholder: UIImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setBackgroundImage( + with: resource?.convertToSource(), + for: state, + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + func setBackgroundImage( + with source: Source?, + for state: UIControl.State, + placeholder: UIImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + guard let source = source else { + base.setBackgroundImage(placeholder, for: state) + setBackgroundTaskIdentifier(nil, for: state) + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.setBackgroundImage(placeholder, for: state) + } + + var mutatingSelf = self + let issuedIdentifier = Source.Identifier.next() + setBackgroundTaskIdentifier(issuedIdentifier, for: state) + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.setBackgroundImage(image, for: state) + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.backgroundTaskIdentifier(for: state) } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.backgroundImageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.backgroundTaskIdentifier(for: state) else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.backgroundImageTask = nil + mutatingSelf.setBackgroundTaskIdentifier(nil, for: state) + + switch result { + case .success(let value): + self.base.setBackgroundImage(value.image, for: state) + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.setBackgroundImage(image, for: state) + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.backgroundImageTask = task + return task + } + + // MARK: Cancelling Background Downloading Task + + /// Cancels the background image download task of the button if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelBackgroundImageDownloadTask() { + backgroundImageTask?.cancel() + } +} + +// MARK: - Associated Object +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +// MARK: Properties +extension KingfisherWrapper where Base: UIButton { + + private typealias TaskIdentifier = Box<[UInt: Source.Identifier.Value]> + + public func taskIdentifier(for state: UIControl.State) -> Source.Identifier.Value? { + return taskIdentifierInfo.value[state.rawValue] + } + + private func setTaskIdentifier(_ identifier: Source.Identifier.Value?, for state: UIControl.State) { + taskIdentifierInfo.value[state.rawValue] = identifier + } + + private var taskIdentifierInfo: TaskIdentifier { + return getAssociatedObject(base, &taskIdentifierKey) ?? { + setRetainedAssociatedObject(base, &taskIdentifierKey, $0) + return $0 + } (TaskIdentifier([:])) + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } +} + + +private var backgroundTaskIdentifierKey: Void? +private var backgroundImageTaskKey: Void? + +// MARK: Background Properties +extension KingfisherWrapper where Base: UIButton { + + public func backgroundTaskIdentifier(for state: UIControl.State) -> Source.Identifier.Value? { + return backgroundTaskIdentifierInfo.value[state.rawValue] + } + + private func setBackgroundTaskIdentifier(_ identifier: Source.Identifier.Value?, for state: UIControl.State) { + backgroundTaskIdentifierInfo.value[state.rawValue] = identifier + } + + private var backgroundTaskIdentifierInfo: TaskIdentifier { + return getAssociatedObject(base, &backgroundTaskIdentifierKey) ?? { + setRetainedAssociatedObject(base, &backgroundTaskIdentifierKey, $0) + return $0 + } (TaskIdentifier([:])) + } + + private var backgroundImageTask: DownloadTask? { + get { return getAssociatedObject(base, &backgroundImageTaskKey) } + mutating set { setRetainedAssociatedObject(base, &backgroundImageTaskKey, newValue) } + } +} +#endif + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift new file mode 100644 index 0000000..ce424de --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Extensions/WKInterfaceImage+Kingfisher.swift @@ -0,0 +1,212 @@ +// +// WKInterfaceImage+Kingfisher.swift +// Kingfisher +// +// Created by Rodrigo Borges Soares on 04/05/18. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(WatchKit) + +import WatchKit + +extension KingfisherWrapper where Base: WKInterfaceImage { + + // MARK: Setting Image + + /// Sets an image to the image view with a source. + /// + /// - Parameters: + /// - source: The `Source` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested source + /// Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + let options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions + (options ?? .empty)) + return setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: completionHandler + ) + } + + /// Sets an image to the image view with a requested resource. + /// + /// - Parameters: + /// - resource: The `Resource` object contains information about the image. + /// - placeholder: A placeholder to show while retrieving the image from the given `resource`. + /// - options: An options set to define image setting behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. + /// - completionHandler: Called when the image retrieved and set finished. + /// - Returns: A task represents the image downloading. + /// + /// - Note: + /// + /// Internally, this method will use `KingfisherManager` to get the requested resource, from either cache + /// or network. Since this method will perform UI changes, you must call it from the main thread. + /// Both `progressBlock` and `completionHandler` will be also executed in the main thread. + /// + @discardableResult + public func setImage( + with resource: Resource?, + placeholder: KFCrossPlatformImage? = nil, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + return setImage( + with: resource?.convertToSource(), + placeholder: placeholder, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + func setImage( + with source: Source?, + placeholder: KFCrossPlatformImage? = nil, + parsedOptions: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var mutatingSelf = self + guard let source = source else { + base.setImage(placeholder) + mutatingSelf.taskIdentifier = nil + completionHandler?(.failure(KingfisherError.imageSettingError(reason: .emptySource))) + return nil + } + + var options = parsedOptions + if !options.keepCurrentImageWhileLoading { + base.setImage(placeholder) + } + + let issuedIdentifier = Source.Identifier.next() + mutatingSelf.taskIdentifier = issuedIdentifier + + if let block = progressBlock { + options.onDataReceived = (options.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + + if let provider = ImageProgressiveProvider(options, refresh: { image in + self.base.setImage(image) + }) { + options.onDataReceived = (options.onDataReceived ?? []) + [provider] + } + + options.onDataReceived?.forEach { + $0.onShouldApply = { issuedIdentifier == self.taskIdentifier } + } + + let task = KingfisherManager.shared.retrieveImage( + with: source, + options: options, + downloadTaskUpdated: { mutatingSelf.imageTask = $0 }, + completionHandler: { result in + CallbackQueue.mainCurrentOrAsync.execute { + guard issuedIdentifier == self.taskIdentifier else { + let reason: KingfisherError.ImageSettingErrorReason + do { + let value = try result.get() + reason = .notCurrentSourceTask(result: value, error: nil, source: source) + } catch { + reason = .notCurrentSourceTask(result: nil, error: error, source: source) + } + let error = KingfisherError.imageSettingError(reason: reason) + completionHandler?(.failure(error)) + return + } + + mutatingSelf.imageTask = nil + mutatingSelf.taskIdentifier = nil + + switch result { + case .success(let value): + self.base.setImage(value.image) + completionHandler?(result) + + case .failure: + if let image = options.onFailureImage { + self.base.setImage(image) + } + completionHandler?(result) + } + } + } + ) + + mutatingSelf.imageTask = task + return task + } + + // MARK: Cancelling Image + + /// Cancel the image download task bounded to the image view if it is running. + /// Nothing will happen if the downloading has already finished. + public func cancelDownloadTask() { + imageTask?.cancel() + } +} + +private var taskIdentifierKey: Void? +private var imageTaskKey: Void? + +// MARK: Properties +extension KingfisherWrapper where Base: WKInterfaceImage { + + public private(set) var taskIdentifier: Source.Identifier.Value? { + get { + let box: Box? = getAssociatedObject(base, &taskIdentifierKey) + return box?.value + } + set { + let box = newValue.map { Box($0) } + setRetainedAssociatedObject(base, &taskIdentifierKey, box) + } + } + + private var imageTask: DownloadTask? { + get { return getAssociatedObject(base, &imageTaskKey) } + set { setRetainedAssociatedObject(base, &imageTaskKey, newValue)} + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/General/ImageSource/AVAssetImageDataProvider.swift b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/AVAssetImageDataProvider.swift new file mode 100644 index 0000000..db5e2b4 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/AVAssetImageDataProvider.swift @@ -0,0 +1,137 @@ +// +// AVAssetImageDataProvider.swift +// Kingfisher +// +// Created by onevcat on 2020/08/09. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +import Foundation +import AVKit + +#if canImport(MobileCoreServices) +import MobileCoreServices +#else +import CoreServices +#endif + +/// A data provider to provide thumbnail data from a given AVKit asset. +public struct AVAssetImageDataProvider: ImageDataProvider { + + /// The possible error might be caused by the `AVAssetImageDataProvider`. + /// - userCancelled: The data provider process is cancelled. + /// - invalidImage: The retrieved image is invalid. + public enum AVAssetImageDataProviderError: Error { + case userCancelled + case invalidImage(_ image: CGImage?) + } + + /// The asset image generator bound to `self`. + public let assetImageGenerator: AVAssetImageGenerator + + /// The time at which the image should be generate in the asset. + public let time: CMTime + + private var internalKey: String { + return (assetImageGenerator.asset as? AVURLAsset)?.url.absoluteString ?? UUID().uuidString + } + + /// The cache key used by `self`. + public var cacheKey: String { + return "\(internalKey)_\(time.seconds)" + } + + /// Creates an asset image data provider. + /// - Parameters: + /// - assetImageGenerator: The asset image generator controls data providing behaviors. + /// - time: At which time in the asset the image should be generated. + public init(assetImageGenerator: AVAssetImageGenerator, time: CMTime) { + self.assetImageGenerator = assetImageGenerator + self.time = time + } + + /// Creates an asset image data provider. + /// - Parameters: + /// - assetURL: The URL of asset for providing image data. + /// - time: At which time in the asset the image should be generated. + /// + /// This method uses `assetURL` to create an `AVAssetImageGenerator` object and calls + /// the `init(assetImageGenerator:time:)` initializer. + /// + public init(assetURL: URL, time: CMTime) { + let asset = AVAsset(url: assetURL) + let generator = AVAssetImageGenerator(asset: asset) + self.init(assetImageGenerator: generator, time: time) + } + + /// Creates an asset image data provider. + /// + /// - Parameters: + /// - assetURL: The URL of asset for providing image data. + /// - seconds: At which time in seconds in the asset the image should be generated. + /// + /// This method uses `assetURL` to create an `AVAssetImageGenerator` object, uses `seconds` to create a `CMTime`, + /// and calls the `init(assetImageGenerator:time:)` initializer. + /// + public init(assetURL: URL, seconds: TimeInterval) { + let time = CMTime(seconds: seconds, preferredTimescale: 600) + self.init(assetURL: assetURL, time: time) + } + + public func data(handler: @escaping (Result) -> Void) { + assetImageGenerator.generateCGImagesAsynchronously(forTimes: [NSValue(time: time)]) { + (requestedTime, image, imageTime, result, error) in + if let error = error { + handler(.failure(error)) + return + } + + if result == .cancelled { + handler(.failure(AVAssetImageDataProviderError.userCancelled)) + return + } + + guard let cgImage = image, let data = cgImage.jpegData else { + handler(.failure(AVAssetImageDataProviderError.invalidImage(image))) + return + } + + handler(.success(data)) + } + } +} + +extension CGImage { + var jpegData: Data? { + guard let mutableData = CFDataCreateMutable(nil, 0), + let destination = CGImageDestinationCreateWithData(mutableData, kUTTypeJPEG, 1, nil) + else { + return nil + } + CGImageDestinationAddImage(destination, self, nil) + guard CGImageDestinationFinalize(destination) else { return nil } + return mutableData as Data + } +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift new file mode 100644 index 0000000..e90ece6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/ImageDataProvider.swift @@ -0,0 +1,170 @@ +// +// ImageDataProvider.swift +// Kingfisher +// +// Created by onevcat on 2018/11/13. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents a data provider to provide image data to Kingfisher when setting with +/// `Source.provider` source. Compared to `Source.network` member, it gives a chance +/// to load some image data in your own way, as long as you can provide the data +/// representation for the image. +public protocol ImageDataProvider { + + /// The key used in cache. + var cacheKey: String { get } + + /// Provides the data which represents image. Kingfisher uses the data you pass in the + /// handler to process images and caches it for later use. + /// + /// - Parameter handler: The handler you should call when you prepared your data. + /// If the data is loaded successfully, call the handler with + /// a `.success` with the data associated. Otherwise, call it + /// with a `.failure` and pass the error. + /// + /// - Note: + /// If the `handler` is called with a `.failure` with error, a `dataProviderError` of + /// `ImageSettingErrorReason` will be finally thrown out to you as the `KingfisherError` + /// from the framework. + func data(handler: @escaping (Result) -> Void) + + /// The content URL represents this provider, if exists. + var contentURL: URL? { get } +} + +public extension ImageDataProvider { + var contentURL: URL? { return nil } + func convertToSource() -> Source { + .provider(self) + } +} + +/// Represents an image data provider for loading from a local file URL on disk. +/// Uses this type for adding a disk image to Kingfisher. Compared to loading it +/// directly, you can get benefit of using Kingfisher's extension methods, as well +/// as applying `ImageProcessor`s and storing the image to `ImageCache` of Kingfisher. +public struct LocalFileImageDataProvider: ImageDataProvider { + + // MARK: Public Properties + + /// The file URL from which the image be loaded. + public let fileURL: URL + private let loadingQueue: ExecutionQueue + + // MARK: Initializers + + /// Creates an image data provider by supplying the target local file URL. + /// + /// - Parameters: + /// - fileURL: The file URL from which the image be loaded. + /// - cacheKey: The key is used for caching the image data. By default, + /// the `absoluteString` of `fileURL` is used. + /// - loadingQueue: The queue where the file loading should happen. By default, the dispatch queue of + /// `.global(qos: .userInitiated)` will be used. + public init( + fileURL: URL, + cacheKey: String? = nil, + loadingQueue: ExecutionQueue = .dispatch(DispatchQueue.global(qos: .userInitiated)) + ) { + self.fileURL = fileURL + self.cacheKey = cacheKey ?? fileURL.localFileCacheKey + self.loadingQueue = loadingQueue + } + + // MARK: Protocol Conforming + + /// The key used in cache. + public var cacheKey: String + + public func data(handler:@escaping (Result) -> Void) { + loadingQueue.execute { + handler(Result(catching: { try Data(contentsOf: fileURL) })) + } + } + + /// The URL of the local file on the disk. + public var contentURL: URL? { + return fileURL + } +} + +/// Represents an image data provider for loading image from a given Base64 encoded string. +public struct Base64ImageDataProvider: ImageDataProvider { + + // MARK: Public Properties + /// The encoded Base64 string for the image. + public let base64String: String + + // MARK: Initializers + + /// Creates an image data provider by supplying the Base64 encoded string. + /// + /// - Parameters: + /// - base64String: The Base64 encoded string for an image. + /// - cacheKey: The key is used for caching the image data. You need a different key for any different image. + public init(base64String: String, cacheKey: String) { + self.base64String = base64String + self.cacheKey = cacheKey + } + + // MARK: Protocol Conforming + + /// The key used in cache. + public var cacheKey: String + + public func data(handler: (Result) -> Void) { + let data = Data(base64Encoded: base64String)! + handler(.success(data)) + } +} + +/// Represents an image data provider for a raw data object. +public struct RawImageDataProvider: ImageDataProvider { + + // MARK: Public Properties + + /// The raw data object to provide to Kingfisher image loader. + public let data: Data + + // MARK: Initializers + + /// Creates an image data provider by the given raw `data` value and a `cacheKey` be used in Kingfisher cache. + /// + /// - Parameters: + /// - data: The raw data reprensents an image. + /// - cacheKey: The key is used for caching the image data. You need a different key for any different image. + public init(data: Data, cacheKey: String) { + self.data = data + self.cacheKey = cacheKey + } + + // MARK: Protocol Conforming + + /// The key used in cache. + public var cacheKey: String + + public func data(handler: @escaping (Result) -> Void) { + handler(.success(data)) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift new file mode 100644 index 0000000..1496f3d --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Resource.swift @@ -0,0 +1,115 @@ +// +// Resource.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents an image resource at a certain url and a given cache key. +/// Kingfisher will use a `Resource` to download a resource from network and cache it with the cache key when +/// using `Source.network` as its image setting source. +public protocol Resource { + + /// The key used in cache. + var cacheKey: String { get } + + /// The target image URL. + var downloadURL: URL { get } +} + +extension Resource { + + /// Converts `self` to a valid `Source` based on its `downloadURL` scheme. A `.provider` with + /// `LocalFileImageDataProvider` associated will be returned if the URL points to a local file. Otherwise, + /// `.network` is returned. + public func convertToSource(overrideCacheKey: String? = nil) -> Source { + let key = overrideCacheKey ?? cacheKey + return downloadURL.isFileURL ? + .provider(LocalFileImageDataProvider(fileURL: downloadURL, cacheKey: key)) : + .network(ImageResource(downloadURL: downloadURL, cacheKey: key)) + } +} + +/// ImageResource is a simple combination of `downloadURL` and `cacheKey`. +/// When passed to image view set methods, Kingfisher will try to download the target +/// image from the `downloadURL`, and then store it with the `cacheKey` as the key in cache. +public struct ImageResource: Resource { + + // MARK: - Initializers + + /// Creates an image resource. + /// + /// - Parameters: + /// - downloadURL: The target image URL from where the image can be downloaded. + /// - cacheKey: The cache key. If `nil`, Kingfisher will use the `absoluteString` of `downloadURL` as the key. + /// Default is `nil`. + public init(downloadURL: URL, cacheKey: String? = nil) { + self.downloadURL = downloadURL + self.cacheKey = cacheKey ?? downloadURL.cacheKey + } + + // MARK: Protocol Conforming + + /// The key used in cache. + public let cacheKey: String + + /// The target image URL. + public let downloadURL: URL +} + +/// URL conforms to `Resource` in Kingfisher. +/// The `absoluteString` of this URL is used as `cacheKey`. And the URL itself will be used as `downloadURL`. +/// If you need customize the url and/or cache key, use `ImageResource` instead. +extension URL: Resource { + public var cacheKey: String { return isFileURL ? localFileCacheKey : absoluteString } + public var downloadURL: URL { return self } +} + +extension URL { + static let localFileCacheKeyPrefix = "kingfisher.local.cacheKey" + + // The special version of cache key for a local file on disk. Every time the app is reinstalled on the disk, + // the system assigns a new container folder to hold the .app (and the extensions, .appex) folder. So the URL for + // the same image in bundle might be different. + // + // This getter only uses the fixed part in the URL (until the bundle name folder) to provide a stable cache key + // for the image under the same path inside the bundle. + // + // See #1825 (https://github.com/onevcat/Kingfisher/issues/1825) + var localFileCacheKey: String { + var validComponents: [String] = [] + for part in pathComponents.reversed() { + validComponents.append(part) + if part.hasSuffix(".app") || part.hasSuffix(".appex") { + break + } + } + let fixedPath = "\(Self.localFileCacheKeyPrefix)/\(validComponents.reversed().joined(separator: "/"))" + if let q = query { + return "\(fixedPath)?\(q)" + } else { + return fixedPath + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Source.swift b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Source.swift new file mode 100644 index 0000000..0fcf28b --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/ImageSource/Source.swift @@ -0,0 +1,123 @@ +// +// Source.swift +// Kingfisher +// +// Created by onevcat on 2018/11/17. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents an image setting source for Kingfisher methods. +/// +/// A `Source` value indicates the way how the target image can be retrieved and cached. +/// +/// - network: The target image should be got from network remotely. The associated `Resource` +/// value defines detail information like image URL and cache key. +/// - provider: The target image should be provided in a data format. Normally, it can be an image +/// from local storage or in any other encoding format (like Base64). +public enum Source { + + /// Represents the source task identifier when setting an image to a view with extension methods. + public enum Identifier { + + /// The underlying value type of source identifier. + public typealias Value = UInt + static var current: Value = 0 + static func next() -> Value { + current += 1 + return current + } + } + + // MARK: Member Cases + + /// The target image should be got from network remotely. The associated `Resource` + /// value defines detail information like image URL and cache key. + case network(Resource) + + /// The target image should be provided in a data format. Normally, it can be an image + /// from local storage or in any other encoding format (like Base64). + case provider(ImageDataProvider) + + // MARK: Getting Properties + + /// The cache key defined for this source value. + public var cacheKey: String { + switch self { + case .network(let resource): return resource.cacheKey + case .provider(let provider): return provider.cacheKey + } + } + + /// The URL defined for this source value. + /// + /// For a `.network` source, it is the `downloadURL` of associated `Resource` instance. + /// For a `.provider` value, it is always `nil`. + public var url: URL? { + switch self { + case .network(let resource): return resource.downloadURL + case .provider(let provider): return provider.contentURL + } + } +} + +extension Source: Hashable { + public static func == (lhs: Source, rhs: Source) -> Bool { + switch (lhs, rhs) { + case (.network(let r1), .network(let r2)): + return r1.cacheKey == r2.cacheKey && r1.downloadURL == r2.downloadURL + case (.provider(let p1), .provider(let p2)): + return p1.cacheKey == p2.cacheKey && p1.contentURL == p2.contentURL + case (.provider(_), .network(_)): + return false + case (.network(_), .provider(_)): + return false + } + } + + public func hash(into hasher: inout Hasher) { + switch self { + case .network(let r): + hasher.combine(r.cacheKey) + hasher.combine(r.downloadURL) + case .provider(let p): + hasher.combine(p.cacheKey) + hasher.combine(p.contentURL) + } + } +} + +extension Source { + var asResource: Resource? { + guard case .network(let resource) = self else { + return nil + } + return resource + } + + var asProvider: ImageDataProvider? { + guard case .provider(let provider) = self else { + return nil + } + return provider + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/KF.swift b/Instagram/Pods/Kingfisher/Sources/General/KF.swift new file mode 100644 index 0000000..3b033b9 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/KF.swift @@ -0,0 +1,442 @@ +// +// KF.swift +// Kingfisher +// +// Created by onevcat on 2020/09/21. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(UIKit) +import UIKit +#endif + +#if canImport(CarPlay) && !targetEnvironment(macCatalyst) +import CarPlay +#endif + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +#endif + +#if canImport(WatchKit) +import WatchKit +#endif + +#if canImport(TVUIKit) +import TVUIKit +#endif + +/// A helper type to create image setting tasks in a builder pattern. +/// Use methods in this type to create a `KF.Builder` instance and configure image tasks there. +public enum KF { + + /// Creates a builder for a given `Source`. + /// - Parameter source: The `Source` object defines data information from network or a data provider. + /// - Returns: A `KF.Builder` for future configuration. After configuring the builder, call `set(to:)` + /// to start the image loading. + public static func source(_ source: Source?) -> KF.Builder { + Builder(source: source) + } + + /// Creates a builder for a given `Resource`. + /// - Parameter resource: The `Resource` object defines data information like key or URL. + /// - Returns: A `KF.Builder` for future configuration. After configuring the builder, call `set(to:)` + /// to start the image loading. + public static func resource(_ resource: Resource?) -> KF.Builder { + source(resource?.convertToSource()) + } + + /// Creates a builder for a given `URL` and an optional cache key. + /// - Parameters: + /// - url: The URL where the image should be downloaded. + /// - cacheKey: The key used to store the downloaded image in cache. + /// If `nil`, the `absoluteString` of `url` is used as the cache key. + /// - Returns: A `KF.Builder` for future configuration. After configuring the builder, call `set(to:)` + /// to start the image loading. + public static func url(_ url: URL?, cacheKey: String? = nil) -> KF.Builder { + source(url?.convertToSource(overrideCacheKey: cacheKey)) + } + + /// Creates a builder for a given `ImageDataProvider`. + /// - Parameter provider: The `ImageDataProvider` object contains information about the data. + /// - Returns: A `KF.Builder` for future configuration. After configuring the builder, call `set(to:)` + /// to start the image loading. + public static func dataProvider(_ provider: ImageDataProvider?) -> KF.Builder { + source(provider?.convertToSource()) + } + + /// Creates a builder for some given raw data and a cache key. + /// - Parameters: + /// - data: The data object from which the image should be created. + /// - cacheKey: The key used to store the downloaded image in cache. + /// - Returns: A `KF.Builder` for future configuration. After configuring the builder, call `set(to:)` + /// to start the image loading. + public static func data(_ data: Data?, cacheKey: String) -> KF.Builder { + if let data = data { + return dataProvider(RawImageDataProvider(data: data, cacheKey: cacheKey)) + } else { + return dataProvider(nil) + } + } +} + + +extension KF { + + /// A builder class to configure an image retrieving task and set it to a holder view or component. + public class Builder { + private let source: Source? + + #if os(watchOS) + private var placeholder: KFCrossPlatformImage? + #else + private var placeholder: Placeholder? + #endif + + public var options = KingfisherParsedOptionsInfo(KingfisherManager.shared.defaultOptions) + + public let onFailureDelegate = Delegate() + public let onSuccessDelegate = Delegate() + public let onProgressDelegate = Delegate<(Int64, Int64), Void>() + + init(source: Source?) { + self.source = source + } + + private var resultHandler: ((Result) -> Void)? { + { + switch $0 { + case .success(let result): + self.onSuccessDelegate(result) + case .failure(let error): + self.onFailureDelegate(error) + } + } + } + + private var progressBlock: DownloadProgressBlock { + { self.onProgressDelegate(($0, $1)) } + } + } +} + +extension KF.Builder { + #if !os(watchOS) + + /// Builds the image task request and sets it to an image view. + /// - Parameter imageView: The image view which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func set(to imageView: KFCrossPlatformImageView) -> DownloadTask? { + imageView.kf.setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + + /// Builds the image task request and sets it to an `NSTextAttachment` object. + /// - Parameters: + /// - attachment: The text attachment object which loads the task and should be set with the image. + /// - attributedView: The owner of the attributed string which this `NSTextAttachment` is added. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func set(to attachment: NSTextAttachment, attributedView: @autoclosure @escaping () -> KFCrossPlatformView) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return attachment.kf.setImage( + with: source, + attributedView: attributedView, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + + #if canImport(UIKit) + + /// Builds the image task request and sets it to a button. + /// - Parameters: + /// - button: The button which loads the task and should be set with the image. + /// - state: The button state to which the image should be set. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func set(to button: UIButton, for state: UIControl.State) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return button.kf.setImage( + with: source, + for: state, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + + /// Builds the image task request and sets it to the background image for a button. + /// - Parameters: + /// - button: The button which loads the task and should be set with the image. + /// - state: The button state to which the image should be set. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func setBackground(to button: UIButton, for state: UIControl.State) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return button.kf.setBackgroundImage( + with: source, + for: state, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + #endif // end of canImport(UIKit) + + #if canImport(CarPlay) && !targetEnvironment(macCatalyst) + + /// Builds the image task request and sets it to the image for a list item. + /// - Parameters: + /// - listItem: The list item which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @available(iOS 14.0, *) + @discardableResult + public func set(to listItem: CPListItem) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return listItem.kf.setImage( + with: source, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + + } + + #endif + + #if canImport(AppKit) && !targetEnvironment(macCatalyst) + /// Builds the image task request and sets it to a button. + /// - Parameter button: The button which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func set(to button: NSButton) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return button.kf.setImage( + with: source, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + + /// Builds the image task request and sets it to the alternative image for a button. + /// - Parameter button: The button which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func setAlternative(to button: NSButton) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return button.kf.setAlternateImage( + with: source, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + #endif // end of canImport(AppKit) + #endif // end of !os(watchOS) + + #if canImport(WatchKit) + /// Builds the image task request and sets it to a `WKInterfaceImage` object. + /// - Parameter interfaceImage: The watch interface image which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @discardableResult + public func set(to interfaceImage: WKInterfaceImage) -> DownloadTask? { + return interfaceImage.kf.setImage( + with: source, + placeholder: placeholder, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + #endif // end of canImport(WatchKit) + + #if canImport(TVUIKit) + /// Builds the image task request and sets it to a TV monogram view. + /// - Parameter monogramView: The monogram view which loads the task and should be set with the image. + /// - Returns: A task represents the image downloading, if initialized. + /// This value is `nil` if the image is being loaded from cache. + @available(tvOS 12.0, *) + @discardableResult + public func set(to monogramView: TVMonogramView) -> DownloadTask? { + let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil + return monogramView.kf.setImage( + with: source, + placeholder: placeholderImage, + parsedOptions: options, + progressBlock: progressBlock, + completionHandler: resultHandler + ) + } + #endif // end of canImport(TVUIKit) +} + +#if !os(watchOS) +extension KF.Builder { + #if os(iOS) || os(tvOS) + + /// Sets a placeholder which is used while retrieving the image. + /// - Parameter placeholder: A placeholder to show while retrieving the image from its source. + /// - Returns: A `KF.Builder` with changes applied. + public func placeholder(_ placeholder: Placeholder?) -> Self { + self.placeholder = placeholder + return self + } + #endif + + /// Sets a placeholder image which is used while retrieving the image. + /// - Parameter placeholder: An image to show while retrieving the image from its source. + /// - Returns: A `KF.Builder` with changes applied. + public func placeholder(_ image: KFCrossPlatformImage?) -> Self { + self.placeholder = image + return self + } +} +#endif + +extension KF.Builder { + + #if os(iOS) || os(tvOS) + /// Sets the transition for the image task. + /// - Parameter transition: The desired transition effect when setting the image to image view. + /// - Returns: A `KF.Builder` with changes applied. + /// + /// Kingfisher will use the `transition` to animate the image in if it is downloaded from web. + /// The transition will not happen when the + /// image is retrieved from either memory or disk cache by default. If you need to do the transition even when + /// the image being retrieved from cache, also call `forceRefresh()` on the returned `KF.Builder`. + public func transition(_ transition: ImageTransition) -> Self { + options.transition = transition + return self + } + + /// Sets a fade transition for the image task. + /// - Parameter duration: The duration of the fade transition. + /// - Returns: A `KF.Builder` with changes applied. + /// + /// Kingfisher will use the fade transition to animate the image in if it is downloaded from web. + /// The transition will not happen when the + /// image is retrieved from either memory or disk cache by default. If you need to do the transition even when + /// the image being retrieved from cache, also call `forceRefresh()` on the returned `KF.Builder`. + public func fade(duration: TimeInterval) -> Self { + options.transition = .fade(duration) + return self + } + #endif + + /// Sets whether keeping the existing image of image view while setting another image to it. + /// - Parameter enabled: Whether the existing image should be kept. + /// - Returns: A `KF.Builder` with changes applied. + /// + /// By setting this option, the placeholder image parameter of image view extension method + /// will be ignored and the current image will be kept while loading or downloading the new image. + /// + public func keepCurrentImageWhileLoading(_ enabled: Bool = true) -> Self { + options.keepCurrentImageWhileLoading = enabled + return self + } + + /// Sets whether only the first frame from an animated image file should be loaded as a single image. + /// - Parameter enabled: Whether the only the first frame should be loaded. + /// - Returns: A `KF.Builder` with changes applied. + /// + /// Loading an animated images may take too much memory. It will be useful when you want to display a + /// static preview of the first frame from an animated image. + /// + /// This option will be ignored if the target image is not animated image data. + /// + public func onlyLoadFirstFrame(_ enabled: Bool = true) -> Self { + options.onlyLoadFirstFrame = enabled + return self + } + + /// Enables progressive image loading with a specified `ImageProgressive` setting to process the + /// progressive JPEG data and display it in a progressive way. + /// - Parameter progressive: The progressive settings which is used while loading. + /// - Returns: A `KF.Builder` with changes applied. + public func progressiveJPEG(_ progressive: ImageProgressive? = .default) -> Self { + options.progressiveJPEG = progressive + return self + } +} + +// MARK: - Deprecated +extension KF.Builder { + /// Starts the loading process of `self` immediately. + /// + /// By default, a `KFImage` will not load its source until the `onAppear` is called. This is a lazily loading + /// behavior and provides better performance. However, when you refresh the view, the lazy loading also causes a + /// flickering since the loading does not happen immediately. Call this method if you want to start the load at once + /// could help avoiding the flickering, with some performance trade-off. + /// + /// - Deprecated: This is not necessary anymore since `@StateObject` is used for holding the image data. + /// It does nothing now and please just remove it. + /// + /// - Returns: The `Self` value with changes applied. + @available(*, deprecated, message: "This is not necessary anymore since `@StateObject` is used. It does nothing now and please just remove it.") + public func loadImmediately(_ start: Bool = true) -> Self { + return self + } +} + +// MARK: - Redirect Handler +extension KF { + + /// Represents the detail information when a task redirect happens. It is wrapping necessary information for a + /// `ImageDownloadRedirectHandler`. See that protocol for more information. + public struct RedirectPayload { + + /// The related session data task when the redirect happens. It is + /// the current `SessionDataTask` which triggers this redirect. + public let task: SessionDataTask + + /// The response received during redirection. + public let response: HTTPURLResponse + + /// The request for redirection which can be modified. + public let newRequest: URLRequest + + /// A closure for being called with modified request. + public let completionHandler: (URLRequest?) -> Void + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/KFOptionsSetter.swift b/Instagram/Pods/Kingfisher/Sources/General/KFOptionsSetter.swift new file mode 100644 index 0000000..c773593 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/KFOptionsSetter.swift @@ -0,0 +1,707 @@ +// +// KFOptionsSetter.swift +// Kingfisher +// +// Created by onevcat on 2020/12/22. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CoreGraphics + +public protocol KFOptionSetter { + var options: KingfisherParsedOptionsInfo { get nonmutating set } + + var onFailureDelegate: Delegate { get } + var onSuccessDelegate: Delegate { get } + var onProgressDelegate: Delegate<(Int64, Int64), Void> { get } + + var delegateObserver: AnyObject { get } +} + +extension KF.Builder: KFOptionSetter { + public var delegateObserver: AnyObject { self } +} + +// MARK: - Life cycles +extension KFOptionSetter { + /// Sets the progress block to current builder. + /// - Parameter block: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. If `block` is `nil`, the callback + /// will be reset. + /// - Returns: A `Self` value with changes applied. + public func onProgress(_ block: DownloadProgressBlock?) -> Self { + onProgressDelegate.delegate(on: delegateObserver) { (observer, result) in + block?(result.0, result.1) + } + return self + } + + /// Sets the the done block to current builder. + /// - Parameter block: Called when the image task successfully completes and the the image set is done. If `block` + /// is `nil`, the callback will be reset. + /// - Returns: A `KF.Builder` with changes applied. + public func onSuccess(_ block: ((RetrieveImageResult) -> Void)?) -> Self { + onSuccessDelegate.delegate(on: delegateObserver) { (observer, result) in + block?(result) + } + return self + } + + /// Sets the catch block to current builder. + /// - Parameter block: Called when an error happens during the image task. If `block` + /// is `nil`, the callback will be reset. + /// - Returns: A `KF.Builder` with changes applied. + public func onFailure(_ block: ((KingfisherError) -> Void)?) -> Self { + onFailureDelegate.delegate(on: delegateObserver) { (observer, error) in + block?(error) + } + return self + } +} + +// MARK: - Basic options settings. +extension KFOptionSetter { + /// Sets the target image cache for this task. + /// - Parameter cache: The target cache is about to be used for the task. + /// - Returns: A `Self` value with changes applied. + /// + /// Kingfisher will use the associated `ImageCache` object when handling related operations, + /// including trying to retrieve the cached images and store the downloaded image to it. + /// + public func targetCache(_ cache: ImageCache) -> Self { + options.targetCache = cache + return self + } + + /// Sets the target image cache to store the original downloaded image for this task. + /// - Parameter cache: The target cache is about to be used for storing the original downloaded image from the task. + /// - Returns: A `Self` value with changes applied. + /// + /// The `ImageCache` for storing and retrieving original images. If `originalCache` is + /// contained in the options, it will be preferred for storing and retrieving original images. + /// If there is no `.originalCache` in the options, `.targetCache` will be used to store original images. + /// + /// When using KingfisherManager to download and store an image, if `cacheOriginalImage` is + /// applied in the option, the original image will be stored to this `originalCache`. At the + /// same time, if a requested final image (with processor applied) cannot be found in `targetCache`, + /// Kingfisher will try to search the original image to check whether it is already there. If found, + /// it will be used and applied with the given processor. It is an optimization for not downloading + /// the same image for multiple times. + /// + public func originalCache(_ cache: ImageCache) -> Self { + options.originalCache = cache + return self + } + + /// Sets the downloader used to perform the image download task. + /// - Parameter downloader: The downloader which is about to be used for downloading. + /// - Returns: A `Self` value with changes applied. + /// + /// Kingfisher will use the set `ImageDownloader` object to download the requested images. + public func downloader(_ downloader: ImageDownloader) -> Self { + options.downloader = downloader + return self + } + + /// Sets the download priority for the image task. + /// - Parameter priority: The download priority of image download task. + /// - Returns: A `Self` value with changes applied. + /// + /// The `priority` value will be set as the priority of the image download task. The value for it should be + /// between 0.0~1.0. You can choose a value between `URLSessionTask.defaultPriority`, `URLSessionTask.lowPriority` + /// or `URLSessionTask.highPriority`. If this option not set, the default value (`URLSessionTask.defaultPriority`) + /// will be used. + public func downloadPriority(_ priority: Float) -> Self { + options.downloadPriority = priority + return self + } + + /// Sets whether Kingfisher should ignore the cache and try to start a download task for the image source. + /// - Parameter enabled: Enable the force refresh or not. + /// - Returns: A `Self` value with changes applied. + public func forceRefresh(_ enabled: Bool = true) -> Self { + options.forceRefresh = enabled + return self + } + + /// Sets whether Kingfisher should try to retrieve the image from memory cache first. If not found, it ignores the + /// disk cache and starts a download task for the image source. + /// - Parameter enabled: Enable the memory-only cache searching or not. + /// - Returns: A `Self` value with changes applied. + /// + /// This is useful when you want to display a changeable image behind the same url at the same app session, while + /// avoiding download it for multiple times. + public func fromMemoryCacheOrRefresh(_ enabled: Bool = true) -> Self { + options.fromMemoryCacheOrRefresh = enabled + return self + } + + /// Sets whether the image should only be cached in memory but not in disk. + /// - Parameter enabled: Whether the image should be only cache in memory or not. + /// - Returns: A `Self` value with changes applied. + public func cacheMemoryOnly(_ enabled: Bool = true) -> Self { + options.cacheMemoryOnly = enabled + return self + } + + /// Sets whether Kingfisher should wait for caching operation to be completed before calling the + /// `onSuccess` or `onFailure` block. + /// - Parameter enabled: Whether Kingfisher should wait for caching operation. + /// - Returns: A `Self` value with changes applied. + public func waitForCache(_ enabled: Bool = true) -> Self { + options.waitForCache = enabled + return self + } + + /// Sets whether Kingfisher should only try to retrieve the image from cache, but not from network. + /// - Parameter enabled: Whether Kingfisher should only try to retrieve the image from cache. + /// - Returns: A `Self` value with changes applied. + /// + /// If the image is not in cache, the image retrieving will fail with the + /// `KingfisherError.cacheError` with `.imageNotExisting` as its reason. + public func onlyFromCache(_ enabled: Bool = true) -> Self { + options.onlyFromCache = enabled + return self + } + + /// Sets whether the image should be decoded in a background thread before using. + /// - Parameter enabled: Whether the image should be decoded in a background thread before using. + /// - Returns: A `Self` value with changes applied. + /// + /// Setting to `true` will decode the downloaded image data and do a off-screen rendering to extract pixel + /// information in background. This can speed up display, but will cost more time and memory to prepare the image + /// for using. + public func backgroundDecode(_ enabled: Bool = true) -> Self { + options.backgroundDecode = enabled + return self + } + + /// Sets the callback queue which is used as the target queue of dispatch callbacks when retrieving images from + /// cache. If not set, Kingfisher will use main queue for callbacks. + /// - Parameter queue: The target queue which the cache retrieving callback will be invoked on. + /// - Returns: A `Self` value with changes applied. + /// + /// - Note: + /// This option does not affect the callbacks for UI related extension methods or `KFImage` result handlers. + /// You will always get the callbacks called from main queue. + public func callbackQueue(_ queue: CallbackQueue) -> Self { + options.callbackQueue = queue + return self + } + + /// Sets the scale factor value when converting retrieved data to an image. + /// - Parameter factor: The scale factor value. + /// - Returns: A `Self` value with changes applied. + /// + /// Specify the image scale, instead of your screen scale. You may need to set the correct scale when you dealing + /// with 2x or 3x retina images. Otherwise, Kingfisher will convert the data to image object at `scale` 1.0. + /// + public func scaleFactor(_ factor: CGFloat) -> Self { + options.scaleFactor = factor + return self + } + + /// Sets whether the original image should be cached even when the original image has been processed by any other + /// `ImageProcessor`s. + /// - Parameter enabled: Whether the original image should be cached. + /// - Returns: A `Self` value with changes applied. + /// + /// If set and an `ImageProcessor` is used, Kingfisher will try to cache both the final result and original + /// image. Kingfisher will have a chance to use the original image when another processor is applied to the same + /// resource, instead of downloading it again. You can use `.originalCache` to specify a cache or the original + /// images if necessary. + /// + /// The original image will be only cached to disk storage. + /// + public func cacheOriginalImage(_ enabled: Bool = true) -> Self { + options.cacheOriginalImage = enabled + return self + } + + /// Sets writing options for an original image on a first write + /// - Parameter writingOptions: Options to control the writing of data to a disk storage. + /// - Returns: A `Self` value with changes applied. + /// If set, options will be passed the store operation for a new files. + /// + /// This is useful if you want to implement file enctyption on first write - eg [.completeFileProtection] + /// + public func diskStoreWriteOptions(_ writingOptions: Data.WritingOptions) -> Self { + options.diskStoreWriteOptions = writingOptions + return self + } + + /// Sets whether the disk storage loading should happen in the same calling queue. + /// - Parameter enabled: Whether the disk storage loading should happen in the same calling queue. + /// - Returns: A `Self` value with changes applied. + /// + /// By default, disk storage file loading + /// happens in its own queue with an asynchronous dispatch behavior. Although it provides better non-blocking disk + /// loading performance, it also causes a flickering when you reload an image from disk, if the image view already + /// has an image set. + /// + /// Set this options will stop that flickering by keeping all loading in the same queue (typically the UI queue + /// if you are using Kingfisher's extension methods to set an image), with a tradeoff of loading performance. + /// + public func loadDiskFileSynchronously(_ enabled: Bool = true) -> Self { + options.loadDiskFileSynchronously = enabled + return self + } + + /// Sets a queue on which the image processing should happen. + /// - Parameter queue: The queue on which the image processing should happen. + /// - Returns: A `Self` value with changes applied. + /// + /// By default, Kingfisher uses a pre-defined serial + /// queue to process images. Use this option to change this behavior. For example, specify a `.mainCurrentOrAsync` + /// to let the image be processed in main queue to prevent a possible flickering (but with a possibility of + /// blocking the UI, especially if the processor needs a lot of time to run). + public func processingQueue(_ queue: CallbackQueue?) -> Self { + options.processingQueue = queue + return self + } + + /// Sets the alternative sources that will be used when loading of the original input `Source` fails. + /// - Parameter sources: The alternative sources will be used. + /// - Returns: A `Self` value with changes applied. + /// + /// Values of the `sources` array will be used to start a new image loading task if the previous task + /// fails due to an error. The image source loading process will stop as soon as a source is loaded successfully. + /// If all `sources` are used but the loading is still failing, an `imageSettingError` with + /// `alternativeSourcesExhausted` as its reason will be given out in the `catch` block. + /// + /// This is useful if you want to implement a fallback solution for setting image. + /// + /// User cancellation will not trigger the alternative source loading. + public func alternativeSources(_ sources: [Source]?) -> Self { + options.alternativeSources = sources + return self + } + + /// Sets a retry strategy that will be used when something gets wrong during the image retrieving. + /// - Parameter strategy: The provided strategy to define how the retrying should happen. + /// - Returns: A `Self` value with changes applied. + public func retry(_ strategy: RetryStrategy?) -> Self { + options.retryStrategy = strategy + return self + } + + /// Sets a retry strategy with a max retry count and retrying interval. + /// - Parameters: + /// - maxCount: The maximum count before the retry stops. + /// - interval: The time interval between each retry attempt. + /// - Returns: A `Self` value with changes applied. + /// + /// This defines the simplest retry strategy, which retry a failing request for several times, with some certain + /// interval between each time. For example, `.retry(maxCount: 3, interval: .second(3))` means attempt for at most + /// three times, and wait for 3 seconds if a previous retry attempt fails, then start a new attempt. + public func retry(maxCount: Int, interval: DelayRetryStrategy.Interval = .seconds(3)) -> Self { + let strategy = DelayRetryStrategy(maxRetryCount: maxCount, retryInterval: interval) + options.retryStrategy = strategy + return self + } + + /// Sets the `Source` should be loaded when user enables Low Data Mode and the original source fails with an + /// `NSURLErrorNetworkUnavailableReason.constrained` error. + /// - Parameter source: The `Source` will be loaded under low data mode. + /// - Returns: A `Self` value with changes applied. + /// + /// When this option is set, the + /// `allowsConstrainedNetworkAccess` property of the request for the original source will be set to `false` and the + /// `Source` in associated value will be used to retrieve the image for low data mode. Usually, you can provide a + /// low-resolution version of your image or a local image provider to display a placeholder. + /// + /// If not set or the `source` is `nil`, the device Low Data Mode will be ignored and the original source will + /// be loaded following the system default behavior, in a normal way. + public func lowDataModeSource(_ source: Source?) -> Self { + options.lowDataModeSource = source + return self + } + + /// Sets whether the image setting for an image view should happen with transition even when retrieved from cache. + /// - Parameter enabled: Enable the force transition or not. + /// - Returns: A `Self` with changes applied. + public func forceTransition(_ enabled: Bool = true) -> Self { + options.forceTransition = enabled + return self + } + + /// Sets the image that will be used if an image retrieving task fails. + /// - Parameter image: The image that will be used when something goes wrong. + /// - Returns: A `Self` with changes applied. + /// + /// If set and an image retrieving error occurred Kingfisher will set provided image (or empty) + /// in place of requested one. It's useful when you don't want to show placeholder + /// during loading time but wants to use some default image when requests will be failed. + /// + public func onFailureImage(_ image: KFCrossPlatformImage?) -> Self { + options.onFailureImage = .some(image) + return self + } +} + +// MARK: - Request Modifier +extension KFOptionSetter { + /// Sets an `ImageDownloadRequestModifier` to change the image download request before it being sent. + /// - Parameter modifier: The modifier will be used to change the request before it being sent. + /// - Returns: A `Self` value with changes applied. + /// + /// This is the last chance you can modify the image download request. You can modify the request for some + /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping. + /// + public func requestModifier(_ modifier: AsyncImageDownloadRequestModifier) -> Self { + options.requestModifier = modifier + return self + } + + /// Sets a block to change the image download request before it being sent. + /// - Parameter modifyBlock: The modifying block will be called to change the request before it being sent. + /// - Returns: A `Self` value with changes applied. + /// + /// This is the last chance you can modify the image download request. You can modify the request for some + /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping. + /// + public func requestModifier(_ modifyBlock: @escaping (inout URLRequest) -> Void) -> Self { + options.requestModifier = AnyModifier { r -> URLRequest? in + var request = r + modifyBlock(&request) + return request + } + return self + } +} + +// MARK: - Redirect Handler +extension KFOptionSetter { + /// The `ImageDownloadRedirectHandler` argument will be used to change the request before redirection. + /// This is the possibility you can modify the image download request during redirect. You can modify the request for + /// some customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url + /// mapping. + /// The original redirection request will be sent without any modification by default. + /// - Parameter handler: The handler will be used for redirection. + /// - Returns: A `Self` value with changes applied. + public func redirectHandler(_ handler: ImageDownloadRedirectHandler) -> Self { + options.redirectHandler = handler + return self + } + + /// The `block` will be used to change the request before redirection. + /// This is the possibility you can modify the image download request during redirect. You can modify the request for + /// some customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url + /// mapping. + /// The original redirection request will be sent without any modification by default. + /// - Parameter block: The block will be used for redirection. + /// - Returns: A `Self` value with changes applied. + public func redirectHandler(_ block: @escaping (KF.RedirectPayload) -> Void) -> Self { + let redirectHandler = AnyRedirectHandler { (task, response, request, handler) in + let payload = KF.RedirectPayload( + task: task, response: response, newRequest: request, completionHandler: handler + ) + block(payload) + } + options.redirectHandler = redirectHandler + return self + } +} + +// MARK: - Processor +extension KFOptionSetter { + + /// Sets an image processor for the image task. It replaces the current image processor settings. + /// + /// - Parameter processor: The processor you want to use to process the image after it is downloaded. + /// - Returns: A `Self` value with changes applied. + /// + /// - Note: + /// To append a processor to current ones instead of replacing them all, use `appendProcessor(_:)`. + public func setProcessor(_ processor: ImageProcessor) -> Self { + options.processor = processor + return self + } + + /// Sets an array of image processors for the image task. It replaces the current image processor settings. + /// - Parameter processors: An array of processors. The processors inside this array will be concatenated one by one + /// to form a processor pipeline. + /// - Returns: A `Self` value with changes applied. + /// + /// - Note: + /// To append processors to current ones instead of replacing them all, concatenate them by `|>`, then use + /// `appendProcessor(_:)`. + public func setProcessors(_ processors: [ImageProcessor]) -> Self { + switch processors.count { + case 0: + options.processor = DefaultImageProcessor.default + case 1...: + options.processor = processors.dropFirst().reduce(processors[0]) { $0 |> $1 } + default: + assertionFailure("Never happen") + } + return self + } + + /// Appends a processor to the current set processors. + /// - Parameter processor: The processor which will be appended to current processor settings. + /// - Returns: A `Self` value with changes applied. + public func appendProcessor(_ processor: ImageProcessor) -> Self { + options.processor = options.processor |> processor + return self + } + + /// Appends a `RoundCornerImageProcessor` to current processors. + /// - Parameters: + /// - radius: The radius will be applied in processing. Specify a certain point value with `.point`, or a fraction + /// of the target image with `.widthFraction`. or `.heightFraction`. For example, given a square image + /// with width and height equals, `.widthFraction(0.5)` means use half of the length of size and makes + /// the final image a round one. + /// - targetSize: Target size of output image should be. If `nil`, the image will keep its original size after processing. + /// - corners: The target corners which will be applied rounding. + /// - backgroundColor: Background color of the output image. If `nil`, it will use a transparent background. + /// - Returns: A `Self` value with changes applied. + public func roundCorner( + radius: Radius, + targetSize: CGSize? = nil, + roundingCorners corners: RectCorner = .all, + backgroundColor: KFCrossPlatformColor? = nil + ) -> Self + { + let processor = RoundCornerImageProcessor( + radius: radius, + targetSize: targetSize, + roundingCorners: corners, + backgroundColor: backgroundColor + ) + return appendProcessor(processor) + } + + /// Appends a `BlurImageProcessor` to current processors. + /// - Parameter radius: Blur radius for the simulated Gaussian blur. + /// - Returns: A `Self` value with changes applied. + public func blur(radius: CGFloat) -> Self { + appendProcessor( + BlurImageProcessor(blurRadius: radius) + ) + } + + /// Appends a `OverlayImageProcessor` to current processors. + /// - Parameters: + /// - color: Overlay color will be used to overlay the input image. + /// - fraction: Fraction will be used when overlay the color to image. + /// - Returns: A `Self` value with changes applied. + public func overlay(color: KFCrossPlatformColor, fraction: CGFloat = 0.5) -> Self { + appendProcessor( + OverlayImageProcessor(overlay: color, fraction: fraction) + ) + } + + /// Appends a `TintImageProcessor` to current processors. + /// - Parameter color: Tint color will be used to tint the input image. + /// - Returns: A `Self` value with changes applied. + public func tint(color: KFCrossPlatformColor) -> Self { + appendProcessor( + TintImageProcessor(tint: color) + ) + } + + /// Appends a `BlackWhiteProcessor` to current processors. + /// - Returns: A `Self` value with changes applied. + public func blackWhite() -> Self { + appendProcessor( + BlackWhiteProcessor() + ) + } + + /// Appends a `CroppingImageProcessor` to current processors. + /// - Parameters: + /// - size: Target size of output image should be. + /// - anchor: Anchor point from which the output size should be calculate. The anchor point is consisted by two + /// values between 0.0 and 1.0. It indicates a related point in current image. + /// See `CroppingImageProcessor.init(size:anchor:)` for more. + /// - Returns: A `Self` value with changes applied. + public func cropping(size: CGSize, anchor: CGPoint = .init(x: 0.5, y: 0.5)) -> Self { + appendProcessor( + CroppingImageProcessor(size: size, anchor: anchor) + ) + } + + /// Appends a `DownsamplingImageProcessor` to current processors. + /// + /// Compared to `ResizingImageProcessor`, the `DownsamplingImageProcessor` does not render the original images and + /// then resize it. Instead, it downsamples the input data directly to a thumbnail image. So it is a more efficient + /// than `ResizingImageProcessor`. Prefer to use `DownsamplingImageProcessor` as possible + /// as you can than the `ResizingImageProcessor`. + /// + /// Only CG-based images are supported. Animated images (like GIF) is not supported. + /// + /// - Parameter size: Target size of output image should be. It should be smaller than the size of input image. + /// If it is larger, the result image will be the same size of input data without downsampling. + /// - Returns: A `Self` value with changes applied. + public func downsampling(size: CGSize) -> Self { + let processor = DownsamplingImageProcessor(size: size) + if options.processor == DefaultImageProcessor.default { + return setProcessor(processor) + } else { + return appendProcessor(processor) + } + } + + + /// Appends a `ResizingImageProcessor` to current processors. + /// + /// If you need to resize a data represented image to a smaller size, use `DownsamplingImageProcessor` + /// instead, which is more efficient and uses less memory. + /// + /// - Parameters: + /// - referenceSize: The reference size for resizing operation in point. + /// - mode: Target content mode of output image should be. Default is `.none`. + /// - Returns: A `Self` value with changes applied. + public func resizing(referenceSize: CGSize, mode: ContentMode = .none) -> Self { + appendProcessor( + ResizingImageProcessor(referenceSize: referenceSize, mode: mode) + ) + } +} + +// MARK: - Cache Serializer +extension KFOptionSetter { + + /// Uses a given `CacheSerializer` to convert some data to an image object for retrieving from disk cache or vice + /// versa for storing to disk cache. + /// - Parameter cacheSerializer: The `CacheSerializer` which will be used. + /// - Returns: A `Self` value with changes applied. + public func serialize(by cacheSerializer: CacheSerializer) -> Self { + options.cacheSerializer = cacheSerializer + return self + } + + /// Uses a given format to serializer the image data to disk. It converts the image object to the give data format. + /// - Parameters: + /// - format: The desired data encoding format when store the image on disk. + /// - jpegCompressionQuality: If the format is `.JPEG`, it specify the compression quality when converting the + /// image to a JPEG data. Otherwise, it is ignored. + /// - Returns: A `Self` value with changes applied. + public func serialize(as format: ImageFormat, jpegCompressionQuality: CGFloat? = nil) -> Self { + let cacheSerializer: FormatIndicatedCacheSerializer + switch format { + case .JPEG: + cacheSerializer = .jpeg(compressionQuality: jpegCompressionQuality ?? 1.0) + case .PNG: + cacheSerializer = .png + case .GIF: + cacheSerializer = .gif + case .unknown: + cacheSerializer = .png + } + options.cacheSerializer = cacheSerializer + return self + } +} + +// MARK: - Image Modifier +extension KFOptionSetter { + + /// Sets an `ImageModifier` to the image task. Use this to modify the fetched image object properties if needed. + /// + /// If the image was fetched directly from the downloader, the modifier will run directly after the + /// `ImageProcessor`. If the image is being fetched from a cache, the modifier will run after the `CacheSerializer`. + /// - Parameter modifier: The `ImageModifier` which will be used to modify the image object. + /// - Returns: A `Self` value with changes applied. + public func imageModifier(_ modifier: ImageModifier?) -> Self { + options.imageModifier = modifier + return self + } + + /// Sets a block to modify the image object. Use this to modify the fetched image object properties if needed. + /// + /// If the image was fetched directly from the downloader, the modifier block will run directly after the + /// `ImageProcessor`. If the image is being fetched from a cache, the modifier will run after the `CacheSerializer`. + /// + /// - Parameter block: The block which is used to modify the image object. + /// - Returns: A `Self` value with changes applied. + public func imageModifier(_ block: @escaping (inout KFCrossPlatformImage) throws -> Void) -> Self { + let modifier = AnyImageModifier { image -> KFCrossPlatformImage in + var image = image + try block(&image) + return image + } + options.imageModifier = modifier + return self + } +} + + +// MARK: - Cache Expiration +extension KFOptionSetter { + + /// Sets the expiration setting for memory cache of this image task. + /// + /// By default, the underlying `MemoryStorage.Backend` uses the + /// expiration in its config for all items. If set, the `MemoryStorage.Backend` will use this value to overwrite + /// the config setting for this caching item. + /// + /// - Parameter expiration: The expiration setting used in cache storage. + /// - Returns: A `Self` value with changes applied. + public func memoryCacheExpiration(_ expiration: StorageExpiration?) -> Self { + options.memoryCacheExpiration = expiration + return self + } + + /// Sets the expiration extending setting for memory cache. The item expiration time will be incremented by this + /// value after access. + /// + /// By default, the underlying `MemoryStorage.Backend` uses the initial cache expiration as extending + /// value: .cacheTime. + /// + /// To disable extending option at all, sets `.none` to it. + /// + /// - Parameter extending: The expiration extending setting used in cache storage. + /// - Returns: A `Self` value with changes applied. + public func memoryCacheAccessExtending(_ extending: ExpirationExtending) -> Self { + options.memoryCacheAccessExtendingExpiration = extending + return self + } + + /// Sets the expiration setting for disk cache of this image task. + /// + /// By default, the underlying `DiskStorage.Backend` uses the expiration in its config for all items. If set, + /// the `DiskStorage.Backend` will use this value to overwrite the config setting for this caching item. + /// + /// - Parameter expiration: The expiration setting used in cache storage. + /// - Returns: A `Self` value with changes applied. + public func diskCacheExpiration(_ expiration: StorageExpiration?) -> Self { + options.diskCacheExpiration = expiration + return self + } + + /// Sets the expiration extending setting for disk cache. The item expiration time will be incremented by this + /// value after access. + /// + /// By default, the underlying `DiskStorage.Backend` uses the initial cache expiration as extending + /// value: .cacheTime. + /// + /// To disable extending option at all, sets `.none` to it. + /// + /// - Parameter extending: The expiration extending setting used in cache storage. + /// - Returns: A `Self` value with changes applied. + public func diskCacheAccessExtending(_ extending: ExpirationExtending) -> Self { + options.diskCacheAccessExtendingExpiration = extending + return self + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/Kingfisher.swift b/Instagram/Pods/Kingfisher/Sources/General/Kingfisher.swift new file mode 100644 index 0000000..f875e2a --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/Kingfisher.swift @@ -0,0 +1,106 @@ +// +// Kingfisher.swift +// Kingfisher +// +// Created by Wei Wang on 16/9/14. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import ImageIO + +#if os(macOS) +import AppKit +public typealias KFCrossPlatformImage = NSImage +public typealias KFCrossPlatformView = NSView +public typealias KFCrossPlatformColor = NSColor +public typealias KFCrossPlatformImageView = NSImageView +public typealias KFCrossPlatformButton = NSButton +#else +import UIKit +public typealias KFCrossPlatformImage = UIImage +public typealias KFCrossPlatformColor = UIColor +#if !os(watchOS) +public typealias KFCrossPlatformImageView = UIImageView +public typealias KFCrossPlatformView = UIView +public typealias KFCrossPlatformButton = UIButton +#if canImport(TVUIKit) +import TVUIKit +#endif +#if canImport(CarPlay) && !targetEnvironment(macCatalyst) +import CarPlay +#endif +#else +import WatchKit +#endif +#endif + +/// Wrapper for Kingfisher compatible types. This type provides an extension point for +/// convenience methods in Kingfisher. +public struct KingfisherWrapper { + public let base: Base + public init(_ base: Base) { + self.base = base + } +} + +/// Represents an object type that is compatible with Kingfisher. You can use `kf` property to get a +/// value in the namespace of Kingfisher. +public protocol KingfisherCompatible: AnyObject { } + +/// Represents a value type that is compatible with Kingfisher. You can use `kf` property to get a +/// value in the namespace of Kingfisher. +public protocol KingfisherCompatibleValue {} + +extension KingfisherCompatible { + /// Gets a namespace holder for Kingfisher compatible types. + public var kf: KingfisherWrapper { + get { return KingfisherWrapper(self) } + set { } + } +} + +extension KingfisherCompatibleValue { + /// Gets a namespace holder for Kingfisher compatible types. + public var kf: KingfisherWrapper { + get { return KingfisherWrapper(self) } + set { } + } +} + +extension KFCrossPlatformImage: KingfisherCompatible { } +#if !os(watchOS) +extension KFCrossPlatformImageView: KingfisherCompatible { } +extension KFCrossPlatformButton: KingfisherCompatible { } +extension NSTextAttachment: KingfisherCompatible { } +#else +extension WKInterfaceImage: KingfisherCompatible { } +#endif + +#if os(tvOS) && canImport(TVUIKit) +@available(tvOS 12.0, *) +extension TVMonogramView: KingfisherCompatible { } +#endif + +#if canImport(CarPlay) && !targetEnvironment(macCatalyst) +@available(iOS 14.0, *) +extension CPListItem: KingfisherCompatible { } +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/General/KingfisherError.swift b/Instagram/Pods/Kingfisher/Sources/General/KingfisherError.swift new file mode 100644 index 0000000..83d20a1 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/KingfisherError.swift @@ -0,0 +1,461 @@ +// +// KingfisherError.swift +// Kingfisher +// +// Created by onevcat on 2018/09/26. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +extension Never {} + +/// Represents all the errors which can happen in Kingfisher framework. +/// Kingfisher related methods always throw a `KingfisherError` or invoke the callback with `KingfisherError` +/// as its error type. To handle errors from Kingfisher, you switch over the error to get a reason catalog, +/// then switch over the reason to know error detail. +public enum KingfisherError: Error { + + // MARK: Error Reason Types + + /// Represents the error reason during networking request phase. + /// + /// - emptyRequest: The request is empty. Code 1001. + /// - invalidURL: The URL of request is invalid. Code 1002. + /// - taskCancelled: The downloading task is cancelled by user. Code 1003. + public enum RequestErrorReason { + + /// The request is empty. Code 1001. + case emptyRequest + + /// The URL of request is invalid. Code 1002. + /// - request: The request is tend to be sent but its URL is invalid. + case invalidURL(request: URLRequest) + + /// The downloading task is cancelled by user. Code 1003. + /// - task: The session data task which is cancelled. + /// - token: The cancel token which is used for cancelling the task. + case taskCancelled(task: SessionDataTask, token: SessionDataTask.CancelToken) + } + + /// Represents the error reason during networking response phase. + /// + /// - invalidURLResponse: The response is not a valid URL response. Code 2001. + /// - invalidHTTPStatusCode: The response contains an invalid HTTP status code. Code 2002. + /// - URLSessionError: An error happens in the system URL session. Code 2003. + /// - dataModifyingFailed: Data modifying fails on returning a valid data. Code 2004. + /// - noURLResponse: The task is done but no URL response found. Code 2005. + public enum ResponseErrorReason { + + /// The response is not a valid URL response. Code 2001. + /// - response: The received invalid URL response. + /// The response is expected to be an HTTP response, but it is not. + case invalidURLResponse(response: URLResponse) + + /// The response contains an invalid HTTP status code. Code 2002. + /// - Note: + /// By default, status code 200..<400 is recognized as valid. You can override + /// this behavior by conforming to the `ImageDownloaderDelegate`. + /// - response: The received response. + case invalidHTTPStatusCode(response: HTTPURLResponse) + + /// An error happens in the system URL session. Code 2003. + /// - error: The underlying URLSession error object. + case URLSessionError(error: Error) + + /// Data modifying fails on returning a valid data. Code 2004. + /// - task: The failed task. + case dataModifyingFailed(task: SessionDataTask) + + /// The task is done but no URL response found. Code 2005. + /// - task: The failed task. + case noURLResponse(task: SessionDataTask) + } + + /// Represents the error reason during Kingfisher caching system. + /// + /// - fileEnumeratorCreationFailed: Cannot create a file enumerator for a certain disk URL. Code 3001. + /// - invalidFileEnumeratorContent: Cannot get correct file contents from a file enumerator. Code 3002. + /// - invalidURLResource: The file at target URL exists, but its URL resource is unavailable. Code 3003. + /// - cannotLoadDataFromDisk: The file at target URL exists, but the data cannot be loaded from it. Code 3004. + /// - cannotCreateDirectory: Cannot create a folder at a given path. Code 3005. + /// - imageNotExisting: The requested image does not exist in cache. Code 3006. + /// - cannotConvertToData: Cannot convert an object to data for storing. Code 3007. + /// - cannotSerializeImage: Cannot serialize an image to data for storing. Code 3008. + /// - cannotCreateCacheFile: Cannot create the cache file at a certain fileURL under a key. Code 3009. + /// - cannotSetCacheFileAttribute: Cannot set file attributes to a cached file. Code 3010. + public enum CacheErrorReason { + + /// Cannot create a file enumerator for a certain disk URL. Code 3001. + /// - url: The target disk URL from which the file enumerator should be created. + case fileEnumeratorCreationFailed(url: URL) + + /// Cannot get correct file contents from a file enumerator. Code 3002. + /// - url: The target disk URL from which the content of a file enumerator should be got. + case invalidFileEnumeratorContent(url: URL) + + /// The file at target URL exists, but its URL resource is unavailable. Code 3003. + /// - error: The underlying error thrown by file manager. + /// - key: The key used to getting the resource from cache. + /// - url: The disk URL where the target cached file exists. + case invalidURLResource(error: Error, key: String, url: URL) + + /// The file at target URL exists, but the data cannot be loaded from it. Code 3004. + /// - url: The disk URL where the target cached file exists. + /// - error: The underlying error which describes why this error happens. + case cannotLoadDataFromDisk(url: URL, error: Error) + + /// Cannot create a folder at a given path. Code 3005. + /// - path: The disk path where the directory creating operation fails. + /// - error: The underlying error which describes why this error happens. + case cannotCreateDirectory(path: String, error: Error) + + /// The requested image does not exist in cache. Code 3006. + /// - key: Key of the requested image in cache. + case imageNotExisting(key: String) + + /// Cannot convert an object to data for storing. Code 3007. + /// - object: The object which needs be convert to data. + case cannotConvertToData(object: Any, error: Error) + + /// Cannot serialize an image to data for storing. Code 3008. + /// - image: The input image needs to be serialized to cache. + /// - original: The original image data, if exists. + /// - serializer: The `CacheSerializer` used for the image serializing. + case cannotSerializeImage(image: KFCrossPlatformImage?, original: Data?, serializer: CacheSerializer) + + /// Cannot create the cache file at a certain fileURL under a key. Code 3009. + /// - fileURL: The url where the cache file should be created. + /// - key: The cache key used for the cache. When caching a file through `KingfisherManager` and Kingfisher's + /// extension method, it is the resolved cache key based on your input `Source` and the image processors. + /// - data: The data to be cached. + /// - error: The underlying error originally thrown by Foundation when writing the `data` to the disk file at + /// `fileURL`. + case cannotCreateCacheFile(fileURL: URL, key: String, data: Data, error: Error) + + /// Cannot set file attributes to a cached file. Code 3010. + /// - filePath: The path of target cache file. + /// - attributes: The file attribute to be set to the target file. + /// - error: The underlying error originally thrown by Foundation when setting the `attributes` to the disk + /// file at `filePath`. + case cannotSetCacheFileAttribute(filePath: String, attributes: [FileAttributeKey : Any], error: Error) + + /// The disk storage of cache is not ready. Code 3011. + /// + /// This is usually due to extremely lack of space on disk storage, and + /// Kingfisher failed even when creating the cache folder. The disk storage will be in unusable state. Normally, + /// ask user to free some spaces and restart the app to make the disk storage work again. + /// - cacheURL: The intended URL which should be the storage folder. + case diskStorageIsNotReady(cacheURL: URL) + } + + + /// Represents the error reason during image processing phase. + /// + /// - processingFailed: Image processing fails. There is no valid output image from the processor. Code 4001. + public enum ProcessorErrorReason { + /// Image processing fails. There is no valid output image from the processor. Code 4001. + /// - processor: The `ImageProcessor` used to process the image or its data in `item`. + /// - item: The image or its data content. + case processingFailed(processor: ImageProcessor, item: ImageProcessItem) + } + + /// Represents the error reason during image setting in a view related class. + /// + /// - emptySource: The input resource is empty or `nil`. Code 5001. + /// - notCurrentSourceTask: The source task is finished, but it is not the one expected now. Code 5002. + /// - dataProviderError: An error happens during getting data from an `ImageDataProvider`. Code 5003. + public enum ImageSettingErrorReason { + + /// The input resource is empty or `nil`. Code 5001. + case emptySource + + /// The resource task is finished, but it is not the one expected now. This usually happens when you set another + /// resource on the view without cancelling the current on-going one. The previous setting task will fail with + /// this `.notCurrentSourceTask` error when a result got, regardless of it being successful or not for that task. + /// The result of this original task is contained in the associated value. + /// Code 5002. + /// - result: The `RetrieveImageResult` if the source task is finished without problem. `nil` if an error + /// happens. + /// - error: The `Error` if an issue happens during image setting task. `nil` if the task finishes without + /// problem. + /// - source: The original source value of the task. + case notCurrentSourceTask(result: RetrieveImageResult?, error: Error?, source: Source) + + /// An error happens during getting data from an `ImageDataProvider`. Code 5003. + case dataProviderError(provider: ImageDataProvider, error: Error) + + /// No more alternative `Source` can be used in current loading process. It means that the + /// `.alternativeSources` are used and Kingfisher tried to recovery from the original error, but still + /// fails for all the given alternative sources. The associated value holds all the errors encountered during + /// the load process, including the original source loading error and all the alternative sources errors. + /// Code 5004. + case alternativeSourcesExhausted([PropagationError]) + } + + // MARK: Member Cases + + /// Represents the error reason during networking request phase. + case requestError(reason: RequestErrorReason) + /// Represents the error reason during networking response phase. + case responseError(reason: ResponseErrorReason) + /// Represents the error reason during Kingfisher caching system. + case cacheError(reason: CacheErrorReason) + /// Represents the error reason during image processing phase. + case processorError(reason: ProcessorErrorReason) + /// Represents the error reason during image setting in a view related class. + case imageSettingError(reason: ImageSettingErrorReason) + + // MARK: Helper Properties & Methods + + /// Helper property to check whether this error is a `RequestErrorReason.taskCancelled` or not. + public var isTaskCancelled: Bool { + if case .requestError(reason: .taskCancelled) = self { + return true + } + return false + } + + /// Helper method to check whether this error is a `ResponseErrorReason.invalidHTTPStatusCode` and the + /// associated value is a given status code. + /// + /// - Parameter code: The given status code. + /// - Returns: If `self` is a `ResponseErrorReason.invalidHTTPStatusCode` error + /// and its status code equals to `code`, `true` is returned. Otherwise, `false`. + public func isInvalidResponseStatusCode(_ code: Int) -> Bool { + if case .responseError(reason: .invalidHTTPStatusCode(let response)) = self { + return response.statusCode == code + } + return false + } + + public var isInvalidResponseStatusCode: Bool { + if case .responseError(reason: .invalidHTTPStatusCode) = self { + return true + } + return false + } + + /// Helper property to check whether this error is a `ImageSettingErrorReason.notCurrentSourceTask` or not. + /// When a new image setting task starts while the old one is still running, the new task identifier will be + /// set and the old one is overwritten. A `.notCurrentSourceTask` error will be raised when the old task finishes + /// to let you know the setting process finishes with a certain result, but the image view or button is not set. + public var isNotCurrentTask: Bool { + if case .imageSettingError(reason: .notCurrentSourceTask(_, _, _)) = self { + return true + } + return false + } + + var isLowDataModeConstrained: Bool { + if #available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *), + case .responseError(reason: .URLSessionError(let sessionError)) = self, + let urlError = sessionError as? URLError, + urlError.networkUnavailableReason == .constrained + { + return true + } + return false + } + +} + +// MARK: - LocalizedError Conforming +extension KingfisherError: LocalizedError { + + /// A localized message describing what error occurred. + public var errorDescription: String? { + switch self { + case .requestError(let reason): return reason.errorDescription + case .responseError(let reason): return reason.errorDescription + case .cacheError(let reason): return reason.errorDescription + case .processorError(let reason): return reason.errorDescription + case .imageSettingError(let reason): return reason.errorDescription + } + } +} + + +// MARK: - CustomNSError Conforming +extension KingfisherError: CustomNSError { + + /// The error domain of `KingfisherError`. All errors from Kingfisher is under this domain. + public static let domain = "com.onevcat.Kingfisher.Error" + + /// The error code within the given domain. + public var errorCode: Int { + switch self { + case .requestError(let reason): return reason.errorCode + case .responseError(let reason): return reason.errorCode + case .cacheError(let reason): return reason.errorCode + case .processorError(let reason): return reason.errorCode + case .imageSettingError(let reason): return reason.errorCode + } + } +} + +extension KingfisherError.RequestErrorReason { + var errorDescription: String? { + switch self { + case .emptyRequest: + return "The request is empty or `nil`." + case .invalidURL(let request): + return "The request contains an invalid or empty URL. Request: \(request)." + case .taskCancelled(let task, let token): + return "The session task was cancelled. Task: \(task), cancel token: \(token)." + } + } + + var errorCode: Int { + switch self { + case .emptyRequest: return 1001 + case .invalidURL: return 1002 + case .taskCancelled: return 1003 + } + } +} + +extension KingfisherError.ResponseErrorReason { + var errorDescription: String? { + switch self { + case .invalidURLResponse(let response): + return "The URL response is invalid: \(response)" + case .invalidHTTPStatusCode(let response): + return "The HTTP status code in response is invalid. Code: \(response.statusCode), response: \(response)." + case .URLSessionError(let error): + return "A URL session error happened. The underlying error: \(error)" + case .dataModifyingFailed(let task): + return "The data modifying delegate returned `nil` for the downloaded data. Task: \(task)." + case .noURLResponse(let task): + return "No URL response received. Task: \(task)," + } + } + + var errorCode: Int { + switch self { + case .invalidURLResponse: return 2001 + case .invalidHTTPStatusCode: return 2002 + case .URLSessionError: return 2003 + case .dataModifyingFailed: return 2004 + case .noURLResponse: return 2005 + } + } +} + +extension KingfisherError.CacheErrorReason { + var errorDescription: String? { + switch self { + case .fileEnumeratorCreationFailed(let url): + return "Cannot create file enumerator for URL: \(url)." + case .invalidFileEnumeratorContent(let url): + return "Cannot get contents from the file enumerator at URL: \(url)." + case .invalidURLResource(let error, let key, let url): + return "Cannot get URL resource values or data for the given URL: \(url). " + + "Cache key: \(key). Underlying error: \(error)" + case .cannotLoadDataFromDisk(let url, let error): + return "Cannot load data from disk at URL: \(url). Underlying error: \(error)" + case .cannotCreateDirectory(let path, let error): + return "Cannot create directory at given path: Path: \(path). Underlying error: \(error)" + case .imageNotExisting(let key): + return "The image is not in cache, but you requires it should only be " + + "from cache by enabling the `.onlyFromCache` option. Key: \(key)." + case .cannotConvertToData(let object, let error): + return "Cannot convert the input object to a `Data` object when storing it to disk cache. " + + "Object: \(object). Underlying error: \(error)" + case .cannotSerializeImage(let image, let originalData, let serializer): + return "Cannot serialize an image due to the cache serializer returning `nil`. " + + "Image: \(String(describing:image)), original data: \(String(describing: originalData)), " + + "serializer: \(serializer)." + case .cannotCreateCacheFile(let fileURL, let key, let data, let error): + return "Cannot create cache file at url: \(fileURL), key: \(key), data length: \(data.count). " + + "Underlying foundation error: \(error)." + case .cannotSetCacheFileAttribute(let filePath, let attributes, let error): + return "Cannot set file attribute for the cache file at path: \(filePath), attributes: \(attributes)." + + "Underlying foundation error: \(error)." + case .diskStorageIsNotReady(let cacheURL): + return "The disk storage is not ready to use yet at URL: '\(cacheURL)'. " + + "This is usually caused by extremely lack of disk space. Ask users to free up some space and restart the app." + } + } + + var errorCode: Int { + switch self { + case .fileEnumeratorCreationFailed: return 3001 + case .invalidFileEnumeratorContent: return 3002 + case .invalidURLResource: return 3003 + case .cannotLoadDataFromDisk: return 3004 + case .cannotCreateDirectory: return 3005 + case .imageNotExisting: return 3006 + case .cannotConvertToData: return 3007 + case .cannotSerializeImage: return 3008 + case .cannotCreateCacheFile: return 3009 + case .cannotSetCacheFileAttribute: return 3010 + case .diskStorageIsNotReady: return 3011 + } + } +} + +extension KingfisherError.ProcessorErrorReason { + var errorDescription: String? { + switch self { + case .processingFailed(let processor, let item): + return "Processing image failed. Processor: \(processor). Processing item: \(item)." + } + } + + var errorCode: Int { + switch self { + case .processingFailed: return 4001 + } + } +} + +extension KingfisherError.ImageSettingErrorReason { + var errorDescription: String? { + switch self { + case .emptySource: + return "The input resource is empty." + case .notCurrentSourceTask(let result, let error, let resource): + if let result = result { + return "Retrieving resource succeeded, but this source is " + + "not the one currently expected. Result: \(result). Resource: \(resource)." + } else if let error = error { + return "Retrieving resource failed, and this resource is " + + "not the one currently expected. Error: \(error). Resource: \(resource)." + } else { + return nil + } + case .dataProviderError(let provider, let error): + return "Image data provider fails to provide data. Provider: \(provider), error: \(error)" + case .alternativeSourcesExhausted(let errors): + return "Image setting from alternaive sources failed: \(errors)" + } + } + + var errorCode: Int { + switch self { + case .emptySource: return 5001 + case .notCurrentSourceTask: return 5002 + case .dataProviderError: return 5003 + case .alternativeSourcesExhausted: return 5004 + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/KingfisherManager.swift b/Instagram/Pods/Kingfisher/Sources/General/KingfisherManager.swift new file mode 100644 index 0000000..dd4c315 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/KingfisherManager.swift @@ -0,0 +1,739 @@ +// +// KingfisherManager.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + + +import Foundation + +/// The downloading progress block type. +/// The parameter value is the `receivedSize` of current response. +/// The second parameter is the total expected data length from response's "Content-Length" header. +/// If the expected length is not available, this block will not be called. +public typealias DownloadProgressBlock = ((_ receivedSize: Int64, _ totalSize: Int64) -> Void) + +/// Represents the result of a Kingfisher retrieving image task. +public struct RetrieveImageResult { + + /// Gets the image object of this result. + public let image: KFCrossPlatformImage + + /// Gets the cache source of the image. It indicates from which layer of cache this image is retrieved. + /// If the image is just downloaded from network, `.none` will be returned. + public let cacheType: CacheType + + /// The `Source` which this result is related to. This indicated where the `image` of `self` is referring. + public let source: Source + + /// The original `Source` from which the retrieve task begins. It can be different from the `source` property. + /// When an alternative source loading happened, the `source` will be the replacing loading target, while the + /// `originalSource` will be kept as the initial `source` which issued the image loading process. + public let originalSource: Source +} + +/// A struct that stores some related information of an `KingfisherError`. It provides some context information for +/// a pure error so you can identify the error easier. +public struct PropagationError { + + /// The `Source` to which current `error` is bound. + public let source: Source + + /// The actual error happens in framework. + public let error: KingfisherError +} + + +/// The downloading task updated block type. The parameter `newTask` is the updated new task of image setting process. +/// It is a `nil` if the image loading does not require an image downloading process. If an image downloading is issued, +/// this value will contain the actual `DownloadTask` for you to keep and cancel it later if you need. +public typealias DownloadTaskUpdatedBlock = ((_ newTask: DownloadTask?) -> Void) + +/// Main manager class of Kingfisher. It connects Kingfisher downloader and cache, +/// to provide a set of convenience methods to use Kingfisher for tasks. +/// You can use this class to retrieve an image via a specified URL from web or cache. +public class KingfisherManager { + + /// Represents a shared manager used across Kingfisher. + /// Use this instance for getting or storing images with Kingfisher. + public static let shared = KingfisherManager() + + // Mark: Public Properties + /// The `ImageCache` used by this manager. It is `ImageCache.default` by default. + /// If a cache is specified in `KingfisherManager.defaultOptions`, the value in `defaultOptions` will be + /// used instead. + public var cache: ImageCache + + /// The `ImageDownloader` used by this manager. It is `ImageDownloader.default` by default. + /// If a downloader is specified in `KingfisherManager.defaultOptions`, the value in `defaultOptions` will be + /// used instead. + public var downloader: ImageDownloader + + /// Default options used by the manager. This option will be used in + /// Kingfisher manager related methods, as well as all view extension methods. + /// You can also passing other options for each image task by sending an `options` parameter + /// to Kingfisher's APIs. The per image options will overwrite the default ones, + /// if the option exists in both. + public var defaultOptions = KingfisherOptionsInfo.empty + + // Use `defaultOptions` to overwrite the `downloader` and `cache`. + private var currentDefaultOptions: KingfisherOptionsInfo { + return [.downloader(downloader), .targetCache(cache)] + defaultOptions + } + + private let processingQueue: CallbackQueue + + private convenience init() { + self.init(downloader: .default, cache: .default) + } + + /// Creates an image setting manager with specified downloader and cache. + /// + /// - Parameters: + /// - downloader: The image downloader used to download images. + /// - cache: The image cache which stores memory and disk images. + public init(downloader: ImageDownloader, cache: ImageCache) { + self.downloader = downloader + self.cache = cache + + let processQueueName = "com.onevcat.Kingfisher.KingfisherManager.processQueue.\(UUID().uuidString)" + processingQueue = .dispatch(DispatchQueue(label: processQueueName)) + } + + // MARK: - Getting Images + + /// Gets an image from a given resource. + /// - Parameters: + /// - resource: The `Resource` object defines data information like key or URL. + /// - options: Options to use when creating the image. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. `progressBlock` is always called in + /// main queue. + /// - downloadTaskUpdated: Called when a new image downloading task is created for current image retrieving. This + /// usually happens when an alternative source is used to replace the original (failed) + /// task. You can update your reference of `DownloadTask` if you want to manually `cancel` + /// the new task. + /// - completionHandler: Called when the image retrieved and set finished. This completion handler will be invoked + /// from the `options.callbackQueue`. If not specified, the main queue will be used. + /// - Returns: A task represents the image downloading. If there is a download task starts for `.network` resource, + /// the started `DownloadTask` is returned. Otherwise, `nil` is returned. + /// + /// - Note: + /// This method will first check whether the requested `resource` is already in cache or not. If cached, + /// it returns `nil` and invoke the `completionHandler` after the cached image retrieved. Otherwise, it + /// will download the `resource`, store it in cache, then call `completionHandler`. + @discardableResult + public func retrieveImage( + with resource: Resource, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + downloadTaskUpdated: DownloadTaskUpdatedBlock? = nil, + completionHandler: ((Result) -> Void)?) -> DownloadTask? + { + return retrieveImage( + with: resource.convertToSource(), + options: options, + progressBlock: progressBlock, + downloadTaskUpdated: downloadTaskUpdated, + completionHandler: completionHandler + ) + } + + /// Gets an image from a given resource. + /// + /// - Parameters: + /// - source: The `Source` object defines data information from network or a data provider. + /// - options: Options to use when creating the image. + /// - progressBlock: Called when the image downloading progress gets updated. If the response does not contain an + /// `expectedContentLength`, this block will not be called. `progressBlock` is always called in + /// main queue. + /// - downloadTaskUpdated: Called when a new image downloading task is created for current image retrieving. This + /// usually happens when an alternative source is used to replace the original (failed) + /// task. You can update your reference of `DownloadTask` if you want to manually `cancel` + /// the new task. + /// - completionHandler: Called when the image retrieved and set finished. This completion handler will be invoked + /// from the `options.callbackQueue`. If not specified, the main queue will be used. + /// - Returns: A task represents the image downloading. If there is a download task starts for `.network` resource, + /// the started `DownloadTask` is returned. Otherwise, `nil` is returned. + /// + /// - Note: + /// This method will first check whether the requested `source` is already in cache or not. If cached, + /// it returns `nil` and invoke the `completionHandler` after the cached image retrieved. Otherwise, it + /// will try to load the `source`, store it in cache, then call `completionHandler`. + /// + public func retrieveImage( + with source: Source, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + downloadTaskUpdated: DownloadTaskUpdatedBlock? = nil, + completionHandler: ((Result) -> Void)?) -> DownloadTask? + { + let options = currentDefaultOptions + (options ?? .empty) + let info = KingfisherParsedOptionsInfo(options) + return retrieveImage( + with: source, + options: info, + progressBlock: progressBlock, + downloadTaskUpdated: downloadTaskUpdated, + completionHandler: completionHandler) + } + + func retrieveImage( + with source: Source, + options: KingfisherParsedOptionsInfo, + progressBlock: DownloadProgressBlock? = nil, + downloadTaskUpdated: DownloadTaskUpdatedBlock? = nil, + completionHandler: ((Result) -> Void)?) -> DownloadTask? + { + var info = options + if let block = progressBlock { + info.onDataReceived = (info.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + return retrieveImage( + with: source, + options: info, + downloadTaskUpdated: downloadTaskUpdated, + completionHandler: completionHandler) + } + + func retrieveImage( + with source: Source, + options: KingfisherParsedOptionsInfo, + downloadTaskUpdated: DownloadTaskUpdatedBlock? = nil, + completionHandler: ((Result) -> Void)?) -> DownloadTask? + { + let retrievingContext = RetrievingContext(options: options, originalSource: source) + var retryContext: RetryContext? + + func startNewRetrieveTask( + with source: Source, + downloadTaskUpdated: DownloadTaskUpdatedBlock? + ) { + let newTask = self.retrieveImage(with: source, context: retrievingContext) { result in + handler(currentSource: source, result: result) + } + downloadTaskUpdated?(newTask) + } + + func failCurrentSource(_ source: Source, with error: KingfisherError) { + // Skip alternative sources if the user cancelled it. + guard !error.isTaskCancelled else { + completionHandler?(.failure(error)) + return + } + // When low data mode constrained error, retry with the low data mode source instead of use alternative on fly. + guard !error.isLowDataModeConstrained else { + if let source = retrievingContext.options.lowDataModeSource { + retrievingContext.options.lowDataModeSource = nil + startNewRetrieveTask(with: source, downloadTaskUpdated: downloadTaskUpdated) + } else { + // This should not happen. + completionHandler?(.failure(error)) + } + return + } + if let nextSource = retrievingContext.popAlternativeSource() { + retrievingContext.appendError(error, to: source) + startNewRetrieveTask(with: nextSource, downloadTaskUpdated: downloadTaskUpdated) + } else { + // No other alternative source. Finish with error. + if retrievingContext.propagationErrors.isEmpty { + completionHandler?(.failure(error)) + } else { + retrievingContext.appendError(error, to: source) + let finalError = KingfisherError.imageSettingError( + reason: .alternativeSourcesExhausted(retrievingContext.propagationErrors) + ) + completionHandler?(.failure(finalError)) + } + } + } + + func handler(currentSource: Source, result: (Result)) -> Void { + switch result { + case .success: + completionHandler?(result) + case .failure(let error): + if let retryStrategy = options.retryStrategy { + let context = retryContext?.increaseRetryCount() ?? RetryContext(source: source, error: error) + retryContext = context + + retryStrategy.retry(context: context) { decision in + switch decision { + case .retry(let userInfo): + retryContext?.userInfo = userInfo + startNewRetrieveTask(with: source, downloadTaskUpdated: downloadTaskUpdated) + case .stop: + failCurrentSource(currentSource, with: error) + } + } + } else { + failCurrentSource(currentSource, with: error) + } + } + } + + return retrieveImage( + with: source, + context: retrievingContext) + { + result in + handler(currentSource: source, result: result) + } + + } + + private func retrieveImage( + with source: Source, + context: RetrievingContext, + completionHandler: ((Result) -> Void)?) -> DownloadTask? + { + let options = context.options + if options.forceRefresh { + return loadAndCacheImage( + source: source, + context: context, + completionHandler: completionHandler)?.value + + } else { + let loadedFromCache = retrieveImageFromCache( + source: source, + context: context, + completionHandler: completionHandler) + + if loadedFromCache { + return nil + } + + if options.onlyFromCache { + let error = KingfisherError.cacheError(reason: .imageNotExisting(key: source.cacheKey)) + completionHandler?(.failure(error)) + return nil + } + + return loadAndCacheImage( + source: source, + context: context, + completionHandler: completionHandler)?.value + } + } + + func provideImage( + provider: ImageDataProvider, + options: KingfisherParsedOptionsInfo, + completionHandler: ((Result) -> Void)?) + { + guard let completionHandler = completionHandler else { return } + provider.data { result in + switch result { + case .success(let data): + (options.processingQueue ?? self.processingQueue).execute { + let processor = options.processor + let processingItem = ImageProcessItem.data(data) + guard let image = processor.process(item: processingItem, options: options) else { + options.callbackQueue.execute { + let error = KingfisherError.processorError( + reason: .processingFailed(processor: processor, item: processingItem)) + completionHandler(.failure(error)) + } + return + } + + options.callbackQueue.execute { + let result = ImageLoadingResult(image: image, url: nil, originalData: data) + completionHandler(.success(result)) + } + } + case .failure(let error): + options.callbackQueue.execute { + let error = KingfisherError.imageSettingError( + reason: .dataProviderError(provider: provider, error: error)) + completionHandler(.failure(error)) + } + + } + } + } + + private func cacheImage( + source: Source, + options: KingfisherParsedOptionsInfo, + context: RetrievingContext, + result: Result, + completionHandler: ((Result) -> Void)? + ) + { + switch result { + case .success(let value): + let needToCacheOriginalImage = options.cacheOriginalImage && + options.processor != DefaultImageProcessor.default + let coordinator = CacheCallbackCoordinator( + shouldWaitForCache: options.waitForCache, shouldCacheOriginal: needToCacheOriginalImage) + let result = RetrieveImageResult( + image: options.imageModifier?.modify(value.image) ?? value.image, + cacheType: .none, + source: source, + originalSource: context.originalSource + ) + // Add image to cache. + let targetCache = options.targetCache ?? self.cache + targetCache.store( + value.image, + original: value.originalData, + forKey: source.cacheKey, + options: options, + toDisk: !options.cacheMemoryOnly) + { + _ in + coordinator.apply(.cachingImage) { + completionHandler?(.success(result)) + } + } + + // Add original image to cache if necessary. + + if needToCacheOriginalImage { + let originalCache = options.originalCache ?? targetCache + originalCache.storeToDisk( + value.originalData, + forKey: source.cacheKey, + processorIdentifier: DefaultImageProcessor.default.identifier, + expiration: options.diskCacheExpiration) + { + _ in + coordinator.apply(.cachingOriginalImage) { + completionHandler?(.success(result)) + } + } + } + + coordinator.apply(.cacheInitiated) { + completionHandler?(.success(result)) + } + + case .failure(let error): + completionHandler?(.failure(error)) + } + } + + @discardableResult + func loadAndCacheImage( + source: Source, + context: RetrievingContext, + completionHandler: ((Result) -> Void)?) -> DownloadTask.WrappedTask? + { + let options = context.options + func _cacheImage(_ result: Result) { + cacheImage( + source: source, + options: options, + context: context, + result: result, + completionHandler: completionHandler + ) + } + + switch source { + case .network(let resource): + let downloader = options.downloader ?? self.downloader + let task = downloader.downloadImage( + with: resource.downloadURL, options: options, completionHandler: _cacheImage + ) + + + // The code below is neat, but it fails the Swift 5.2 compiler with a runtime crash when + // `BUILD_LIBRARY_FOR_DISTRIBUTION` is turned on. I believe it is a bug in the compiler. + // Let's fallback to a traditional style before it can be fixed in Swift. + // + // https://github.com/onevcat/Kingfisher/issues/1436 + // + // return task.map(DownloadTask.WrappedTask.download) + + if let task = task { + return .download(task) + } else { + return nil + } + + case .provider(let provider): + provideImage(provider: provider, options: options, completionHandler: _cacheImage) + return .dataProviding + } + } + + /// Retrieves image from memory or disk cache. + /// + /// - Parameters: + /// - source: The target source from which to get image. + /// - key: The key to use when caching the image. + /// - url: Image request URL. This is not used when retrieving image from cache. It is just used for + /// `RetrieveImageResult` callback compatibility. + /// - options: Options on how to get the image from image cache. + /// - completionHandler: Called when the image retrieving finishes, either with succeeded + /// `RetrieveImageResult` or an error. + /// - Returns: `true` if the requested image or the original image before being processed is existing in cache. + /// Otherwise, this method returns `false`. + /// + /// - Note: + /// The image retrieving could happen in either memory cache or disk cache. The `.processor` option in + /// `options` will be considered when searching in the cache. If no processed image is found, Kingfisher + /// will try to check whether an original version of that image is existing or not. If there is already an + /// original, Kingfisher retrieves it from cache and processes it. Then, the processed image will be store + /// back to cache for later use. + func retrieveImageFromCache( + source: Source, + context: RetrievingContext, + completionHandler: ((Result) -> Void)?) -> Bool + { + let options = context.options + // 1. Check whether the image was already in target cache. If so, just get it. + let targetCache = options.targetCache ?? cache + let key = source.cacheKey + let targetImageCached = targetCache.imageCachedType( + forKey: key, processorIdentifier: options.processor.identifier) + + let validCache = targetImageCached.cached && + (options.fromMemoryCacheOrRefresh == false || targetImageCached == .memory) + if validCache { + targetCache.retrieveImage(forKey: key, options: options) { result in + guard let completionHandler = completionHandler else { return } + options.callbackQueue.execute { + result.match( + onSuccess: { cacheResult in + let value: Result + if var image = cacheResult.image { + if image.kf.imageFrameCount != nil && image.kf.imageFrameCount != 1, let data = image.kf.animatedImageData { + // Always recreate animated image representation since it is possible to be loaded in different options. + // https://github.com/onevcat/Kingfisher/issues/1923 + image = KingfisherWrapper.animatedImage(data: data, options: options.imageCreatingOptions) ?? .init() + } + if let modifier = options.imageModifier { + image = modifier.modify(image) + } + value = result.map { + RetrieveImageResult( + image: image, + cacheType: $0.cacheType, + source: source, + originalSource: context.originalSource + ) + } + } else { + value = .failure(KingfisherError.cacheError(reason: .imageNotExisting(key: key))) + } + completionHandler(value) + }, + onFailure: { _ in + completionHandler(.failure(KingfisherError.cacheError(reason: .imageNotExisting(key: key)))) + } + ) + } + } + return true + } + + // 2. Check whether the original image exists. If so, get it, process it, save to storage and return. + let originalCache = options.originalCache ?? targetCache + // No need to store the same file in the same cache again. + if originalCache === targetCache && options.processor == DefaultImageProcessor.default { + return false + } + + // Check whether the unprocessed image existing or not. + let originalImageCacheType = originalCache.imageCachedType( + forKey: key, processorIdentifier: DefaultImageProcessor.default.identifier) + let canAcceptDiskCache = !options.fromMemoryCacheOrRefresh + + let canUseOriginalImageCache = + (canAcceptDiskCache && originalImageCacheType.cached) || + (!canAcceptDiskCache && originalImageCacheType == .memory) + + if canUseOriginalImageCache { + // Now we are ready to get found the original image from cache. We need the unprocessed image, so remove + // any processor from options first. + var optionsWithoutProcessor = options + optionsWithoutProcessor.processor = DefaultImageProcessor.default + originalCache.retrieveImage(forKey: key, options: optionsWithoutProcessor) { result in + + result.match( + onSuccess: { cacheResult in + guard let image = cacheResult.image else { + assertionFailure("The image (under key: \(key) should be existing in the original cache.") + return + } + + let processor = options.processor + (options.processingQueue ?? self.processingQueue).execute { + let item = ImageProcessItem.image(image) + guard let processedImage = processor.process(item: item, options: options) else { + let error = KingfisherError.processorError( + reason: .processingFailed(processor: processor, item: item)) + options.callbackQueue.execute { completionHandler?(.failure(error)) } + return + } + + var cacheOptions = options + cacheOptions.callbackQueue = .untouch + + let coordinator = CacheCallbackCoordinator( + shouldWaitForCache: options.waitForCache, shouldCacheOriginal: false) + + let result = RetrieveImageResult( + image: options.imageModifier?.modify(processedImage) ?? processedImage, + cacheType: .none, + source: source, + originalSource: context.originalSource + ) + + targetCache.store( + processedImage, + forKey: key, + options: cacheOptions, + toDisk: !options.cacheMemoryOnly) + { + _ in + coordinator.apply(.cachingImage) { + options.callbackQueue.execute { completionHandler?(.success(result)) } + } + } + + coordinator.apply(.cacheInitiated) { + options.callbackQueue.execute { completionHandler?(.success(result)) } + } + } + }, + onFailure: { _ in + // This should not happen actually, since we already confirmed `originalImageCached` is `true`. + // Just in case... + options.callbackQueue.execute { + completionHandler?( + .failure(KingfisherError.cacheError(reason: .imageNotExisting(key: key))) + ) + } + } + ) + } + return true + } + + return false + } +} + +class RetrievingContext { + + var options: KingfisherParsedOptionsInfo + + let originalSource: Source + var propagationErrors: [PropagationError] = [] + + init(options: KingfisherParsedOptionsInfo, originalSource: Source) { + self.originalSource = originalSource + self.options = options + } + + func popAlternativeSource() -> Source? { + guard var alternativeSources = options.alternativeSources, !alternativeSources.isEmpty else { + return nil + } + let nextSource = alternativeSources.removeFirst() + options.alternativeSources = alternativeSources + return nextSource + } + + @discardableResult + func appendError(_ error: KingfisherError, to source: Source) -> [PropagationError] { + let item = PropagationError(source: source, error: error) + propagationErrors.append(item) + return propagationErrors + } +} + +class CacheCallbackCoordinator { + + enum State { + case idle + case imageCached + case originalImageCached + case done + } + + enum Action { + case cacheInitiated + case cachingImage + case cachingOriginalImage + } + + private let shouldWaitForCache: Bool + private let shouldCacheOriginal: Bool + private let stateQueue: DispatchQueue + private var threadSafeState: State = .idle + + private (set) var state: State { + set { stateQueue.sync { threadSafeState = newValue } } + get { stateQueue.sync { threadSafeState } } + } + + init(shouldWaitForCache: Bool, shouldCacheOriginal: Bool) { + self.shouldWaitForCache = shouldWaitForCache + self.shouldCacheOriginal = shouldCacheOriginal + let stateQueueName = "com.onevcat.Kingfisher.CacheCallbackCoordinator.stateQueue.\(UUID().uuidString)" + self.stateQueue = DispatchQueue(label: stateQueueName) + } + + func apply(_ action: Action, trigger: () -> Void) { + switch (state, action) { + case (.done, _): + break + + // From .idle + case (.idle, .cacheInitiated): + if !shouldWaitForCache { + state = .done + trigger() + } + case (.idle, .cachingImage): + if shouldCacheOriginal { + state = .imageCached + } else { + state = .done + trigger() + } + case (.idle, .cachingOriginalImage): + state = .originalImageCached + + // From .imageCached + case (.imageCached, .cachingOriginalImage): + state = .done + trigger() + + // From .originalImageCached + case (.originalImageCached, .cachingImage): + state = .done + trigger() + + default: + assertionFailure("This case should not happen in CacheCallbackCoordinator: \(state) - \(action)") + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift b/Instagram/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift new file mode 100644 index 0000000..5f2aea6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/General/KingfisherOptionsInfo.swift @@ -0,0 +1,400 @@ +// +// KingfisherOptionsInfo.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/23. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + + +/// KingfisherOptionsInfo is a typealias for [KingfisherOptionsInfoItem]. +/// You can use the enum of option item with value to control some behaviors of Kingfisher. +public typealias KingfisherOptionsInfo = [KingfisherOptionsInfoItem] + +extension Array where Element == KingfisherOptionsInfoItem { + static let empty: KingfisherOptionsInfo = [] +} + +/// Represents the available option items could be used in `KingfisherOptionsInfo`. +public enum KingfisherOptionsInfoItem { + + /// Kingfisher will use the associated `ImageCache` object when handling related operations, + /// including trying to retrieve the cached images and store the downloaded image to it. + case targetCache(ImageCache) + + /// The `ImageCache` for storing and retrieving original images. If `originalCache` is + /// contained in the options, it will be preferred for storing and retrieving original images. + /// If there is no `.originalCache` in the options, `.targetCache` will be used to store original images. + /// + /// When using KingfisherManager to download and store an image, if `cacheOriginalImage` is + /// applied in the option, the original image will be stored to this `originalCache`. At the + /// same time, if a requested final image (with processor applied) cannot be found in `targetCache`, + /// Kingfisher will try to search the original image to check whether it is already there. If found, + /// it will be used and applied with the given processor. It is an optimization for not downloading + /// the same image for multiple times. + case originalCache(ImageCache) + + /// Kingfisher will use the associated `ImageDownloader` object to download the requested images. + case downloader(ImageDownloader) + + /// Member for animation transition when using `UIImageView`. Kingfisher will use the `ImageTransition` of + /// this enum to animate the image in if it is downloaded from web. The transition will not happen when the + /// image is retrieved from either memory or disk cache by default. If you need to do the transition even when + /// the image being retrieved from cache, set `.forceRefresh` as well. + case transition(ImageTransition) + + /// Associated `Float` value will be set as the priority of image download task. The value for it should be + /// between 0.0~1.0. If this option not set, the default value (`URLSessionTask.defaultPriority`) will be used. + case downloadPriority(Float) + + /// If set, Kingfisher will ignore the cache and try to start a download task for the image source. + case forceRefresh + + /// If set, Kingfisher will try to retrieve the image from memory cache first. If the image is not in memory + /// cache, then it will ignore the disk cache but download the image again from network. This is useful when + /// you want to display a changeable image behind the same url at the same app session, while avoiding download + /// it for multiple times. + case fromMemoryCacheOrRefresh + + /// If set, setting the image to an image view will happen with transition even when retrieved from cache. + /// See `.transition` option for more. + case forceTransition + + /// If set, Kingfisher will only cache the value in memory but not in disk. + case cacheMemoryOnly + + /// If set, Kingfisher will wait for caching operation to be completed before calling the completion block. + case waitForCache + + /// If set, Kingfisher will only try to retrieve the image from cache, but not from network. If the image is not in + /// cache, the image retrieving will fail with the `KingfisherError.cacheError` with `.imageNotExisting` as its + /// reason. + case onlyFromCache + + /// Decode the image in background thread before using. It will decode the downloaded image data and do a off-screen + /// rendering to extract pixel information in background. This can speed up display, but will cost more time to + /// prepare the image for using. + case backgroundDecode + + /// The associated value will be used as the target queue of dispatch callbacks when retrieving images from + /// cache. If not set, Kingfisher will use `.mainCurrentOrAsync` for callbacks. + /// + /// - Note: + /// This option does not affect the callbacks for UI related extension methods. You will always get the + /// callbacks called from main queue. + case callbackQueue(CallbackQueue) + + /// The associated value will be used as the scale factor when converting retrieved data to an image. + /// Specify the image scale, instead of your screen scale. You may need to set the correct scale when you dealing + /// with 2x or 3x retina images. Otherwise, Kingfisher will convert the data to image object at `scale` 1.0. + case scaleFactor(CGFloat) + + /// Whether all the animated image data should be preloaded. Default is `false`, which means only following frames + /// will be loaded on need. If `true`, all the animated image data will be loaded and decoded into memory. + /// + /// This option is mainly used for back compatibility internally. You should not set it directly. Instead, + /// you should choose the image view class to control the GIF data loading. There are two classes in Kingfisher + /// support to display a GIF image. `AnimatedImageView` does not preload all data, it takes much less memory, but + /// uses more CPU when display. While a normal image view (`UIImageView` or `NSImageView`) loads all data at once, + /// which uses more memory but only decode image frames once. + case preloadAllAnimationData + + /// The `ImageDownloadRequestModifier` contained will be used to change the request before it being sent. + /// This is the last chance you can modify the image download request. You can modify the request for some + /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping. + /// The original request will be sent without any modification by default. + case requestModifier(AsyncImageDownloadRequestModifier) + + /// The `ImageDownloadRedirectHandler` contained will be used to change the request before redirection. + /// This is the possibility you can modify the image download request during redirect. You can modify the request for + /// some customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url + /// mapping. + /// The original redirection request will be sent without any modification by default. + case redirectHandler(ImageDownloadRedirectHandler) + + /// Processor for processing when the downloading finishes, a processor will convert the downloaded data to an image + /// and/or apply some filter on it. If a cache is connected to the downloader (it happens when you are using + /// KingfisherManager or any of the view extension methods), the converted image will also be sent to cache as well. + /// If not set, the `DefaultImageProcessor.default` will be used. + case processor(ImageProcessor) + + /// Provides a `CacheSerializer` to convert some data to an image object for + /// retrieving from disk cache or vice versa for storing to disk cache. + /// If not set, the `DefaultCacheSerializer.default` will be used. + case cacheSerializer(CacheSerializer) + + /// An `ImageModifier` is for modifying an image as needed right before it is used. If the image was fetched + /// directly from the downloader, the modifier will run directly after the `ImageProcessor`. If the image is being + /// fetched from a cache, the modifier will run after the `CacheSerializer`. + /// + /// Use `ImageModifier` when you need to set properties that do not persist when caching the image on a concrete + /// type of `Image`, such as the `renderingMode` or the `alignmentInsets` of `UIImage`. + case imageModifier(ImageModifier) + + /// Keep the existing image of image view while setting another image to it. + /// By setting this option, the placeholder image parameter of image view extension method + /// will be ignored and the current image will be kept while loading or downloading the new image. + case keepCurrentImageWhileLoading + + /// If set, Kingfisher will only load the first frame from an animated image file as a single image. + /// Loading an animated images may take too much memory. It will be useful when you want to display a + /// static preview of the first frame from an animated image. + /// + /// This option will be ignored if the target image is not animated image data. + case onlyLoadFirstFrame + + /// If set and an `ImageProcessor` is used, Kingfisher will try to cache both the final result and original + /// image. Kingfisher will have a chance to use the original image when another processor is applied to the same + /// resource, instead of downloading it again. You can use `.originalCache` to specify a cache or the original + /// images if necessary. + /// + /// The original image will be only cached to disk storage. + case cacheOriginalImage + + /// If set and an image retrieving error occurred Kingfisher will set provided image (or empty) + /// in place of requested one. It's useful when you don't want to show placeholder + /// during loading time but wants to use some default image when requests will be failed. + case onFailureImage(KFCrossPlatformImage?) + + /// If set and used in `ImagePrefetcher`, the prefetching operation will load the images into memory storage + /// aggressively. By default this is not contained in the options, that means if the requested image is already + /// in disk cache, Kingfisher will not try to load it to memory. + case alsoPrefetchToMemory + + /// If set, the disk storage loading will happen in the same calling queue. By default, disk storage file loading + /// happens in its own queue with an asynchronous dispatch behavior. Although it provides better non-blocking disk + /// loading performance, it also causes a flickering when you reload an image from disk, if the image view already + /// has an image set. + /// + /// Set this options will stop that flickering by keeping all loading in the same queue (typically the UI queue + /// if you are using Kingfisher's extension methods to set an image), with a tradeoff of loading performance. + case loadDiskFileSynchronously + + /// Options to control the writing of data to disk storage + /// If set, options will be passed the store operation for a new files. + case diskStoreWriteOptions(Data.WritingOptions) + + /// The expiration setting for memory cache. By default, the underlying `MemoryStorage.Backend` uses the + /// expiration in its config for all items. If set, the `MemoryStorage.Backend` will use this associated + /// value to overwrite the config setting for this caching item. + case memoryCacheExpiration(StorageExpiration) + + /// The expiration extending setting for memory cache. The item expiration time will be incremented by this + /// value after access. + /// By default, the underlying `MemoryStorage.Backend` uses the initial cache expiration as extending + /// value: .cacheTime. + /// + /// To disable extending option at all add memoryCacheAccessExtendingExpiration(.none) to options. + case memoryCacheAccessExtendingExpiration(ExpirationExtending) + + /// The expiration setting for disk cache. By default, the underlying `DiskStorage.Backend` uses the + /// expiration in its config for all items. If set, the `DiskStorage.Backend` will use this associated + /// value to overwrite the config setting for this caching item. + case diskCacheExpiration(StorageExpiration) + + /// The expiration extending setting for disk cache. The item expiration time will be incremented by this value after access. + /// By default, the underlying `DiskStorage.Backend` uses the initial cache expiration as extending value: .cacheTime. + /// To disable extending option at all add diskCacheAccessExtendingExpiration(.none) to options. + case diskCacheAccessExtendingExpiration(ExpirationExtending) + + /// Decides on which queue the image processing should happen. By default, Kingfisher uses a pre-defined serial + /// queue to process images. Use this option to change this behavior. For example, specify a `.mainCurrentOrAsync` + /// to let the image be processed in main queue to prevent a possible flickering (but with a possibility of + /// blocking the UI, especially if the processor needs a lot of time to run). + case processingQueue(CallbackQueue) + + /// Enable progressive image loading, Kingfisher will use the associated `ImageProgressive` value to process the + /// progressive JPEG data and display it in a progressive way. + case progressiveJPEG(ImageProgressive) + + /// The alternative sources will be used when the original input `Source` fails. The `Source`s in the associated + /// array will be used to start a new image loading task if the previous task fails due to an error. The image + /// source loading process will stop as soon as a source is loaded successfully. If all `[Source]`s are used but + /// the loading is still failing, an `imageSettingError` with `alternativeSourcesExhausted` as its reason will be + /// thrown out. + /// + /// This option is useful if you want to implement a fallback solution for setting image. + /// + /// User cancellation will not trigger the alternative source loading. + case alternativeSources([Source]) + + /// Provide a retry strategy which will be used when something gets wrong during the image retrieving process from + /// `KingfisherManager`. You can define a strategy by create a type conforming to the `RetryStrategy` protocol. + /// + /// - Note: + /// + /// All extension methods of Kingfisher (`kf` extensions on `UIImageView` or `UIButton`) retrieve images through + /// `KingfisherManager`, so the retry strategy also applies when using them. However, this option does not apply + /// when pass to an `ImageDownloader` or `ImageCache`. + /// + case retryStrategy(RetryStrategy) + + /// The `Source` should be loaded when user enables Low Data Mode and the original source fails with an + /// `NSURLErrorNetworkUnavailableReason.constrained` error. When this option is set, the + /// `allowsConstrainedNetworkAccess` property of the request for the original source will be set to `false` and the + /// `Source` in associated value will be used to retrieve the image for low data mode. Usually, you can provide a + /// low-resolution version of your image or a local image provider to display a placeholder. + /// + /// If not set or the `source` is `nil`, the device Low Data Mode will be ignored and the original source will + /// be loaded following the system default behavior, in a normal way. + case lowDataMode(Source?) +} + +// Improve performance by parsing the input `KingfisherOptionsInfo` (self) first. +// So we can prevent the iterating over the options array again and again. +/// The parsed options info used across Kingfisher methods. Each property in this type corresponds a case member +/// in `KingfisherOptionsInfoItem`. When a `KingfisherOptionsInfo` sent to Kingfisher related methods, it will be +/// parsed and converted to a `KingfisherParsedOptionsInfo` first, and pass through the internal methods. +public struct KingfisherParsedOptionsInfo { + + public var targetCache: ImageCache? = nil + public var originalCache: ImageCache? = nil + public var downloader: ImageDownloader? = nil + public var transition: ImageTransition = .none + public var downloadPriority: Float = URLSessionTask.defaultPriority + public var forceRefresh = false + public var fromMemoryCacheOrRefresh = false + public var forceTransition = false + public var cacheMemoryOnly = false + public var waitForCache = false + public var onlyFromCache = false + public var backgroundDecode = false + public var preloadAllAnimationData = false + public var callbackQueue: CallbackQueue = .mainCurrentOrAsync + public var scaleFactor: CGFloat = 1.0 + public var requestModifier: AsyncImageDownloadRequestModifier? = nil + public var redirectHandler: ImageDownloadRedirectHandler? = nil + public var processor: ImageProcessor = DefaultImageProcessor.default + public var imageModifier: ImageModifier? = nil + public var cacheSerializer: CacheSerializer = DefaultCacheSerializer.default + public var keepCurrentImageWhileLoading = false + public var onlyLoadFirstFrame = false + public var cacheOriginalImage = false + public var onFailureImage: Optional = .none + public var alsoPrefetchToMemory = false + public var loadDiskFileSynchronously = false + public var diskStoreWriteOptions: Data.WritingOptions = [] + public var memoryCacheExpiration: StorageExpiration? = nil + public var memoryCacheAccessExtendingExpiration: ExpirationExtending = .cacheTime + public var diskCacheExpiration: StorageExpiration? = nil + public var diskCacheAccessExtendingExpiration: ExpirationExtending = .cacheTime + public var processingQueue: CallbackQueue? = nil + public var progressiveJPEG: ImageProgressive? = nil + public var alternativeSources: [Source]? = nil + public var retryStrategy: RetryStrategy? = nil + public var lowDataModeSource: Source? = nil + + var onDataReceived: [DataReceivingSideEffect]? = nil + + public init(_ info: KingfisherOptionsInfo?) { + guard let info = info else { return } + for option in info { + switch option { + case .targetCache(let value): targetCache = value + case .originalCache(let value): originalCache = value + case .downloader(let value): downloader = value + case .transition(let value): transition = value + case .downloadPriority(let value): downloadPriority = value + case .forceRefresh: forceRefresh = true + case .fromMemoryCacheOrRefresh: fromMemoryCacheOrRefresh = true + case .forceTransition: forceTransition = true + case .cacheMemoryOnly: cacheMemoryOnly = true + case .waitForCache: waitForCache = true + case .onlyFromCache: onlyFromCache = true + case .backgroundDecode: backgroundDecode = true + case .preloadAllAnimationData: preloadAllAnimationData = true + case .callbackQueue(let value): callbackQueue = value + case .scaleFactor(let value): scaleFactor = value + case .requestModifier(let value): requestModifier = value + case .redirectHandler(let value): redirectHandler = value + case .processor(let value): processor = value + case .imageModifier(let value): imageModifier = value + case .cacheSerializer(let value): cacheSerializer = value + case .keepCurrentImageWhileLoading: keepCurrentImageWhileLoading = true + case .onlyLoadFirstFrame: onlyLoadFirstFrame = true + case .cacheOriginalImage: cacheOriginalImage = true + case .onFailureImage(let value): onFailureImage = .some(value) + case .alsoPrefetchToMemory: alsoPrefetchToMemory = true + case .loadDiskFileSynchronously: loadDiskFileSynchronously = true + case .diskStoreWriteOptions(let options): diskStoreWriteOptions = options + case .memoryCacheExpiration(let expiration): memoryCacheExpiration = expiration + case .memoryCacheAccessExtendingExpiration(let expirationExtending): memoryCacheAccessExtendingExpiration = expirationExtending + case .diskCacheExpiration(let expiration): diskCacheExpiration = expiration + case .diskCacheAccessExtendingExpiration(let expirationExtending): diskCacheAccessExtendingExpiration = expirationExtending + case .processingQueue(let queue): processingQueue = queue + case .progressiveJPEG(let value): progressiveJPEG = value + case .alternativeSources(let sources): alternativeSources = sources + case .retryStrategy(let strategy): retryStrategy = strategy + case .lowDataMode(let source): lowDataModeSource = source + } + } + + if originalCache == nil { + originalCache = targetCache + } + } +} + +extension KingfisherParsedOptionsInfo { + var imageCreatingOptions: ImageCreatingOptions { + return ImageCreatingOptions( + scale: scaleFactor, + duration: 0.0, + preloadAll: preloadAllAnimationData, + onlyFirstFrame: onlyLoadFirstFrame) + } +} + +protocol DataReceivingSideEffect: AnyObject { + var onShouldApply: () -> Bool { get set } + func onDataReceived(_ session: URLSession, task: SessionDataTask, data: Data) +} + +class ImageLoadingProgressSideEffect: DataReceivingSideEffect { + + var onShouldApply: () -> Bool = { return true } + + let block: DownloadProgressBlock + + init(_ block: @escaping DownloadProgressBlock) { + self.block = block + } + + func onDataReceived(_ session: URLSession, task: SessionDataTask, data: Data) { + guard self.onShouldApply() else { return } + guard let expectedContentLength = task.task.response?.expectedContentLength, + expectedContentLength != -1 else + { + return + } + + let dataLength = Int64(task.mutableData.count) + DispatchQueue.main.async { + self.block(dataLength, expectedContentLength) + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/Filter.swift b/Instagram/Pods/Kingfisher/Sources/Image/Filter.swift new file mode 100644 index 0000000..6e4b386 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/Filter.swift @@ -0,0 +1,146 @@ +// +// Filter.swift +// Kingfisher +// +// Created by Wei Wang on 2016/08/31. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +import CoreImage + +// Reuse the same CI Context for all CI drawing. +private let ciContext = CIContext(options: nil) + +/// Represents the type of transformer method, which will be used in to provide a `Filter`. +public typealias Transformer = (CIImage) -> CIImage? + +/// Represents a processor based on a `CIImage` `Filter`. +/// It requires a filter to create an `ImageProcessor`. +public protocol CIImageProcessor: ImageProcessor { + var filter: Filter { get } +} + +extension CIImageProcessor { + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.apply(filter) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// A wrapper struct for a `Transformer` of CIImage filters. A `Filter` +/// value could be used to create a `CIImage` processor. +public struct Filter { + + let transform: Transformer + + public init(transform: @escaping Transformer) { + self.transform = transform + } + + /// Tint filter which will apply a tint color to images. + public static var tint: (KFCrossPlatformColor) -> Filter = { + color in + Filter { + input in + + let colorFilter = CIFilter(name: "CIConstantColorGenerator")! + colorFilter.setValue(CIColor(color: color), forKey: kCIInputColorKey) + + let filter = CIFilter(name: "CISourceOverCompositing")! + + let colorImage = colorFilter.outputImage + filter.setValue(colorImage, forKey: kCIInputImageKey) + filter.setValue(input, forKey: kCIInputBackgroundImageKey) + + return filter.outputImage?.cropped(to: input.extent) + } + } + + /// Represents color control elements. It is a tuple of + /// `(brightness, contrast, saturation, inputEV)` + public typealias ColorElement = (CGFloat, CGFloat, CGFloat, CGFloat) + + /// Color control filter which will apply color control change to images. + public static var colorControl: (ColorElement) -> Filter = { arg -> Filter in + let (brightness, contrast, saturation, inputEV) = arg + return Filter { input in + let paramsColor = [kCIInputBrightnessKey: brightness, + kCIInputContrastKey: contrast, + kCIInputSaturationKey: saturation] + let blackAndWhite = input.applyingFilter("CIColorControls", parameters: paramsColor) + let paramsExposure = [kCIInputEVKey: inputEV] + return blackAndWhite.applyingFilter("CIExposureAdjust", parameters: paramsExposure) + } + } +} + +extension KingfisherWrapper where Base: KFCrossPlatformImage { + + /// Applies a `Filter` containing `CIImage` transformer to `self`. + /// + /// - Parameter filter: The filter used to transform `self`. + /// - Returns: A transformed image by input `Filter`. + /// + /// - Note: + /// Only CG-based images are supported. If any error happens + /// during transforming, `self` will be returned. + public func apply(_ filter: Filter) -> KFCrossPlatformImage { + + guard let cgImage = cgImage else { + assertionFailure("[Kingfisher] Tint image only works for CG-based image.") + return base + } + + let inputImage = CIImage(cgImage: cgImage) + guard let outputImage = filter.transform(inputImage) else { + return base + } + + guard let result = ciContext.createCGImage(outputImage, from: outputImage.extent) else { + assertionFailure("[Kingfisher] Can not make an tint image within context.") + return base + } + + #if os(macOS) + return fixedForRetinaPixel(cgImage: result, to: size) + #else + return KFCrossPlatformImage(cgImage: result, scale: base.scale, orientation: base.imageOrientation) + #endif + } + +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift b/Instagram/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift new file mode 100644 index 0000000..8b2480f --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/GIFAnimatedImage.swift @@ -0,0 +1,121 @@ +// +// AnimatedImage.swift +// Kingfisher +// +// Created by onevcat on 2018/09/26. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import ImageIO + +/// Represents a set of image creating options used in Kingfisher. +public struct ImageCreatingOptions { + + /// The target scale of image needs to be created. + public let scale: CGFloat + + /// The expected animation duration if an animated image being created. + public let duration: TimeInterval + + /// For an animated image, whether or not all frames should be loaded before displaying. + public let preloadAll: Bool + + /// For an animated image, whether or not only the first image should be + /// loaded as a static image. It is useful for preview purpose of an animated image. + public let onlyFirstFrame: Bool + + /// Creates an `ImageCreatingOptions` object. + /// + /// - Parameters: + /// - scale: The target scale of image needs to be created. Default is `1.0`. + /// - duration: The expected animation duration if an animated image being created. + /// A value less or equal to `0.0` means the animated image duration will + /// be determined by the frame data. Default is `0.0`. + /// - preloadAll: For an animated image, whether or not all frames should be loaded before displaying. + /// Default is `false`. + /// - onlyFirstFrame: For an animated image, whether or not only the first image should be + /// loaded as a static image. It is useful for preview purpose of an animated image. + /// Default is `false`. + public init( + scale: CGFloat = 1.0, + duration: TimeInterval = 0.0, + preloadAll: Bool = false, + onlyFirstFrame: Bool = false) + { + self.scale = scale + self.duration = duration + self.preloadAll = preloadAll + self.onlyFirstFrame = onlyFirstFrame + } +} + +/// Represents the decoding for a GIF image. This class extracts frames from an `imageSource`, then +/// hold the images for later use. +public class GIFAnimatedImage { + let images: [KFCrossPlatformImage] + let duration: TimeInterval + + init?(from imageSource: CGImageSource, for info: [String: Any], options: ImageCreatingOptions) { + let frameCount = CGImageSourceGetCount(imageSource) + var images = [KFCrossPlatformImage]() + var gifDuration = 0.0 + + for i in 0 ..< frameCount { + guard let imageRef = CGImageSourceCreateImageAtIndex(imageSource, i, info as CFDictionary) else { + return nil + } + + if frameCount == 1 { + gifDuration = .infinity + } else { + // Get current animated GIF frame duration + gifDuration += GIFAnimatedImage.getFrameDuration(from: imageSource, at: i) + } + images.append(KingfisherWrapper.image(cgImage: imageRef, scale: options.scale, refImage: nil)) + if options.onlyFirstFrame { break } + } + self.images = images + self.duration = gifDuration + } + + /// Calculates frame duration for a gif frame out of the kCGImagePropertyGIFDictionary dictionary. + public static func getFrameDuration(from gifInfo: [String: Any]?) -> TimeInterval { + let defaultFrameDuration = 0.1 + guard let gifInfo = gifInfo else { return defaultFrameDuration } + + let unclampedDelayTime = gifInfo[kCGImagePropertyGIFUnclampedDelayTime as String] as? NSNumber + let delayTime = gifInfo[kCGImagePropertyGIFDelayTime as String] as? NSNumber + let duration = unclampedDelayTime ?? delayTime + + guard let frameDuration = duration else { return defaultFrameDuration } + return frameDuration.doubleValue > 0.011 ? frameDuration.doubleValue : defaultFrameDuration + } + + /// Calculates frame duration at a specific index for a gif from an `imageSource`. + public static func getFrameDuration(from imageSource: CGImageSource, at index: Int) -> TimeInterval { + guard let properties = CGImageSourceCopyPropertiesAtIndex(imageSource, index, nil) + as? [String: Any] else { return 0.0 } + + let gifInfo = properties[kCGImagePropertyGIFDictionary as String] as? [String: Any] + return getFrameDuration(from: gifInfo) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/GraphicsContext.swift b/Instagram/Pods/Kingfisher/Sources/Image/GraphicsContext.swift new file mode 100644 index 0000000..6d8443c --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/GraphicsContext.swift @@ -0,0 +1,88 @@ +// +// GraphicsContext.swift +// Kingfisher +// +// Created by taras on 19/04/2021. +// +// Copyright (c) 2021 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +#endif +#if canImport(UIKit) +import UIKit +#endif + +enum GraphicsContext { + static func begin(size: CGSize, scale: CGFloat) { + #if os(macOS) + NSGraphicsContext.saveGraphicsState() + #else + UIGraphicsBeginImageContextWithOptions(size, false, scale) + #endif + } + + static func current(size: CGSize, scale: CGFloat, inverting: Bool, cgImage: CGImage?) -> CGContext? { + #if os(macOS) + guard let rep = NSBitmapImageRep( + bitmapDataPlanes: nil, + pixelsWide: Int(size.width), + pixelsHigh: Int(size.height), + bitsPerSample: cgImage?.bitsPerComponent ?? 8, + samplesPerPixel: 4, + hasAlpha: true, + isPlanar: false, + colorSpaceName: .calibratedRGB, + bytesPerRow: 0, + bitsPerPixel: 0) else + { + assertionFailure("[Kingfisher] Image representation cannot be created.") + return nil + } + rep.size = size + guard let context = NSGraphicsContext(bitmapImageRep: rep) else { + assertionFailure("[Kingfisher] Image context cannot be created.") + return nil + } + + NSGraphicsContext.current = context + return context.cgContext + #else + guard let context = UIGraphicsGetCurrentContext() else { + return nil + } + if inverting { // If drawing a CGImage, we need to make context flipped. + context.scaleBy(x: 1.0, y: -1.0) + context.translateBy(x: 0, y: -size.height) + } + return context + #endif + } + + static func end() { + #if os(macOS) + NSGraphicsContext.restoreGraphicsState() + #else + UIGraphicsEndImageContext() + #endif + } +} + diff --git a/Instagram/Pods/Kingfisher/Sources/Image/Image.swift b/Instagram/Pods/Kingfisher/Sources/Image/Image.swift new file mode 100644 index 0000000..68373fc --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/Image.swift @@ -0,0 +1,377 @@ +// +// Image.swift +// Kingfisher +// +// Created by Wei Wang on 16/1/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + + +#if os(macOS) +import AppKit +private var imagesKey: Void? +private var durationKey: Void? +#else +import UIKit +import MobileCoreServices +private var imageSourceKey: Void? +#endif + +#if !os(watchOS) +import CoreImage +#endif + +import CoreGraphics +import ImageIO + +private var animatedImageDataKey: Void? +private var imageFrameCountKey: Void? + +// MARK: - Image Properties +extension KingfisherWrapper where Base: KFCrossPlatformImage { + private(set) var animatedImageData: Data? { + get { return getAssociatedObject(base, &animatedImageDataKey) } + set { setRetainedAssociatedObject(base, &animatedImageDataKey, newValue) } + } + + public var imageFrameCount: Int? { + get { return getAssociatedObject(base, &imageFrameCountKey) } + set { setRetainedAssociatedObject(base, &imageFrameCountKey, newValue) } + } + + #if os(macOS) + var cgImage: CGImage? { + return base.cgImage(forProposedRect: nil, context: nil, hints: nil) + } + + var scale: CGFloat { + return 1.0 + } + + private(set) var images: [KFCrossPlatformImage]? { + get { return getAssociatedObject(base, &imagesKey) } + set { setRetainedAssociatedObject(base, &imagesKey, newValue) } + } + + private(set) var duration: TimeInterval { + get { return getAssociatedObject(base, &durationKey) ?? 0.0 } + set { setRetainedAssociatedObject(base, &durationKey, newValue) } + } + + var size: CGSize { + return base.representations.reduce(.zero) { size, rep in + let width = max(size.width, CGFloat(rep.pixelsWide)) + let height = max(size.height, CGFloat(rep.pixelsHigh)) + return CGSize(width: width, height: height) + } + } + #else + var cgImage: CGImage? { return base.cgImage } + var scale: CGFloat { return base.scale } + var images: [KFCrossPlatformImage]? { return base.images } + var duration: TimeInterval { return base.duration } + var size: CGSize { return base.size } + + /// The image source reference of current image. + public private(set) var imageSource: CGImageSource? { + get { return getAssociatedObject(base, &imageSourceKey) } + set { setRetainedAssociatedObject(base, &imageSourceKey, newValue) } + } + #endif + + // Bitmap memory cost with bytes. + var cost: Int { + let pixel = Int(size.width * size.height * scale * scale) + guard let cgImage = cgImage else { + return pixel * 4 + } + let bytesPerPixel = cgImage.bitsPerPixel / 8 + guard let imageCount = images?.count else { + return pixel * bytesPerPixel + } + return pixel * bytesPerPixel * imageCount + } +} + +// MARK: - Image Conversion +extension KingfisherWrapper where Base: KFCrossPlatformImage { + #if os(macOS) + static func image(cgImage: CGImage, scale: CGFloat, refImage: KFCrossPlatformImage?) -> KFCrossPlatformImage { + return KFCrossPlatformImage(cgImage: cgImage, size: .zero) + } + + /// Normalize the image. This getter does nothing on macOS but return the image itself. + public var normalized: KFCrossPlatformImage { return base } + + #else + /// Creating an image from a give `CGImage` at scale and orientation for refImage. The method signature is for + /// compatibility of macOS version. + static func image(cgImage: CGImage, scale: CGFloat, refImage: KFCrossPlatformImage?) -> KFCrossPlatformImage { + return KFCrossPlatformImage(cgImage: cgImage, scale: scale, orientation: refImage?.imageOrientation ?? .up) + } + + /// Returns normalized image for current `base` image. + /// This method will try to redraw an image with orientation and scale considered. + public var normalized: KFCrossPlatformImage { + // prevent animated image (GIF) lose it's images + guard images == nil else { return base.copy() as! KFCrossPlatformImage } + // No need to do anything if already up + guard base.imageOrientation != .up else { return base.copy() as! KFCrossPlatformImage } + + return draw(to: size, inverting: true, refImage: KFCrossPlatformImage()) { + fixOrientation(in: $0) + return true + } + } + + func fixOrientation(in context: CGContext) { + + var transform = CGAffineTransform.identity + + let orientation = base.imageOrientation + + switch orientation { + case .down, .downMirrored: + transform = transform.translatedBy(x: size.width, y: size.height) + transform = transform.rotated(by: .pi) + case .left, .leftMirrored: + transform = transform.translatedBy(x: size.width, y: 0) + transform = transform.rotated(by: .pi / 2.0) + case .right, .rightMirrored: + transform = transform.translatedBy(x: 0, y: size.height) + transform = transform.rotated(by: .pi / -2.0) + case .up, .upMirrored: + break + #if compiler(>=5) + @unknown default: + break + #endif + } + + //Flip image one more time if needed to, this is to prevent flipped image + switch orientation { + case .upMirrored, .downMirrored: + transform = transform.translatedBy(x: size.width, y: 0) + transform = transform.scaledBy(x: -1, y: 1) + case .leftMirrored, .rightMirrored: + transform = transform.translatedBy(x: size.height, y: 0) + transform = transform.scaledBy(x: -1, y: 1) + case .up, .down, .left, .right: + break + #if compiler(>=5) + @unknown default: + break + #endif + } + + context.concatenate(transform) + switch orientation { + case .left, .leftMirrored, .right, .rightMirrored: + context.draw(cgImage!, in: CGRect(x: 0, y: 0, width: size.height, height: size.width)) + default: + context.draw(cgImage!, in: CGRect(x: 0, y: 0, width: size.width, height: size.height)) + } + } + #endif +} + +// MARK: - Image Representation +extension KingfisherWrapper where Base: KFCrossPlatformImage { + /// Returns PNG representation of `base` image. + /// + /// - Returns: PNG data of image. + public func pngRepresentation() -> Data? { + #if os(macOS) + guard let cgImage = cgImage else { + return nil + } + let rep = NSBitmapImageRep(cgImage: cgImage) + return rep.representation(using: .png, properties: [:]) + #else + return base.pngData() + #endif + } + + /// Returns JPEG representation of `base` image. + /// + /// - Parameter compressionQuality: The compression quality when converting image to JPEG data. + /// - Returns: JPEG data of image. + public func jpegRepresentation(compressionQuality: CGFloat) -> Data? { + #if os(macOS) + guard let cgImage = cgImage else { + return nil + } + let rep = NSBitmapImageRep(cgImage: cgImage) + return rep.representation(using:.jpeg, properties: [.compressionFactor: compressionQuality]) + #else + return base.jpegData(compressionQuality: compressionQuality) + #endif + } + + /// Returns GIF representation of `base` image. + /// + /// - Returns: Original GIF data of image. + public func gifRepresentation() -> Data? { + return animatedImageData + } + + /// Returns a data representation for `base` image, with the `format` as the format indicator. + /// - Parameters: + /// - format: The format in which the output data should be. If `unknown`, the `base` image will be + /// converted in the PNG representation. + /// - compressionQuality: The compression quality when converting image to a lossy format data. + /// + /// - Returns: The output data representing. + public func data(format: ImageFormat, compressionQuality: CGFloat = 1.0) -> Data? { + return autoreleasepool { () -> Data? in + let data: Data? + switch format { + case .PNG: data = pngRepresentation() + case .JPEG: data = jpegRepresentation(compressionQuality: compressionQuality) + case .GIF: data = gifRepresentation() + case .unknown: data = normalized.kf.pngRepresentation() + } + + return data + } + } +} + +// MARK: - Creating Images +extension KingfisherWrapper where Base: KFCrossPlatformImage { + + /// Creates an animated image from a given data and options. Currently only GIF data is supported. + /// + /// - Parameters: + /// - data: The animated image data. + /// - options: Options to use when creating the animated image. + /// - Returns: An `Image` object represents the animated image. It is in form of an array of image frames with a + /// certain duration. `nil` if anything wrong when creating animated image. + public static func animatedImage(data: Data, options: ImageCreatingOptions) -> KFCrossPlatformImage? { + let info: [String: Any] = [ + kCGImageSourceShouldCache as String: true, + kCGImageSourceTypeIdentifierHint as String: kUTTypeGIF + ] + + guard let imageSource = CGImageSourceCreateWithData(data as CFData, info as CFDictionary) else { + return nil + } + + #if os(macOS) + guard let animatedImage = GIFAnimatedImage(from: imageSource, for: info, options: options) else { + return nil + } + var image: KFCrossPlatformImage? + if options.onlyFirstFrame { + image = animatedImage.images.first + } else { + image = KFCrossPlatformImage(data: data) + var kf = image?.kf + kf?.images = animatedImage.images + kf?.duration = animatedImage.duration + } + image?.kf.animatedImageData = data + image?.kf.imageFrameCount = Int(CGImageSourceGetCount(imageSource)) + return image + #else + + var image: KFCrossPlatformImage? + if options.preloadAll || options.onlyFirstFrame { + // Use `images` image if you want to preload all animated data + guard let animatedImage = GIFAnimatedImage(from: imageSource, for: info, options: options) else { + return nil + } + if options.onlyFirstFrame { + image = animatedImage.images.first + } else { + let duration = options.duration <= 0.0 ? animatedImage.duration : options.duration + image = .animatedImage(with: animatedImage.images, duration: duration) + } + image?.kf.animatedImageData = data + } else { + image = KFCrossPlatformImage(data: data, scale: options.scale) + var kf = image?.kf + kf?.imageSource = imageSource + kf?.animatedImageData = data + } + + image?.kf.imageFrameCount = Int(CGImageSourceGetCount(imageSource)) + return image + #endif + } + + /// Creates an image from a given data and options. `.JPEG`, `.PNG` or `.GIF` is supported. For other + /// image format, image initializer from system will be used. If no image object could be created from + /// the given `data`, `nil` will be returned. + /// + /// - Parameters: + /// - data: The image data representation. + /// - options: Options to use when creating the image. + /// - Returns: An `Image` object represents the image if created. If the `data` is invalid or not supported, `nil` + /// will be returned. + public static func image(data: Data, options: ImageCreatingOptions) -> KFCrossPlatformImage? { + var image: KFCrossPlatformImage? + switch data.kf.imageFormat { + case .JPEG: + image = KFCrossPlatformImage(data: data, scale: options.scale) + case .PNG: + image = KFCrossPlatformImage(data: data, scale: options.scale) + case .GIF: + image = KingfisherWrapper.animatedImage(data: data, options: options) + case .unknown: + image = KFCrossPlatformImage(data: data, scale: options.scale) + } + return image + } + + /// Creates a downsampled image from given data to a certain size and scale. + /// + /// - Parameters: + /// - data: The image data contains a JPEG or PNG image. + /// - pointSize: The target size in point to which the image should be downsampled. + /// - scale: The scale of result image. + /// - Returns: A downsampled `Image` object following the input conditions. + /// + /// - Note: + /// Different from image `resize` methods, downsampling will not render the original + /// input image in pixel format. It does downsampling from the image data, so it is much + /// more memory efficient and friendly. Choose to use downsampling as possible as you can. + /// + /// The input size should be smaller than the size of input image. If it is larger than the + /// original image size, the result image will be the same size of input without downsampling. + public static func downsampledImage(data: Data, to pointSize: CGSize, scale: CGFloat) -> KFCrossPlatformImage? { + let imageSourceOptions = [kCGImageSourceShouldCache: false] as CFDictionary + guard let imageSource = CGImageSourceCreateWithData(data as CFData, imageSourceOptions) else { + return nil + } + + let maxDimensionInPixels = max(pointSize.width, pointSize.height) * scale + let downsampleOptions = [ + kCGImageSourceCreateThumbnailFromImageAlways: true, + kCGImageSourceShouldCacheImmediately: true, + kCGImageSourceCreateThumbnailWithTransform: true, + kCGImageSourceThumbnailMaxPixelSize: maxDimensionInPixels] as CFDictionary + guard let downsampledImage = CGImageSourceCreateThumbnailAtIndex(imageSource, 0, downsampleOptions) else { + return nil + } + return KingfisherWrapper.image(cgImage: downsampledImage, scale: scale, refImage: nil) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/ImageDrawing.swift b/Instagram/Pods/Kingfisher/Sources/Image/ImageDrawing.swift new file mode 100644 index 0000000..fce627c --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/ImageDrawing.swift @@ -0,0 +1,632 @@ +// +// ImageDrawing.swift +// Kingfisher +// +// Created by onevcat on 2018/09/28. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Accelerate + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +#endif +#if canImport(UIKit) +import UIKit +#endif + +// MARK: - Image Transforming +extension KingfisherWrapper where Base: KFCrossPlatformImage { + // MARK: Blend Mode + /// Create image from `base` image and apply blend mode. + /// + /// - parameter blendMode: The blend mode of creating image. + /// - parameter alpha: The alpha should be used for image. + /// - parameter backgroundColor: The background color for the output image. + /// + /// - returns: An image with blend mode applied. + /// + /// - Note: This method only works for CG-based image. + #if !os(macOS) + public func image(withBlendMode blendMode: CGBlendMode, + alpha: CGFloat = 1.0, + backgroundColor: KFCrossPlatformColor? = nil) -> KFCrossPlatformImage + { + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Blend mode image only works for CG-based image.") + return base + } + + let rect = CGRect(origin: .zero, size: size) + return draw(to: rect.size, inverting: false) { _ in + if let backgroundColor = backgroundColor { + backgroundColor.setFill() + UIRectFill(rect) + } + + base.draw(in: rect, blendMode: blendMode, alpha: alpha) + return false + } + } + #endif + + #if os(macOS) + // MARK: Compositing + /// Creates image from `base` image and apply compositing operation. + /// + /// - Parameters: + /// - compositingOperation: The compositing operation of creating image. + /// - alpha: The alpha should be used for image. + /// - backgroundColor: The background color for the output image. + /// - Returns: An image with compositing operation applied. + /// + /// - Note: This method only works for CG-based image. For any non-CG-based image, `base` itself is returned. + public func image(withCompositingOperation compositingOperation: NSCompositingOperation, + alpha: CGFloat = 1.0, + backgroundColor: KFCrossPlatformColor? = nil) -> KFCrossPlatformImage + { + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Compositing Operation image only works for CG-based image.") + return base + } + + let rect = CGRect(origin: .zero, size: size) + return draw(to: rect.size, inverting: false) { _ in + if let backgroundColor = backgroundColor { + backgroundColor.setFill() + rect.fill() + } + base.draw(in: rect, from: .zero, operation: compositingOperation, fraction: alpha) + return false + } + } + #endif + + // MARK: Round Corner + + /// Creates a round corner image from on `base` image. + /// + /// - Parameters: + /// - radius: The round corner radius of creating image. + /// - size: The target size of creating image. + /// - corners: The target corners which will be applied rounding. + /// - backgroundColor: The background color for the output image + /// - Returns: An image with round corner of `self`. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func image( + withRadius radius: Radius, + fit size: CGSize, + roundingCorners corners: RectCorner = .all, + backgroundColor: KFCrossPlatformColor? = nil + ) -> KFCrossPlatformImage + { + + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Round corner image only works for CG-based image.") + return base + } + + let rect = CGRect(origin: CGPoint(x: 0, y: 0), size: size) + return draw(to: size, inverting: false) { _ in + #if os(macOS) + if let backgroundColor = backgroundColor { + let rectPath = NSBezierPath(rect: rect) + backgroundColor.setFill() + rectPath.fill() + } + + let path = pathForRoundCorner(rect: rect, radius: radius, corners: corners) + path.addClip() + base.draw(in: rect) + #else + guard let context = UIGraphicsGetCurrentContext() else { + assertionFailure("[Kingfisher] Failed to create CG context for image.") + return false + } + + if let backgroundColor = backgroundColor { + let rectPath = UIBezierPath(rect: rect) + backgroundColor.setFill() + rectPath.fill() + } + + let path = pathForRoundCorner(rect: rect, radius: radius, corners: corners) + context.addPath(path.cgPath) + context.clip() + base.draw(in: rect) + #endif + return false + } + } + + /// Creates a round corner image from on `base` image. + /// + /// - Parameters: + /// - radius: The round corner radius of creating image. + /// - size: The target size of creating image. + /// - corners: The target corners which will be applied rounding. + /// - backgroundColor: The background color for the output image + /// - Returns: An image with round corner of `self`. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func image( + withRoundRadius radius: CGFloat, + fit size: CGSize, + roundingCorners corners: RectCorner = .all, + backgroundColor: KFCrossPlatformColor? = nil + ) -> KFCrossPlatformImage + { + image(withRadius: .point(radius), fit: size, roundingCorners: corners, backgroundColor: backgroundColor) + } + + #if os(macOS) + func pathForRoundCorner(rect: CGRect, radius: Radius, corners: RectCorner, offsetBase: CGFloat = 0) -> NSBezierPath { + let cornerRadius = radius.compute(with: rect.size) + let path = NSBezierPath(roundedRect: rect, byRoundingCorners: corners, radius: cornerRadius - offsetBase / 2) + path.windingRule = .evenOdd + return path + } + #else + func pathForRoundCorner(rect: CGRect, radius: Radius, corners: RectCorner, offsetBase: CGFloat = 0) -> UIBezierPath { + let cornerRadius = radius.compute(with: rect.size) + return UIBezierPath( + roundedRect: rect, + byRoundingCorners: corners.uiRectCorner, + cornerRadii: CGSize( + width: cornerRadius - offsetBase / 2, + height: cornerRadius - offsetBase / 2 + ) + ) + } + #endif + + #if os(iOS) || os(tvOS) + func resize(to size: CGSize, for contentMode: UIView.ContentMode) -> KFCrossPlatformImage { + switch contentMode { + case .scaleAspectFit: + return resize(to: size, for: .aspectFit) + case .scaleAspectFill: + return resize(to: size, for: .aspectFill) + default: + return resize(to: size) + } + } + #endif + + // MARK: Resizing + /// Resizes `base` image to an image with new size. + /// + /// - Parameter size: The target size in point. + /// - Returns: An image with new size. + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func resize(to size: CGSize) -> KFCrossPlatformImage { + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Resize only works for CG-based image.") + return base + } + + let rect = CGRect(origin: CGPoint(x: 0, y: 0), size: size) + return draw(to: size, inverting: false) { _ in + #if os(macOS) + base.draw(in: rect, from: .zero, operation: .copy, fraction: 1.0) + #else + base.draw(in: rect) + #endif + return false + } + } + + /// Resizes `base` image to an image of new size, respecting the given content mode. + /// + /// - Parameters: + /// - targetSize: The target size in point. + /// - contentMode: Content mode of output image should be. + /// - Returns: An image with new size. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func resize(to targetSize: CGSize, for contentMode: ContentMode) -> KFCrossPlatformImage { + let newSize = size.kf.resize(to: targetSize, for: contentMode) + return resize(to: newSize) + } + + // MARK: Cropping + /// Crops `base` image to a new size with a given anchor. + /// + /// - Parameters: + /// - size: The target size. + /// - anchor: The anchor point from which the size should be calculated. + /// - Returns: An image with new size. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func crop(to size: CGSize, anchorOn anchor: CGPoint) -> KFCrossPlatformImage { + guard let cgImage = cgImage else { + assertionFailure("[Kingfisher] Crop only works for CG-based image.") + return base + } + + let rect = self.size.kf.constrainedRect(for: size, anchor: anchor) + guard let image = cgImage.cropping(to: rect.scaled(scale)) else { + assertionFailure("[Kingfisher] Cropping image failed.") + return base + } + + return KingfisherWrapper.image(cgImage: image, scale: scale, refImage: base) + } + + // MARK: Blur + /// Creates an image with blur effect based on `base` image. + /// + /// - Parameter radius: The blur radius should be used when creating blur effect. + /// - Returns: An image with blur effect applied. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func blurred(withRadius radius: CGFloat) -> KFCrossPlatformImage { + + guard let cgImage = cgImage else { + assertionFailure("[Kingfisher] Blur only works for CG-based image.") + return base + } + + // http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement + // let d = floor(s * 3*sqrt(2*pi)/4 + 0.5) + // if d is odd, use three box-blurs of size 'd', centered on the output pixel. + let s = max(radius, 2.0) + // We will do blur on a resized image (*0.5), so the blur radius could be half as well. + + // Fix the slow compiling time for Swift 3. + // See https://github.com/onevcat/Kingfisher/issues/611 + let pi2 = 2 * CGFloat.pi + let sqrtPi2 = sqrt(pi2) + var targetRadius = floor(s * 3.0 * sqrtPi2 / 4.0 + 0.5) + + if targetRadius.isEven { targetRadius += 1 } + + // Determine necessary iteration count by blur radius. + let iterations: Int + if radius < 0.5 { + iterations = 1 + } else if radius < 1.5 { + iterations = 2 + } else { + iterations = 3 + } + + let w = Int(size.width) + let h = Int(size.height) + + func createEffectBuffer(_ context: CGContext) -> vImage_Buffer { + let data = context.data + let width = vImagePixelCount(context.width) + let height = vImagePixelCount(context.height) + let rowBytes = context.bytesPerRow + + return vImage_Buffer(data: data, height: height, width: width, rowBytes: rowBytes) + } + GraphicsContext.begin(size: size, scale: scale) + guard let context = GraphicsContext.current(size: size, scale: scale, inverting: true, cgImage: cgImage) else { + assertionFailure("[Kingfisher] Failed to create CG context for blurring image.") + return base + } + context.draw(cgImage, in: CGRect(x: 0, y: 0, width: w, height: h)) + GraphicsContext.end() + + var inBuffer = createEffectBuffer(context) + + GraphicsContext.begin(size: size, scale: scale) + guard let outContext = GraphicsContext.current(size: size, scale: scale, inverting: true, cgImage: cgImage) else { + assertionFailure("[Kingfisher] Failed to create CG context for blurring image.") + return base + } + defer { GraphicsContext.end() } + var outBuffer = createEffectBuffer(outContext) + + for _ in 0 ..< iterations { + let flag = vImage_Flags(kvImageEdgeExtend) + vImageBoxConvolve_ARGB8888( + &inBuffer, &outBuffer, nil, 0, 0, UInt32(targetRadius), UInt32(targetRadius), nil, flag) + // Next inBuffer should be the outButter of current iteration + (inBuffer, outBuffer) = (outBuffer, inBuffer) + } + + #if os(macOS) + let result = outContext.makeImage().flatMap { + fixedForRetinaPixel(cgImage: $0, to: size) + } + #else + let result = outContext.makeImage().flatMap { + KFCrossPlatformImage(cgImage: $0, scale: base.scale, orientation: base.imageOrientation) + } + #endif + guard let blurredImage = result else { + assertionFailure("[Kingfisher] Can not make an blurred image within this context.") + return base + } + + return blurredImage + } + + public func addingBorder(_ border: Border) -> KFCrossPlatformImage + { + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Blend mode image only works for CG-based image.") + return base + } + + let rect = CGRect(origin: .zero, size: size) + return draw(to: rect.size, inverting: false) { context in + + #if os(macOS) + base.draw(in: rect) + #else + base.draw(in: rect, blendMode: .normal, alpha: 1.0) + #endif + + + let strokeRect = rect.insetBy(dx: border.lineWidth / 2, dy: border.lineWidth / 2) + context.setStrokeColor(border.color.cgColor) + context.setAlpha(border.color.rgba.a) + + let line = pathForRoundCorner( + rect: strokeRect, + radius: border.radius, + corners: border.roundingCorners, + offsetBase: border.lineWidth + ) + line.lineCapStyle = .square + line.lineWidth = border.lineWidth + line.stroke() + + return false + } + } + + // MARK: Overlay + /// Creates an image from `base` image with a color overlay layer. + /// + /// - Parameters: + /// - color: The color should be use to overlay. + /// - fraction: Fraction of input color. From 0.0 to 1.0. 0.0 means solid color, + /// 1.0 means transparent overlay. + /// - Returns: An image with a color overlay applied. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image, `base` itself is returned. + public func overlaying(with color: KFCrossPlatformColor, fraction: CGFloat) -> KFCrossPlatformImage { + + guard let _ = cgImage else { + assertionFailure("[Kingfisher] Overlaying only works for CG-based image.") + return base + } + + let rect = CGRect(x: 0, y: 0, width: size.width, height: size.height) + return draw(to: rect.size, inverting: false) { context in + #if os(macOS) + base.draw(in: rect) + if fraction > 0 { + color.withAlphaComponent(1 - fraction).set() + rect.fill(using: .sourceAtop) + } + #else + color.set() + UIRectFill(rect) + base.draw(in: rect, blendMode: .destinationIn, alpha: 1.0) + + if fraction > 0 { + base.draw(in: rect, blendMode: .sourceAtop, alpha: fraction) + } + #endif + return false + } + } + + // MARK: Tint + /// Creates an image from `base` image with a color tint. + /// + /// - Parameter color: The color should be used to tint `base` + /// - Returns: An image with a color tint applied. + public func tinted(with color: KFCrossPlatformColor) -> KFCrossPlatformImage { + #if os(watchOS) + return base + #else + return apply(.tint(color)) + #endif + } + + // MARK: Color Control + + /// Create an image from `self` with color control. + /// + /// - Parameters: + /// - brightness: Brightness changing to image. + /// - contrast: Contrast changing to image. + /// - saturation: Saturation changing to image. + /// - inputEV: InputEV changing to image. + /// - Returns: An image with color control applied. + public func adjusted(brightness: CGFloat, contrast: CGFloat, saturation: CGFloat, inputEV: CGFloat) -> KFCrossPlatformImage { + #if os(watchOS) + return base + #else + return apply(.colorControl((brightness, contrast, saturation, inputEV))) + #endif + } + + /// Return an image with given scale. + /// + /// - Parameter scale: Target scale factor the new image should have. + /// - Returns: The image with target scale. If the base image is already in the scale, `base` will be returned. + public func scaled(to scale: CGFloat) -> KFCrossPlatformImage { + guard scale != self.scale else { + return base + } + guard let cgImage = cgImage else { + assertionFailure("[Kingfisher] Scaling only works for CG-based image.") + return base + } + return KingfisherWrapper.image(cgImage: cgImage, scale: scale, refImage: base) + } +} + +// MARK: - Decoding Image +extension KingfisherWrapper where Base: KFCrossPlatformImage { + + /// Returns the decoded image of the `base` image. It will draw the image in a plain context and return the data + /// from it. This could improve the drawing performance when an image is just created from data but not yet + /// displayed for the first time. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image or animated image, `base` itself is returned. + public var decoded: KFCrossPlatformImage { return decoded(scale: scale) } + + /// Returns decoded image of the `base` image at a given scale. It will draw the image in a plain context and + /// return the data from it. This could improve the drawing performance when an image is just created from + /// data but not yet displayed for the first time. + /// + /// - Parameter scale: The given scale of target image should be. + /// - Returns: The decoded image ready to be displayed. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image or animated image, `base` itself is returned. + public func decoded(scale: CGFloat) -> KFCrossPlatformImage { + // Prevent animated image (GIF) losing it's images + #if os(iOS) + if imageSource != nil { return base } + #else + if images != nil { return base } + #endif + + guard let imageRef = cgImage else { + assertionFailure("[Kingfisher] Decoding only works for CG-based image.") + return base + } + + let size = CGSize(width: CGFloat(imageRef.width) / scale, height: CGFloat(imageRef.height) / scale) + return draw(to: size, inverting: true, scale: scale) { context in + context.draw(imageRef, in: CGRect(origin: .zero, size: size)) + return true + } + } + + /// Returns decoded image of the `base` image at a given scale. It will draw the image in a plain context and + /// return the data from it. This could improve the drawing performance when an image is just created from + /// data but not yet displayed for the first time. + /// + /// - Parameter context: The context for drawing. + /// - Returns: The decoded image ready to be displayed. + /// + /// - Note: This method only works for CG-based image. The current image scale is kept. + /// For any non-CG-based image or animated image, `base` itself is returned. + public func decoded(on context: CGContext) -> KFCrossPlatformImage { + // Prevent animated image (GIF) losing it's images + #if os(iOS) + if imageSource != nil { return base } + #else + if images != nil { return base } + #endif + + guard let refImage = cgImage else { + assertionFailure("[Kingfisher] Decoding only works for CG-based image.") + return base + } + + let size = CGSize(width: CGFloat(refImage.width) / scale, height: CGFloat(refImage.height) / scale) + + context.draw(refImage, in: CGRect(origin: .zero, size: size)) + + guard let cgImage = context.makeImage() else { + return base + } + + return KingfisherWrapper.image(cgImage: cgImage, scale: scale, refImage: base) + } +} + +extension KingfisherWrapper where Base: KFCrossPlatformImage { + func draw( + to size: CGSize, + inverting: Bool, + scale: CGFloat? = nil, + refImage: KFCrossPlatformImage? = nil, + draw: (CGContext) -> Bool // Whether use the refImage (`true`) or ignore image orientation (`false`) + ) -> KFCrossPlatformImage + { + #if os(macOS) || os(watchOS) + let targetScale = scale ?? self.scale + GraphicsContext.begin(size: size, scale: targetScale) + guard let context = GraphicsContext.current(size: size, scale: targetScale, inverting: inverting, cgImage: cgImage) else { + assertionFailure("[Kingfisher] Failed to create CG context for blurring image.") + return base + } + defer { GraphicsContext.end() } + let useRefImage = draw(context) + guard let cgImage = context.makeImage() else { + return base + } + let ref = useRefImage ? (refImage ?? base) : nil + return KingfisherWrapper.image(cgImage: cgImage, scale: targetScale, refImage: ref) + #else + + let format = UIGraphicsImageRendererFormat.preferred() + format.scale = scale ?? self.scale + let renderer = UIGraphicsImageRenderer(size: size, format: format) + + var useRefImage: Bool = false + let image = renderer.image { rendererContext in + + let context = rendererContext.cgContext + if inverting { // If drawing a CGImage, we need to make context flipped. + context.scaleBy(x: 1.0, y: -1.0) + context.translateBy(x: 0, y: -size.height) + } + + useRefImage = draw(context) + } + if useRefImage { + guard let cgImage = image.cgImage else { + return base + } + let ref = refImage ?? base + return KingfisherWrapper.image(cgImage: cgImage, scale: format.scale, refImage: ref) + } else { + return image + } + #endif + } + + #if os(macOS) + func fixedForRetinaPixel(cgImage: CGImage, to size: CGSize) -> KFCrossPlatformImage { + + let image = KFCrossPlatformImage(cgImage: cgImage, size: base.size) + let rect = CGRect(origin: CGPoint(x: 0, y: 0), size: size) + + return draw(to: self.size, inverting: false) { context in + image.draw(in: rect, from: .zero, operation: .copy, fraction: 1.0) + return false + } + } + #endif +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/ImageFormat.swift b/Instagram/Pods/Kingfisher/Sources/Image/ImageFormat.swift new file mode 100644 index 0000000..464a855 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/ImageFormat.swift @@ -0,0 +1,130 @@ +// +// ImageFormat.swift +// Kingfisher +// +// Created by onevcat on 2018/09/28. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents image format. +/// +/// - unknown: The format cannot be recognized or not supported yet. +/// - PNG: PNG image format. +/// - JPEG: JPEG image format. +/// - GIF: GIF image format. +public enum ImageFormat { + /// The format cannot be recognized or not supported yet. + case unknown + /// PNG image format. + case PNG + /// JPEG image format. + case JPEG + /// GIF image format. + case GIF + + struct HeaderData { + static var PNG: [UInt8] = [0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A] + static var JPEG_SOI: [UInt8] = [0xFF, 0xD8] + static var JPEG_IF: [UInt8] = [0xFF] + static var GIF: [UInt8] = [0x47, 0x49, 0x46] + } + + /// https://en.wikipedia.org/wiki/JPEG + public enum JPEGMarker { + case SOF0 //baseline + case SOF2 //progressive + case DHT //Huffman Table + case DQT //Quantization Table + case DRI //Restart Interval + case SOS //Start Of Scan + case RSTn(UInt8) //Restart + case APPn //Application-specific + case COM //Comment + case EOI //End Of Image + + var bytes: [UInt8] { + switch self { + case .SOF0: return [0xFF, 0xC0] + case .SOF2: return [0xFF, 0xC2] + case .DHT: return [0xFF, 0xC4] + case .DQT: return [0xFF, 0xDB] + case .DRI: return [0xFF, 0xDD] + case .SOS: return [0xFF, 0xDA] + case .RSTn(let n): return [0xFF, 0xD0 + n] + case .APPn: return [0xFF, 0xE0] + case .COM: return [0xFF, 0xFE] + case .EOI: return [0xFF, 0xD9] + } + } + } +} + + +extension Data: KingfisherCompatibleValue {} + +// MARK: - Misc Helpers +extension KingfisherWrapper where Base == Data { + /// Gets the image format corresponding to the data. + public var imageFormat: ImageFormat { + guard base.count > 8 else { return .unknown } + + var buffer = [UInt8](repeating: 0, count: 8) + base.copyBytes(to: &buffer, count: 8) + + if buffer == ImageFormat.HeaderData.PNG { + return .PNG + + } else if buffer[0] == ImageFormat.HeaderData.JPEG_SOI[0], + buffer[1] == ImageFormat.HeaderData.JPEG_SOI[1], + buffer[2] == ImageFormat.HeaderData.JPEG_IF[0] + { + return .JPEG + + } else if buffer[0] == ImageFormat.HeaderData.GIF[0], + buffer[1] == ImageFormat.HeaderData.GIF[1], + buffer[2] == ImageFormat.HeaderData.GIF[2] + { + return .GIF + } + + return .unknown + } + + public func contains(jpeg marker: ImageFormat.JPEGMarker) -> Bool { + guard imageFormat == .JPEG else { + return false + } + + let bytes = [UInt8](base) + let markerBytes = marker.bytes + for (index, item) in bytes.enumerated() where bytes.count > index + 1 { + guard + item == markerBytes.first, + bytes[index + 1] == markerBytes[1] else { + continue + } + return true + } + return false + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/ImageProcessor.swift b/Instagram/Pods/Kingfisher/Sources/Image/ImageProcessor.swift new file mode 100644 index 0000000..2123822 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/ImageProcessor.swift @@ -0,0 +1,935 @@ +// +// ImageProcessor.swift +// Kingfisher +// +// Created by Wei Wang on 2016/08/26. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CoreGraphics + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +#endif + +/// Represents an item which could be processed by an `ImageProcessor`. +/// +/// - image: Input image. The processor should provide a way to apply +/// processing on this `image` and return the result image. +/// - data: Input data. The processor should provide a way to apply +/// processing on this `data` and return the result image. +public enum ImageProcessItem { + + /// Input image. The processor should provide a way to apply + /// processing on this `image` and return the result image. + case image(KFCrossPlatformImage) + + /// Input data. The processor should provide a way to apply + /// processing on this `data` and return the result image. + case data(Data) +} + +/// An `ImageProcessor` would be used to convert some downloaded data to an image. +public protocol ImageProcessor { + /// Identifier of the processor. It will be used to identify the processor when + /// caching and retrieving an image. You might want to make sure that processors with + /// same properties/functionality have the same identifiers, so correct processed images + /// could be retrieved with proper key. + /// + /// - Note: Do not supply an empty string for a customized processor, which is already reserved by + /// the `DefaultImageProcessor`. It is recommended to use a reverse domain name notation string of + /// your own for the identifier. + var identifier: String { get } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: The parsed options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: The return value should be `nil` if processing failed while converting an input item to image. + /// If `nil` received by the processing caller, an error will be reported and the process flow stops. + /// If the processing flow is not critical for your flow, then when the input item is already an image + /// (`.image` case) and there is any errors in the processing, you could return the input image itself + /// to keep the processing pipeline continuing. + /// - Note: Most processor only supports CG-based images. watchOS is not supported for processors containing + /// a filter, the input image will be returned directly on watchOS. + func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? +} + +extension ImageProcessor { + + /// Appends an `ImageProcessor` to another. The identifier of the new `ImageProcessor` + /// will be "\(self.identifier)|>\(another.identifier)". + /// + /// - Parameter another: An `ImageProcessor` you want to append to `self`. + /// - Returns: The new `ImageProcessor` will process the image in the order + /// of the two processors concatenated. + public func append(another: ImageProcessor) -> ImageProcessor { + let newIdentifier = identifier.appending("|>\(another.identifier)") + return GeneralProcessor(identifier: newIdentifier) { + item, options in + if let image = self.process(item: item, options: options) { + return another.process(item: .image(image), options: options) + } else { + return nil + } + } + } +} + +func ==(left: ImageProcessor, right: ImageProcessor) -> Bool { + return left.identifier == right.identifier +} + +func !=(left: ImageProcessor, right: ImageProcessor) -> Bool { + return !(left == right) +} + +typealias ProcessorImp = ((ImageProcessItem, KingfisherParsedOptionsInfo) -> KFCrossPlatformImage?) +struct GeneralProcessor: ImageProcessor { + let identifier: String + let p: ProcessorImp + func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + return p(item, options) + } +} + +/// The default processor. It converts the input data to a valid image. +/// Images of .PNG, .JPEG and .GIF format are supported. +/// If an image item is given as `.image` case, `DefaultImageProcessor` will +/// do nothing on it and return the associated image. +public struct DefaultImageProcessor: ImageProcessor { + + /// A default `DefaultImageProcessor` could be used across. + public static let `default` = DefaultImageProcessor() + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier = "" + + /// Creates a `DefaultImageProcessor`. Use `DefaultImageProcessor.default` to get an instance, + /// if you do not have a good reason to create your own `DefaultImageProcessor`. + public init() {} + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + case .data(let data): + return KingfisherWrapper.image(data: data, options: options.imageCreatingOptions) + } + } +} + +/// Represents the rect corner setting when processing a round corner image. +public struct RectCorner: OptionSet { + + /// Raw value of the rect corner. + public let rawValue: Int + + /// Represents the top left corner. + public static let topLeft = RectCorner(rawValue: 1 << 0) + + /// Represents the top right corner. + public static let topRight = RectCorner(rawValue: 1 << 1) + + /// Represents the bottom left corner. + public static let bottomLeft = RectCorner(rawValue: 1 << 2) + + /// Represents the bottom right corner. + public static let bottomRight = RectCorner(rawValue: 1 << 3) + + /// Represents all corners. + public static let all: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight] + + /// Creates a `RectCorner` option set with a given value. + /// + /// - Parameter rawValue: The value represents a certain corner option. + public init(rawValue: Int) { + self.rawValue = rawValue + } + + var cornerIdentifier: String { + if self == .all { + return "" + } + return "_corner(\(rawValue))" + } +} + +#if !os(macOS) +/// Processor for adding an blend mode to images. Only CG-based images are supported. +public struct BlendImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Blend Mode will be used to blend the input image. + public let blendMode: CGBlendMode + + /// Alpha will be used when blend image. + public let alpha: CGFloat + + /// Background color of the output image. If `nil`, it will stay transparent. + public let backgroundColor: KFCrossPlatformColor? + + /// Creates a `BlendImageProcessor`. + /// + /// - Parameters: + /// - blendMode: Blend Mode will be used to blend the input image. + /// - alpha: Alpha will be used when blend image. From 0.0 to 1.0. 1.0 means solid image, + /// 0.0 means transparent image (not visible at all). Default is 1.0. + /// - backgroundColor: Background color to apply for the output image. Default is `nil`. + public init(blendMode: CGBlendMode, alpha: CGFloat = 1.0, backgroundColor: KFCrossPlatformColor? = nil) { + self.blendMode = blendMode + self.alpha = alpha + self.backgroundColor = backgroundColor + var identifier = "com.onevcat.Kingfisher.BlendImageProcessor(\(blendMode.rawValue),\(alpha))" + if let color = backgroundColor { + identifier.append("_\(color.rgbaDescription)") + } + self.identifier = identifier + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.image(withBlendMode: blendMode, alpha: alpha, backgroundColor: backgroundColor) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} +#endif + +#if os(macOS) +/// Processor for adding an compositing operation to images. Only CG-based images are supported in macOS. +public struct CompositingImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Compositing operation will be used to the input image. + public let compositingOperation: NSCompositingOperation + + /// Alpha will be used when compositing image. + public let alpha: CGFloat + + /// Background color of the output image. If `nil`, it will stay transparent. + public let backgroundColor: KFCrossPlatformColor? + + /// Creates a `CompositingImageProcessor` + /// + /// - Parameters: + /// - compositingOperation: Compositing operation will be used to the input image. + /// - alpha: Alpha will be used when compositing image. + /// From 0.0 to 1.0. 1.0 means solid image, 0.0 means transparent image. + /// Default is 1.0. + /// - backgroundColor: Background color to apply for the output image. Default is `nil`. + public init(compositingOperation: NSCompositingOperation, + alpha: CGFloat = 1.0, + backgroundColor: KFCrossPlatformColor? = nil) + { + self.compositingOperation = compositingOperation + self.alpha = alpha + self.backgroundColor = backgroundColor + var identifier = "com.onevcat.Kingfisher.CompositingImageProcessor(\(compositingOperation.rawValue),\(alpha))" + if let color = backgroundColor { + identifier.append("_\(color.rgbaDescription)") + } + self.identifier = identifier + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.image( + withCompositingOperation: compositingOperation, + alpha: alpha, + backgroundColor: backgroundColor) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} +#endif + +/// Represents a radius specified in a `RoundCornerImageProcessor`. +public enum Radius { + /// The radius should be calculated as a fraction of the image width. Typically the associated value should be + /// between 0 and 0.5, where 0 represents no radius and 0.5 represents using half of the image width. + case widthFraction(CGFloat) + /// The radius should be calculated as a fraction of the image height. Typically the associated value should be + /// between 0 and 0.5, where 0 represents no radius and 0.5 represents using half of the image height. + case heightFraction(CGFloat) + /// Use a fixed point value as the round corner radius. + case point(CGFloat) + + var radiusIdentifier: String { + switch self { + case .widthFraction(let f): + return "w_frac_\(f)" + case .heightFraction(let f): + return "h_frac_\(f)" + case .point(let p): + return p.description + } + } + + public func compute(with size: CGSize) -> CGFloat { + let cornerRadius: CGFloat + switch self { + case .point(let point): + cornerRadius = point + case .widthFraction(let widthFraction): + cornerRadius = size.width * widthFraction + case .heightFraction(let heightFraction): + cornerRadius = size.height * heightFraction + } + return cornerRadius + } +} + +/// Processor for making round corner images. Only CG-based images are supported in macOS, +/// if a non-CG image passed in, the processor will do nothing. +/// +/// - Note: The input image will be rendered with round corner pixels removed. If the image itself does not contain +/// alpha channel (for example, a JPEG image), the processed image will contain an alpha channel in memory in order +/// to show correctly. However, when cached to disk, Kingfisher respects the original image format by default. That +/// means the alpha channel will be removed for these images. When you load the processed image from cache again, you +/// will lose transparent corner. +/// +/// You could use `FormatIndicatedCacheSerializer.png` to force Kingfisher to serialize the image to PNG format in this +/// case. +/// +public struct RoundCornerImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// The radius will be applied in processing. Specify a certain point value with `.point`, or a fraction of the + /// target image with `.widthFraction`. or `.heightFraction`. For example, given a square image with width and + /// height equals, `.widthFraction(0.5)` means use half of the length of size and makes the final image a round one. + public let radius: Radius + + /// The target corners which will be applied rounding. + public let roundingCorners: RectCorner + + /// Target size of output image should be. If `nil`, the image will keep its original size after processing. + public let targetSize: CGSize? + + /// Background color of the output image. If `nil`, it will use a transparent background. + public let backgroundColor: KFCrossPlatformColor? + + /// Creates a `RoundCornerImageProcessor`. + /// + /// - Parameters: + /// - cornerRadius: Corner radius in point will be applied in processing. + /// - targetSize: Target size of output image should be. If `nil`, + /// the image will keep its original size after processing. + /// Default is `nil`. + /// - corners: The target corners which will be applied rounding. Default is `.all`. + /// - backgroundColor: Background color to apply for the output image. Default is `nil`. + /// + /// - Note: + /// + /// This initializer accepts a concrete point value for `cornerRadius`. If you do not know the image size, but still + /// want to apply a full round-corner (making the final image a round one), or specify the corner radius as a + /// fraction of one dimension of the target image, use the `Radius` version instead. + /// + public init( + cornerRadius: CGFloat, + targetSize: CGSize? = nil, + roundingCorners corners: RectCorner = .all, + backgroundColor: KFCrossPlatformColor? = nil + ) + { + let radius = Radius.point(cornerRadius) + self.init(radius: radius, targetSize: targetSize, roundingCorners: corners, backgroundColor: backgroundColor) + } + + /// Creates a `RoundCornerImageProcessor`. + /// + /// - Parameters: + /// - radius: The radius will be applied in processing. + /// - targetSize: Target size of output image should be. If `nil`, + /// the image will keep its original size after processing. + /// Default is `nil`. + /// - corners: The target corners which will be applied rounding. Default is `.all`. + /// - backgroundColor: Background color to apply for the output image. Default is `nil`. + public init( + radius: Radius, + targetSize: CGSize? = nil, + roundingCorners corners: RectCorner = .all, + backgroundColor: KFCrossPlatformColor? = nil + ) + { + self.radius = radius + self.targetSize = targetSize + self.roundingCorners = corners + self.backgroundColor = backgroundColor + + self.identifier = { + var identifier = "" + + if let size = targetSize { + identifier = "com.onevcat.Kingfisher.RoundCornerImageProcessor" + + "(\(radius.radiusIdentifier)_\(size)\(corners.cornerIdentifier))" + } else { + identifier = "com.onevcat.Kingfisher.RoundCornerImageProcessor" + + "(\(radius.radiusIdentifier)\(corners.cornerIdentifier))" + } + if let backgroundColor = backgroundColor { + identifier += "_\(backgroundColor)" + } + + return identifier + }() + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + let size = targetSize ?? image.kf.size + return image.kf.scaled(to: options.scaleFactor) + .kf.image( + withRadius: radius, + fit: size, + roundingCorners: roundingCorners, + backgroundColor: backgroundColor) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +public struct Border { + public var color: KFCrossPlatformColor + public var lineWidth: CGFloat + + /// The radius will be applied in processing. Specify a certain point value with `.point`, or a fraction of the + /// target image with `.widthFraction`. or `.heightFraction`. For example, given a square image with width and + /// height equals, `.widthFraction(0.5)` means use half of the length of size and makes the final image a round one. + public var radius: Radius + + /// The target corners which will be applied rounding. + public var roundingCorners: RectCorner + + public init( + color: KFCrossPlatformColor = .black, + lineWidth: CGFloat = 4, + radius: Radius = .point(0), + roundingCorners: RectCorner = .all + ) { + self.color = color + self.lineWidth = lineWidth + self.radius = radius + self.roundingCorners = roundingCorners + } + + var identifier: String { + "\(color.rgbaDescription)_\(lineWidth)_\(radius.radiusIdentifier)_\(roundingCorners.cornerIdentifier)" + } +} + +public struct BorderImageProcessor: ImageProcessor { + public var identifier: String { "com.onevcat.Kingfisher.RoundCornerImageProcessor(\(border)" } + public let border: Border + + public init(border: Border) { + self.border = border + } + + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.addingBorder(border) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Represents how a size adjusts itself to fit a target size. +/// +/// - none: Not scale the content. +/// - aspectFit: Scales the content to fit the size of the view by maintaining the aspect ratio. +/// - aspectFill: Scales the content to fill the size of the view. +public enum ContentMode { + /// Not scale the content. + case none + /// Scales the content to fit the size of the view by maintaining the aspect ratio. + case aspectFit + /// Scales the content to fill the size of the view. + case aspectFill +} + +/// Processor for resizing images. +/// If you need to resize a data represented image to a smaller size, use `DownsamplingImageProcessor` +/// instead, which is more efficient and uses less memory. +public struct ResizingImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// The reference size for resizing operation in point. + public let referenceSize: CGSize + + /// Target content mode of output image should be. + /// Default is `.none`. + public let targetContentMode: ContentMode + + /// Creates a `ResizingImageProcessor`. + /// + /// - Parameters: + /// - referenceSize: The reference size for resizing operation in point. + /// - mode: Target content mode of output image should be. + /// + /// - Note: + /// The instance of `ResizingImageProcessor` will follow its `mode` property + /// and try to resizing the input images to fit or fill the `referenceSize`. + /// That means if you are using a `mode` besides of `.none`, you may get an + /// image with its size not be the same as the `referenceSize`. + /// + /// **Example**: With input image size: {100, 200}, + /// `referenceSize`: {100, 100}, `mode`: `.aspectFit`, + /// you will get an output image with size of {50, 100}, which "fit"s + /// the `referenceSize`. + /// + /// If you need an output image exactly to be a specified size, append or use + /// a `CroppingImageProcessor`. + public init(referenceSize: CGSize, mode: ContentMode = .none) { + self.referenceSize = referenceSize + self.targetContentMode = mode + + if mode == .none { + self.identifier = "com.onevcat.Kingfisher.ResizingImageProcessor(\(referenceSize))" + } else { + self.identifier = "com.onevcat.Kingfisher.ResizingImageProcessor(\(referenceSize), \(mode))" + } + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.resize(to: referenceSize, for: targetContentMode) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for adding blur effect to images. `Accelerate.framework` is used underhood for +/// a better performance. A simulated Gaussian blur with specified blur radius will be applied. +public struct BlurImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Blur radius for the simulated Gaussian blur. + public let blurRadius: CGFloat + + /// Creates a `BlurImageProcessor` + /// + /// - parameter blurRadius: Blur radius for the simulated Gaussian blur. + public init(blurRadius: CGFloat) { + self.blurRadius = blurRadius + self.identifier = "com.onevcat.Kingfisher.BlurImageProcessor(\(blurRadius))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + let radius = blurRadius * options.scaleFactor + return image.kf.scaled(to: options.scaleFactor) + .kf.blurred(withRadius: radius) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for adding an overlay to images. Only CG-based images are supported in macOS. +public struct OverlayImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Overlay color will be used to overlay the input image. + public let overlay: KFCrossPlatformColor + + /// Fraction will be used when overlay the color to image. + public let fraction: CGFloat + + /// Creates an `OverlayImageProcessor` + /// + /// - parameter overlay: Overlay color will be used to overlay the input image. + /// - parameter fraction: Fraction will be used when overlay the color to image. + /// From 0.0 to 1.0. 0.0 means solid color, 1.0 means transparent overlay. + public init(overlay: KFCrossPlatformColor, fraction: CGFloat = 0.5) { + self.overlay = overlay + self.fraction = fraction + self.identifier = "com.onevcat.Kingfisher.OverlayImageProcessor(\(overlay.rgbaDescription)_\(fraction))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.overlaying(with: overlay, fraction: fraction) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for tint images with color. Only CG-based images are supported. +public struct TintImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Tint color will be used to tint the input image. + public let tint: KFCrossPlatformColor + + /// Creates a `TintImageProcessor` + /// + /// - parameter tint: Tint color will be used to tint the input image. + public init(tint: KFCrossPlatformColor) { + self.tint = tint + self.identifier = "com.onevcat.Kingfisher.TintImageProcessor(\(tint.rgbaDescription))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.tinted(with: tint) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for applying some color control to images. Only CG-based images are supported. +/// watchOS is not supported. +public struct ColorControlsProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Brightness changing to image. + public let brightness: CGFloat + + /// Contrast changing to image. + public let contrast: CGFloat + + /// Saturation changing to image. + public let saturation: CGFloat + + /// InputEV changing to image. + public let inputEV: CGFloat + + /// Creates a `ColorControlsProcessor` + /// + /// - Parameters: + /// - brightness: Brightness changing to image. + /// - contrast: Contrast changing to image. + /// - saturation: Saturation changing to image. + /// - inputEV: InputEV changing to image. + public init(brightness: CGFloat, contrast: CGFloat, saturation: CGFloat, inputEV: CGFloat) { + self.brightness = brightness + self.contrast = contrast + self.saturation = saturation + self.inputEV = inputEV + self.identifier = "com.onevcat.Kingfisher.ColorControlsProcessor(\(brightness)_\(contrast)_\(saturation)_\(inputEV))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.adjusted(brightness: brightness, contrast: contrast, saturation: saturation, inputEV: inputEV) + case .data: + return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for applying black and white effect to images. Only CG-based images are supported. +/// watchOS is not supported. +public struct BlackWhiteProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier = "com.onevcat.Kingfisher.BlackWhiteProcessor" + + /// Creates a `BlackWhiteProcessor` + public init() {} + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + return ColorControlsProcessor(brightness: 0.0, contrast: 1.0, saturation: 0.0, inputEV: 0.7) + .process(item: item, options: options) + } +} + +/// Processor for cropping an image. Only CG-based images are supported. +/// watchOS is not supported. +public struct CroppingImageProcessor: ImageProcessor { + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Target size of output image should be. + public let size: CGSize + + /// Anchor point from which the output size should be calculate. + /// The anchor point is consisted by two values between 0.0 and 1.0. + /// It indicates a related point in current image. + /// See `CroppingImageProcessor.init(size:anchor:)` for more. + public let anchor: CGPoint + + /// Creates a `CroppingImageProcessor`. + /// + /// - Parameters: + /// - size: Target size of output image should be. + /// - anchor: The anchor point from which the size should be calculated. + /// Default is `CGPoint(x: 0.5, y: 0.5)`, which means the center of input image. + /// - Note: + /// The anchor point is consisted by two values between 0.0 and 1.0. + /// It indicates a related point in current image, eg: (0.0, 0.0) for top-left + /// corner, (0.5, 0.5) for center and (1.0, 1.0) for bottom-right corner. + /// The `size` property of `CroppingImageProcessor` will be used along with + /// `anchor` to calculate a target rectangle in the size of image. + /// + /// The target size will be automatically calculated with a reasonable behavior. + /// For example, when you have an image size of `CGSize(width: 100, height: 100)`, + /// and a target size of `CGSize(width: 20, height: 20)`: + /// - with a (0.0, 0.0) anchor (top-left), the crop rect will be `{0, 0, 20, 20}`; + /// - with a (0.5, 0.5) anchor (center), it will be `{40, 40, 20, 20}` + /// - while with a (1.0, 1.0) anchor (bottom-right), it will be `{80, 80, 20, 20}` + public init(size: CGSize, anchor: CGPoint = CGPoint(x: 0.5, y: 0.5)) { + self.size = size + self.anchor = anchor + self.identifier = "com.onevcat.Kingfisher.CroppingImageProcessor(\(size)_\(anchor))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + return image.kf.scaled(to: options.scaleFactor) + .kf.crop(to: size, anchorOn: anchor) + case .data: return (DefaultImageProcessor.default |> self).process(item: item, options: options) + } + } +} + +/// Processor for downsampling an image. Compared to `ResizingImageProcessor`, this processor +/// does not render the images to resize. Instead, it downsamples the input data directly to an +/// image. It is a more efficient than `ResizingImageProcessor`. Prefer to use `DownsamplingImageProcessor` as possible +/// as you can than the `ResizingImageProcessor`. +/// +/// Only CG-based images are supported. Animated images (like GIF) is not supported. +public struct DownsamplingImageProcessor: ImageProcessor { + + /// Target size of output image should be. It should be smaller than the size of + /// input image. If it is larger, the result image will be the same size of input + /// data without downsampling. + public let size: CGSize + + /// Identifier of the processor. + /// - Note: See documentation of `ImageProcessor` protocol for more. + public let identifier: String + + /// Creates a `DownsamplingImageProcessor`. + /// + /// - Parameter size: The target size of the downsample operation. + public init(size: CGSize) { + self.size = size + self.identifier = "com.onevcat.Kingfisher.DownsamplingImageProcessor(\(size))" + } + + /// Processes the input `ImageProcessItem` with this processor. + /// + /// - Parameters: + /// - item: Input item which will be processed by `self`. + /// - options: Options when processing the item. + /// - Returns: The processed image. + /// + /// - Note: See documentation of `ImageProcessor` protocol for more. + public func process(item: ImageProcessItem, options: KingfisherParsedOptionsInfo) -> KFCrossPlatformImage? { + switch item { + case .image(let image): + guard let data = image.kf.data(format: .unknown) else { + return nil + } + return KingfisherWrapper.downsampledImage(data: data, to: size, scale: options.scaleFactor) + case .data(let data): + return KingfisherWrapper.downsampledImage(data: data, to: size, scale: options.scaleFactor) + } + } +} + +infix operator |>: AdditionPrecedence +public func |>(left: ImageProcessor, right: ImageProcessor) -> ImageProcessor { + return left.append(another: right) +} + +extension KFCrossPlatformColor { + + var rgba: (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat) { + var r: CGFloat = 0 + var g: CGFloat = 0 + var b: CGFloat = 0 + var a: CGFloat = 0 + + #if os(macOS) + (usingColorSpace(.extendedSRGB) ?? self).getRed(&r, green: &g, blue: &b, alpha: &a) + #else + getRed(&r, green: &g, blue: &b, alpha: &a) + #endif + + return (r, g, b, a) + } + + var rgbaDescription: String { + let components = self.rgba + return String(format: "(%.2f,%.2f,%.2f,%.2f)", components.r, components.g, components.b, components.a) + } + + @available(*, deprecated, message: "`hex` is not safe for colors in extended space. Do not use this.") + var hex: String { + + let (r, g, b, a) = rgba + + let rInt = Int(r * 255) << 24 + let gInt = Int(g * 255) << 16 + let bInt = Int(b * 255) << 8 + let aInt = Int(a * 255) + + let rgba = rInt | gInt | bInt | aInt + + return String(format:"#%08x", rgba) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/ImageProgressive.swift b/Instagram/Pods/Kingfisher/Sources/Image/ImageProgressive.swift new file mode 100644 index 0000000..0e4f3cb --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/ImageProgressive.swift @@ -0,0 +1,328 @@ +// +// ImageProgressive.swift +// Kingfisher +// +// Created by lixiang on 2019/5/10. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CoreGraphics + +private let sharedProcessingQueue: CallbackQueue = + .dispatch(DispatchQueue(label: "com.onevcat.Kingfisher.ImageDownloader.Process")) + +public struct ImageProgressive { + + /// A default `ImageProgressive` could be used across. It blurs the progressive loading with the fastest + /// scan enabled and scan interval as 0. + public static let `default` = ImageProgressive( + isBlur: true, + isFastestScan: true, + scanInterval: 0 + ) + + /// Whether to enable blur effect processing + let isBlur: Bool + /// Whether to enable the fastest scan + let isFastestScan: Bool + /// Minimum time interval for each scan + let scanInterval: TimeInterval + + public init(isBlur: Bool, + isFastestScan: Bool, + scanInterval: TimeInterval + ) + { + self.isBlur = isBlur + self.isFastestScan = isFastestScan + self.scanInterval = scanInterval + } +} + +protocol ImageSettable: AnyObject { + var image: KFCrossPlatformImage? { get set } +} + +final class ImageProgressiveProvider: DataReceivingSideEffect { + + var onShouldApply: () -> Bool = { return true } + + func onDataReceived(_ session: URLSession, task: SessionDataTask, data: Data) { + + DispatchQueue.main.async { + guard self.onShouldApply() else { return } + self.update(data: task.mutableData, with: task.callbacks) + } + } + + private let option: ImageProgressive + private let refresh: (KFCrossPlatformImage) -> Void + + private let decoder: ImageProgressiveDecoder + private let queue = ImageProgressiveSerialQueue() + + init?(_ options: KingfisherParsedOptionsInfo, + refresh: @escaping (KFCrossPlatformImage) -> Void) { + guard let option = options.progressiveJPEG else { return nil } + + self.option = option + self.refresh = refresh + self.decoder = ImageProgressiveDecoder( + option, + processingQueue: options.processingQueue ?? sharedProcessingQueue, + creatingOptions: options.imageCreatingOptions + ) + } + + func update(data: Data, with callbacks: [SessionDataTask.TaskCallback]) { + guard !data.isEmpty else { return } + + queue.add(minimum: option.scanInterval) { completion in + + func decode(_ data: Data) { + self.decoder.decode(data, with: callbacks) { image in + defer { completion() } + guard self.onShouldApply() else { return } + guard let image = image else { return } + self.refresh(image) + } + } + + let semaphore = DispatchSemaphore(value: 0) + var onShouldApply: Bool = false + + CallbackQueue.mainAsync.execute { + onShouldApply = self.onShouldApply() + semaphore.signal() + } + semaphore.wait() + guard onShouldApply else { + self.queue.clean() + completion() + return + } + + if self.option.isFastestScan { + decode(self.decoder.scanning(data) ?? Data()) + } else { + self.decoder.scanning(data).forEach { decode($0) } + } + } + } +} + +private final class ImageProgressiveDecoder { + + private let option: ImageProgressive + private let processingQueue: CallbackQueue + private let creatingOptions: ImageCreatingOptions + private(set) var scannedCount = 0 + private(set) var scannedIndex = -1 + + init(_ option: ImageProgressive, + processingQueue: CallbackQueue, + creatingOptions: ImageCreatingOptions) { + self.option = option + self.processingQueue = processingQueue + self.creatingOptions = creatingOptions + } + + func scanning(_ data: Data) -> [Data] { + guard data.kf.contains(jpeg: .SOF2) else { + return [] + } + guard scannedIndex + 1 < data.count else { + return [] + } + + var datas: [Data] = [] + var index = scannedIndex + 1 + var count = scannedCount + + while index < data.count - 1 { + scannedIndex = index + // 0xFF, 0xDA - Start Of Scan + let SOS = ImageFormat.JPEGMarker.SOS.bytes + if data[index] == SOS[0], data[index + 1] == SOS[1] { + if count > 0 { + datas.append(data[0 ..< index]) + } + count += 1 + } + index += 1 + } + + // Found more scans this the previous time + guard count > scannedCount else { return [] } + scannedCount = count + + // `> 1` checks that we've received a first scan (SOS) and then received + // and also received a second scan (SOS). This way we know that we have + // at least one full scan available. + guard count > 1 else { return [] } + return datas + } + + func scanning(_ data: Data) -> Data? { + guard data.kf.contains(jpeg: .SOF2) else { + return nil + } + guard scannedIndex + 1 < data.count else { + return nil + } + + var index = scannedIndex + 1 + var count = scannedCount + var lastSOSIndex = 0 + + while index < data.count - 1 { + scannedIndex = index + // 0xFF, 0xDA - Start Of Scan + let SOS = ImageFormat.JPEGMarker.SOS.bytes + if data[index] == SOS[0], data[index + 1] == SOS[1] { + lastSOSIndex = index + count += 1 + } + index += 1 + } + + // Found more scans this the previous time + guard count > scannedCount else { return nil } + scannedCount = count + + // `> 1` checks that we've received a first scan (SOS) and then received + // and also received a second scan (SOS). This way we know that we have + // at least one full scan available. + guard count > 1 && lastSOSIndex > 0 else { return nil } + return data[0 ..< lastSOSIndex] + } + + func decode(_ data: Data, + with callbacks: [SessionDataTask.TaskCallback], + completion: @escaping (KFCrossPlatformImage?) -> Void) { + guard data.kf.contains(jpeg: .SOF2) else { + CallbackQueue.mainCurrentOrAsync.execute { completion(nil) } + return + } + + func processing(_ data: Data) { + let processor = ImageDataProcessor( + data: data, + callbacks: callbacks, + processingQueue: processingQueue + ) + processor.onImageProcessed.delegate(on: self) { (self, result) in + guard let image = try? result.0.get() else { + CallbackQueue.mainCurrentOrAsync.execute { completion(nil) } + return + } + + CallbackQueue.mainCurrentOrAsync.execute { completion(image) } + } + processor.process() + } + + // Blur partial images. + let count = scannedCount + + if option.isBlur, count < 6 { + processingQueue.execute { + // Progressively reduce blur as we load more scans. + let image = KingfisherWrapper.image( + data: data, + options: self.creatingOptions + ) + let radius = max(2, 14 - count * 4) + let temp = image?.kf.blurred(withRadius: CGFloat(radius)) + processing(temp?.kf.data(format: .JPEG) ?? data) + } + + } else { + processing(data) + } + } +} + +private final class ImageProgressiveSerialQueue { + typealias ClosureCallback = ((@escaping () -> Void)) -> Void + + private let queue: DispatchQueue + private var items: [DispatchWorkItem] = [] + private var notify: (() -> Void)? + private var lastTime: TimeInterval? + var count: Int { return items.count } + + init() { + self.queue = DispatchQueue(label: "com.onevcat.Kingfisher.ImageProgressive.SerialQueue") + } + + func add(minimum interval: TimeInterval, closure: @escaping ClosureCallback) { + let completion = { [weak self] in + guard let self = self else { return } + + self.queue.async { [weak self] in + guard let self = self else { return } + guard !self.items.isEmpty else { return } + + self.items.removeFirst() + + if let next = self.items.first { + self.queue.asyncAfter( + deadline: .now() + interval, + execute: next + ) + + } else { + self.lastTime = Date().timeIntervalSince1970 + self.notify?() + self.notify = nil + } + } + } + + queue.async { [weak self] in + guard let self = self else { return } + + let item = DispatchWorkItem { + closure(completion) + } + if self.items.isEmpty { + let difference = Date().timeIntervalSince1970 - (self.lastTime ?? 0) + let delay = difference < interval ? interval - difference : 0 + self.queue.asyncAfter(deadline: .now() + delay, execute: item) + } + self.items.append(item) + } + } + + func notify(_ closure: @escaping () -> Void) { + self.notify = closure + } + + func clean() { + queue.async { [weak self] in + guard let self = self else { return } + self.items.forEach { $0.cancel() } + self.items.removeAll() + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Image/ImageTransition.swift b/Instagram/Pods/Kingfisher/Sources/Image/ImageTransition.swift new file mode 100644 index 0000000..4d042df --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/ImageTransition.swift @@ -0,0 +1,118 @@ +// +// ImageTransition.swift +// Kingfisher +// +// Created by Wei Wang on 15/9/18. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +#if os(iOS) || os(tvOS) +import UIKit + +/// Transition effect which will be used when an image downloaded and set by `UIImageView` +/// extension API in Kingfisher. You can assign an enum value with transition duration as +/// an item in `KingfisherOptionsInfo` to enable the animation transition. +/// +/// Apple's UIViewAnimationOptions is used under the hood. +/// For custom transition, you should specified your own transition options, animations and +/// completion handler as well. +/// +/// - none: No animation transition. +/// - fade: Fade in the loaded image in a given duration. +/// - flipFromLeft: Flip from left transition. +/// - flipFromRight: Flip from right transition. +/// - flipFromTop: Flip from top transition. +/// - flipFromBottom: Flip from bottom transition. +/// - custom: Custom transition. +public enum ImageTransition { + /// No animation transition. + case none + /// Fade in the loaded image in a given duration. + case fade(TimeInterval) + /// Flip from left transition. + case flipFromLeft(TimeInterval) + /// Flip from right transition. + case flipFromRight(TimeInterval) + /// Flip from top transition. + case flipFromTop(TimeInterval) + /// Flip from bottom transition. + case flipFromBottom(TimeInterval) + /// Custom transition defined by a general animation block. + /// - duration: The time duration of this custom transition. + /// - options: `UIView.AnimationOptions` should be used in the transition. + /// - animations: The animation block will be applied when setting image. + /// - completion: A block called when the transition animation finishes. + case custom(duration: TimeInterval, + options: UIView.AnimationOptions, + animations: ((UIImageView, UIImage) -> Void)?, + completion: ((Bool) -> Void)?) + + var duration: TimeInterval { + switch self { + case .none: return 0 + case .fade(let duration): return duration + + case .flipFromLeft(let duration): return duration + case .flipFromRight(let duration): return duration + case .flipFromTop(let duration): return duration + case .flipFromBottom(let duration): return duration + + case .custom(let duration, _, _, _): return duration + } + } + + var animationOptions: UIView.AnimationOptions { + switch self { + case .none: return [] + case .fade: return .transitionCrossDissolve + + case .flipFromLeft: return .transitionFlipFromLeft + case .flipFromRight: return .transitionFlipFromRight + case .flipFromTop: return .transitionFlipFromTop + case .flipFromBottom: return .transitionFlipFromBottom + + case .custom(_, let options, _, _): return options + } + } + + var animations: ((UIImageView, UIImage) -> Void)? { + switch self { + case .custom(_, _, let animations, _): return animations + default: return { $0.image = $1 } + } + } + + var completion: ((Bool) -> Void)? { + switch self { + case .custom(_, _, _, let completion): return completion + default: return nil + } + } +} +#else +// Just a placeholder for compiling on macOS. +public enum ImageTransition { + case none + /// This is a placeholder on macOS now. It is for SwiftUI (KFImage) to identify the fade option only. + case fade(TimeInterval) +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Image/Placeholder.swift b/Instagram/Pods/Kingfisher/Sources/Image/Placeholder.swift new file mode 100644 index 0000000..94d9e3a --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Image/Placeholder.swift @@ -0,0 +1,82 @@ +// +// Placeholder.swift +// Kingfisher +// +// Created by Tieme van Veen on 28/08/2017. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +#endif + +#if canImport(UIKit) +import UIKit +#endif + +/// Represents a placeholder type which could be set while loading as well as +/// loading finished without getting an image. +public protocol Placeholder { + + /// How the placeholder should be added to a given image view. + func add(to imageView: KFCrossPlatformImageView) + + /// How the placeholder should be removed from a given image view. + func remove(from imageView: KFCrossPlatformImageView) +} + +/// Default implementation of an image placeholder. The image will be set or +/// reset directly for `image` property of the image view. +extension KFCrossPlatformImage: Placeholder { + /// How the placeholder should be added to a given image view. + public func add(to imageView: KFCrossPlatformImageView) { imageView.image = self } + + /// How the placeholder should be removed from a given image view. + public func remove(from imageView: KFCrossPlatformImageView) { imageView.image = nil } +} + +/// Default implementation of an arbitrary view as placeholder. The view will be +/// added as a subview when adding and be removed from its super view when removing. +/// +/// To use your customize View type as placeholder, simply let it conforming to +/// `Placeholder` by `extension MyView: Placeholder {}`. +extension Placeholder where Self: KFCrossPlatformView { + + /// How the placeholder should be added to a given image view. + public func add(to imageView: KFCrossPlatformImageView) { + imageView.addSubview(self) + translatesAutoresizingMaskIntoConstraints = false + + centerXAnchor.constraint(equalTo: imageView.centerXAnchor).isActive = true + centerYAnchor.constraint(equalTo: imageView.centerYAnchor).isActive = true + heightAnchor.constraint(equalTo: imageView.heightAnchor).isActive = true + widthAnchor.constraint(equalTo: imageView.widthAnchor).isActive = true + } + + /// How the placeholder should be removed from a given image view. + public func remove(from imageView: KFCrossPlatformImageView) { + removeFromSuperview() + } +} + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift b/Instagram/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift new file mode 100644 index 0000000..d3b3ea1 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/AuthenticationChallengeResponsable.swift @@ -0,0 +1,94 @@ +// +// AuthenticationChallengeResponsable.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/11. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +@available(*, deprecated, message: "Typo. Use `AuthenticationChallengeResponsible` instead", renamed: "AuthenticationChallengeResponsible") +public typealias AuthenticationChallengeResponsable = AuthenticationChallengeResponsible + +/// Protocol indicates that an authentication challenge could be handled. +public protocol AuthenticationChallengeResponsible: AnyObject { + + /// Called when a session level authentication challenge is received. + /// This method provide a chance to handle and response to the authentication + /// challenge before downloading could start. + /// + /// - Parameters: + /// - downloader: The downloader which receives this challenge. + /// - challenge: An object that contains the request for authentication. + /// - completionHandler: A handler that your delegate method must call. + /// + /// - Note: This method is a forward from `URLSessionDelegate.urlSession(:didReceiveChallenge:completionHandler:)`. + /// Please refer to the document of it in `URLSessionDelegate`. + func downloader( + _ downloader: ImageDownloader, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) + + /// Called when a task level authentication challenge is received. + /// This method provide a chance to handle and response to the authentication + /// challenge before downloading could start. + /// + /// - Parameters: + /// - downloader: The downloader which receives this challenge. + /// - task: The task whose request requires authentication. + /// - challenge: An object that contains the request for authentication. + /// - completionHandler: A handler that your delegate method must call. + func downloader( + _ downloader: ImageDownloader, + task: URLSessionTask, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) +} + +extension AuthenticationChallengeResponsible { + + public func downloader( + _ downloader: ImageDownloader, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) + { + if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust { + if let trustedHosts = downloader.trustedHosts, trustedHosts.contains(challenge.protectionSpace.host) { + let credential = URLCredential(trust: challenge.protectionSpace.serverTrust!) + completionHandler(.useCredential, credential) + return + } + } + + completionHandler(.performDefaultHandling, nil) + } + + public func downloader( + _ downloader: ImageDownloader, + task: URLSessionTask, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) + { + completionHandler(.performDefaultHandling, nil) + } + +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift new file mode 100644 index 0000000..b368972 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDataProcessor.swift @@ -0,0 +1,74 @@ +// +// ImageDataProcessor.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/11. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +private let sharedProcessingQueue: CallbackQueue = + .dispatch(DispatchQueue(label: "com.onevcat.Kingfisher.ImageDownloader.Process")) + +// Handles image processing work on an own process queue. +class ImageDataProcessor { + let data: Data + let callbacks: [SessionDataTask.TaskCallback] + let queue: CallbackQueue + + // Note: We have an optimization choice there, to reduce queue dispatch by checking callback + // queue settings in each option... + let onImageProcessed = Delegate<(Result, SessionDataTask.TaskCallback), Void>() + + init(data: Data, callbacks: [SessionDataTask.TaskCallback], processingQueue: CallbackQueue?) { + self.data = data + self.callbacks = callbacks + self.queue = processingQueue ?? sharedProcessingQueue + } + + func process() { + queue.execute(doProcess) + } + + private func doProcess() { + var processedImages = [String: KFCrossPlatformImage]() + for callback in callbacks { + let processor = callback.options.processor + var image = processedImages[processor.identifier] + if image == nil { + image = processor.process(item: .data(data), options: callback.options) + processedImages[processor.identifier] = image + } + + let result: Result + if let image = image { + let finalImage = callback.options.backgroundDecode ? image.kf.decoded : image + result = .success(finalImage) + } else { + let error = KingfisherError.processorError( + reason: .processingFailed(processor: processor, item: .data(data))) + result = .failure(error) + } + onImageProcessed.call((result, callback)) + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift new file mode 100644 index 0000000..d50ed9a --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloader.swift @@ -0,0 +1,488 @@ +// +// ImageDownloader.swift +// Kingfisher +// +// Created by Wei Wang on 15/4/6. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +typealias DownloadResult = Result + +/// Represents a success result of an image downloading progress. +public struct ImageLoadingResult { + + /// The downloaded image. + public let image: KFCrossPlatformImage + + /// Original URL of the image request. + public let url: URL? + + /// The raw data received from downloader. + public let originalData: Data +} + +/// Represents a task of an image downloading process. +public struct DownloadTask { + + /// The `SessionDataTask` object bounded to this download task. Multiple `DownloadTask`s could refer + /// to a same `sessionTask`. This is an optimization in Kingfisher to prevent multiple downloading task + /// for the same URL resource at the same time. + /// + /// When you `cancel` a `DownloadTask`, this `SessionDataTask` and its cancel token will be pass through. + /// You can use them to identify the cancelled task. + public let sessionTask: SessionDataTask + + /// The cancel token which is used to cancel the task. This is only for identify the task when it is cancelled. + /// To cancel a `DownloadTask`, use `cancel` instead. + public let cancelToken: SessionDataTask.CancelToken + + /// Cancel this task if it is running. It will do nothing if this task is not running. + /// + /// - Note: + /// In Kingfisher, there is an optimization to prevent starting another download task if the target URL is being + /// downloading. However, even when internally no new session task created, a `DownloadTask` will be still created + /// and returned when you call related methods, but it will share the session downloading task with a previous task. + /// In this case, if multiple `DownloadTask`s share a single session download task, cancelling a `DownloadTask` + /// does not affect other `DownloadTask`s. + /// + /// If you need to cancel all `DownloadTask`s of a url, use `ImageDownloader.cancel(url:)`. If you need to cancel + /// all downloading tasks of an `ImageDownloader`, use `ImageDownloader.cancelAll()`. + public func cancel() { + sessionTask.cancel(token: cancelToken) + } +} + +extension DownloadTask { + enum WrappedTask { + case download(DownloadTask) + case dataProviding + + func cancel() { + switch self { + case .download(let task): task.cancel() + case .dataProviding: break + } + } + + var value: DownloadTask? { + switch self { + case .download(let task): return task + case .dataProviding: return nil + } + } + } +} + +/// Represents a downloading manager for requesting the image with a URL from server. +open class ImageDownloader { + + // MARK: Singleton + /// The default downloader. + public static let `default` = ImageDownloader(name: "default") + + // MARK: Public Properties + /// The duration before the downloading is timeout. Default is 15 seconds. + open var downloadTimeout: TimeInterval = 15.0 + + /// A set of trusted hosts when receiving server trust challenges. A challenge with host name contained in this + /// set will be ignored. You can use this set to specify the self-signed site. It only will be used if you don't + /// specify the `authenticationChallengeResponder`. + /// + /// If `authenticationChallengeResponder` is set, this property will be ignored and the implementation of + /// `authenticationChallengeResponder` will be used instead. + open var trustedHosts: Set? + + /// Use this to set supply a configuration for the downloader. By default, + /// NSURLSessionConfiguration.ephemeralSessionConfiguration() will be used. + /// + /// You could change the configuration before a downloading task starts. + /// A configuration without persistent storage for caches is requested for downloader working correctly. + open var sessionConfiguration = URLSessionConfiguration.ephemeral { + didSet { + session.invalidateAndCancel() + session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil) + } + } + open var sessionDelegate: SessionDelegate { + didSet { + session.invalidateAndCancel() + session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil) + setupSessionHandler() + } + } + + /// Whether the download requests should use pipeline or not. Default is false. + open var requestsUsePipelining = false + + /// Delegate of this `ImageDownloader` object. See `ImageDownloaderDelegate` protocol for more. + open weak var delegate: ImageDownloaderDelegate? + + /// A responder for authentication challenge. + /// Downloader will forward the received authentication challenge for the downloading session to this responder. + open weak var authenticationChallengeResponder: AuthenticationChallengeResponsible? + + private let name: String + private var session: URLSession + + // MARK: Initializers + + /// Creates a downloader with name. + /// + /// - Parameter name: The name for the downloader. It should not be empty. + public init(name: String) { + if name.isEmpty { + fatalError("[Kingfisher] You should specify a name for the downloader. " + + "A downloader with empty name is not permitted.") + } + + self.name = name + + sessionDelegate = SessionDelegate() + session = URLSession( + configuration: sessionConfiguration, + delegate: sessionDelegate, + delegateQueue: nil) + + authenticationChallengeResponder = self + setupSessionHandler() + } + + deinit { session.invalidateAndCancel() } + + private func setupSessionHandler() { + sessionDelegate.onReceiveSessionChallenge.delegate(on: self) { (self, invoke) in + self.authenticationChallengeResponder?.downloader(self, didReceive: invoke.1, completionHandler: invoke.2) + } + sessionDelegate.onReceiveSessionTaskChallenge.delegate(on: self) { (self, invoke) in + self.authenticationChallengeResponder?.downloader( + self, task: invoke.1, didReceive: invoke.2, completionHandler: invoke.3) + } + sessionDelegate.onValidStatusCode.delegate(on: self) { (self, code) in + return (self.delegate ?? self).isValidStatusCode(code, for: self) + } + sessionDelegate.onDownloadingFinished.delegate(on: self) { (self, value) in + let (url, result) = value + do { + let value = try result.get() + self.delegate?.imageDownloader(self, didFinishDownloadingImageForURL: url, with: value, error: nil) + } catch { + self.delegate?.imageDownloader(self, didFinishDownloadingImageForURL: url, with: nil, error: error) + } + } + sessionDelegate.onDidDownloadData.delegate(on: self) { (self, task) in + return (self.delegate ?? self).imageDownloader(self, didDownload: task.mutableData, with: task) + } + } + + // Wraps `completionHandler` to `onCompleted` respectively. + private func createCompletionCallBack(_ completionHandler: ((DownloadResult) -> Void)?) -> Delegate? { + return completionHandler.map { block -> Delegate in + + let delegate = Delegate, Void>() + delegate.delegate(on: self) { (self, callback) in + block(callback) + } + return delegate + } + } + + private func createTaskCallback( + _ completionHandler: ((DownloadResult) -> Void)?, + options: KingfisherParsedOptionsInfo + ) -> SessionDataTask.TaskCallback + { + return SessionDataTask.TaskCallback( + onCompleted: createCompletionCallBack(completionHandler), + options: options + ) + } + + private func createDownloadContext( + with url: URL, + options: KingfisherParsedOptionsInfo, + done: @escaping ((Result) -> Void) + ) + { + func checkRequestAndDone(r: URLRequest) { + + // There is a possibility that request modifier changed the url to `nil` or empty. + // In this case, throw an error. + guard let url = r.url, !url.absoluteString.isEmpty else { + done(.failure(KingfisherError.requestError(reason: .invalidURL(request: r)))) + return + } + + done(.success(DownloadingContext(url: url, request: r, options: options))) + } + + // Creates default request. + var request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: downloadTimeout) + request.httpShouldUsePipelining = requestsUsePipelining + if #available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *) , options.lowDataModeSource != nil { + request.allowsConstrainedNetworkAccess = false + } + + if let requestModifier = options.requestModifier { + // Modifies request before sending. + requestModifier.modified(for: request) { result in + guard let finalRequest = result else { + done(.failure(KingfisherError.requestError(reason: .emptyRequest))) + return + } + checkRequestAndDone(r: finalRequest) + } + } else { + checkRequestAndDone(r: request) + } + } + + private func addDownloadTask( + context: DownloadingContext, + callback: SessionDataTask.TaskCallback + ) -> DownloadTask + { + // Ready to start download. Add it to session task manager (`sessionHandler`) + let downloadTask: DownloadTask + if let existingTask = sessionDelegate.task(for: context.url) { + downloadTask = sessionDelegate.append(existingTask, url: context.url, callback: callback) + } else { + let sessionDataTask = session.dataTask(with: context.request) + sessionDataTask.priority = context.options.downloadPriority + downloadTask = sessionDelegate.add(sessionDataTask, url: context.url, callback: callback) + } + return downloadTask + } + + + private func reportWillDownloadImage(url: URL, request: URLRequest) { + delegate?.imageDownloader(self, willDownloadImageForURL: url, with: request) + } + + private func reportDidDownloadImageData(result: Result<(Data, URLResponse?), KingfisherError>, url: URL) { + var response: URLResponse? + var err: Error? + do { + response = try result.get().1 + } catch { + err = error + } + self.delegate?.imageDownloader( + self, + didFinishDownloadingImageForURL: url, + with: response, + error: err + ) + } + + private func reportDidProcessImage( + result: Result, url: URL, response: URLResponse? + ) + { + if let image = try? result.get() { + self.delegate?.imageDownloader(self, didDownload: image, for: url, with: response) + } + + } + + private func startDownloadTask( + context: DownloadingContext, + callback: SessionDataTask.TaskCallback + ) -> DownloadTask + { + + let downloadTask = addDownloadTask(context: context, callback: callback) + + let sessionTask = downloadTask.sessionTask + guard !sessionTask.started else { + return downloadTask + } + + sessionTask.onTaskDone.delegate(on: self) { (self, done) in + // Underlying downloading finishes. + // result: Result<(Data, URLResponse?)>, callbacks: [TaskCallback] + let (result, callbacks) = done + + // Before processing the downloaded data. + self.reportDidDownloadImageData(result: result, url: context.url) + + switch result { + // Download finished. Now process the data to an image. + case .success(let (data, response)): + let processor = ImageDataProcessor( + data: data, callbacks: callbacks, processingQueue: context.options.processingQueue + ) + processor.onImageProcessed.delegate(on: self) { (self, done) in + // `onImageProcessed` will be called for `callbacks.count` times, with each + // `SessionDataTask.TaskCallback` as the input parameter. + // result: Result, callback: SessionDataTask.TaskCallback + let (result, callback) = done + + self.reportDidProcessImage(result: result, url: context.url, response: response) + + let imageResult = result.map { ImageLoadingResult(image: $0, url: context.url, originalData: data) } + let queue = callback.options.callbackQueue + queue.execute { callback.onCompleted?.call(imageResult) } + } + processor.process() + + case .failure(let error): + callbacks.forEach { callback in + let queue = callback.options.callbackQueue + queue.execute { callback.onCompleted?.call(.failure(error)) } + } + } + } + + reportWillDownloadImage(url: context.url, request: context.request) + sessionTask.resume() + return downloadTask + } + + // MARK: Downloading Task + /// Downloads an image with a URL and option. Invoked internally by Kingfisher. Subclasses must invoke super. + /// + /// - Parameters: + /// - url: Target URL. + /// - options: The options could control download behavior. See `KingfisherOptionsInfo`. + /// - completionHandler: Called when the download progress finishes. This block will be called in the queue + /// defined in `.callbackQueue` in `options` parameter. + /// - Returns: A downloading task. You could call `cancel` on it to stop the download task. + @discardableResult + open func downloadImage( + with url: URL, + options: KingfisherParsedOptionsInfo, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var downloadTask: DownloadTask? + createDownloadContext(with: url, options: options) { result in + switch result { + case .success(let context): + // `downloadTask` will be set if the downloading started immediately. This is the case when no request + // modifier or a sync modifier (`ImageDownloadRequestModifier`) is used. Otherwise, when an + // `AsyncImageDownloadRequestModifier` is used the returned `downloadTask` of this method will be `nil` + // and the actual "delayed" task is given in `AsyncImageDownloadRequestModifier.onDownloadTaskStarted` + // callback. + downloadTask = self.startDownloadTask( + context: context, + callback: self.createTaskCallback(completionHandler, options: options) + ) + if let modifier = options.requestModifier { + modifier.onDownloadTaskStarted?(downloadTask) + } + case .failure(let error): + options.callbackQueue.execute { + completionHandler?(.failure(error)) + } + } + } + + return downloadTask + } + + /// Downloads an image with a URL and option. + /// + /// - Parameters: + /// - url: Target URL. + /// - options: The options could control download behavior. See `KingfisherOptionsInfo`. + /// - progressBlock: Called when the download progress updated. This block will be always be called in main queue. + /// - completionHandler: Called when the download progress finishes. This block will be called in the queue + /// defined in `.callbackQueue` in `options` parameter. + /// - Returns: A downloading task. You could call `cancel` on it to stop the download task. + @discardableResult + open func downloadImage( + with url: URL, + options: KingfisherOptionsInfo? = nil, + progressBlock: DownloadProgressBlock? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + var info = KingfisherParsedOptionsInfo(options) + if let block = progressBlock { + info.onDataReceived = (info.onDataReceived ?? []) + [ImageLoadingProgressSideEffect(block)] + } + return downloadImage( + with: url, + options: info, + completionHandler: completionHandler) + } + + /// Downloads an image with a URL and option. + /// + /// - Parameters: + /// - url: Target URL. + /// - options: The options could control download behavior. See `KingfisherOptionsInfo`. + /// - completionHandler: Called when the download progress finishes. This block will be called in the queue + /// defined in `.callbackQueue` in `options` parameter. + /// - Returns: A downloading task. You could call `cancel` on it to stop the download task. + @discardableResult + open func downloadImage( + with url: URL, + options: KingfisherOptionsInfo? = nil, + completionHandler: ((Result) -> Void)? = nil) -> DownloadTask? + { + downloadImage( + with: url, + options: KingfisherParsedOptionsInfo(options), + completionHandler: completionHandler + ) + } +} + +// MARK: Cancelling Task +extension ImageDownloader { + + /// Cancel all downloading tasks for this `ImageDownloader`. It will trigger the completion handlers + /// for all not-yet-finished downloading tasks. + /// + /// If you need to only cancel a certain task, call `cancel()` on the `DownloadTask` + /// returned by the downloading methods. If you need to cancel all `DownloadTask`s of a certain url, + /// use `ImageDownloader.cancel(url:)`. + public func cancelAll() { + sessionDelegate.cancelAll() + } + + /// Cancel all downloading tasks for a given URL. It will trigger the completion handlers for + /// all not-yet-finished downloading tasks for the URL. + /// + /// - Parameter url: The URL which you want to cancel downloading. + public func cancel(url: URL) { + sessionDelegate.cancel(url: url) + } +} + +// Use the default implementation from extension of `AuthenticationChallengeResponsible`. +extension ImageDownloader: AuthenticationChallengeResponsible {} + +// Use the default implementation from extension of `ImageDownloaderDelegate`. +extension ImageDownloader: ImageDownloaderDelegate {} + +extension ImageDownloader { + struct DownloadingContext { + let url: URL + let request: URLRequest + let options: KingfisherParsedOptionsInfo + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift new file mode 100644 index 0000000..7f98640 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/ImageDownloaderDelegate.swift @@ -0,0 +1,154 @@ +// +// ImageDownloaderDelegate.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/11. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Protocol of `ImageDownloader`. This protocol provides a set of methods which are related to image downloader +/// working stages and rules. +public protocol ImageDownloaderDelegate: AnyObject { + + /// Called when the `ImageDownloader` object will start downloading an image from a specified URL. + /// + /// - Parameters: + /// - downloader: The `ImageDownloader` object which is used for the downloading operation. + /// - url: URL of the starting request. + /// - request: The request object for the download process. + /// + func imageDownloader(_ downloader: ImageDownloader, willDownloadImageForURL url: URL, with request: URLRequest?) + + /// Called when the `ImageDownloader` completes a downloading request with success or failure. + /// + /// - Parameters: + /// - downloader: The `ImageDownloader` object which is used for the downloading operation. + /// - url: URL of the original request URL. + /// - response: The response object of the downloading process. + /// - error: The error in case of failure. + /// + func imageDownloader( + _ downloader: ImageDownloader, + didFinishDownloadingImageForURL url: URL, + with response: URLResponse?, + error: Error?) + + /// Called when the `ImageDownloader` object successfully downloaded image data from specified URL. This is + /// your last chance to verify or modify the downloaded data before Kingfisher tries to perform addition + /// processing on the image data. + /// + /// - Parameters: + /// - downloader: The `ImageDownloader` object which is used for the downloading operation. + /// - data: The original downloaded data. + /// - dataTask: The data task contains request and response information of the download. + /// - Note: + /// This can be used to pre-process raw image data before creation of `Image` instance (i.e. + /// decrypting or verification). If `nil` returned, the processing is interrupted and a `KingfisherError` with + /// `ResponseErrorReason.dataModifyingFailed` will be raised. You could use this fact to stop the image + /// processing flow if you find the data is corrupted or malformed. + /// + /// If this method is implemented, `imageDownloader(_:didDownload:for:)` will not be called anymore. + func imageDownloader(_ downloader: ImageDownloader, didDownload data: Data, with dataTask: SessionDataTask) -> Data? + + /// Called when the `ImageDownloader` object successfully downloaded image data from specified URL. This is + /// your last chance to verify or modify the downloaded data before Kingfisher tries to perform addition + /// processing on the image data. + /// + /// - Parameters: + /// - downloader: The `ImageDownloader` object which is used for the downloading operation. + /// - data: The original downloaded data. + /// - url: The URL of the original request URL. + /// - Returns: The data from which Kingfisher should use to create an image. You need to provide valid data + /// which content is one of the supported image file format. Kingfisher will perform process on this + /// data and try to convert it to an image object. + /// - Note: + /// This can be used to pre-process raw image data before creation of `Image` instance (i.e. + /// decrypting or verification). If `nil` returned, the processing is interrupted and a `KingfisherError` with + /// `ResponseErrorReason.dataModifyingFailed` will be raised. You could use this fact to stop the image + /// processing flow if you find the data is corrupted or malformed. + /// + /// If `imageDownloader(_:didDownload:with:)` is implemented, this method will not be called anymore. + func imageDownloader(_ downloader: ImageDownloader, didDownload data: Data, for url: URL) -> Data? + + /// Called when the `ImageDownloader` object successfully downloads and processes an image from specified URL. + /// + /// - Parameters: + /// - downloader: The `ImageDownloader` object which is used for the downloading operation. + /// - image: The downloaded and processed image. + /// - url: URL of the original request URL. + /// - response: The original response object of the downloading process. + /// + func imageDownloader( + _ downloader: ImageDownloader, + didDownload image: KFCrossPlatformImage, + for url: URL, + with response: URLResponse?) + + /// Checks if a received HTTP status code is valid or not. + /// By default, a status code in range 200..<400 is considered as valid. + /// If an invalid code is received, the downloader will raise an `KingfisherError` with + /// `ResponseErrorReason.invalidHTTPStatusCode` as its reason. + /// + /// - Parameters: + /// - code: The received HTTP status code. + /// - downloader: The `ImageDownloader` object asks for validate status code. + /// - Returns: Returns a value to indicate whether this HTTP status code is valid or not. + /// - Note: If the default 200 to 400 valid code does not suit your need, + /// you can implement this method to change that behavior. + func isValidStatusCode(_ code: Int, for downloader: ImageDownloader) -> Bool +} + +// Default implementation for `ImageDownloaderDelegate`. +extension ImageDownloaderDelegate { + public func imageDownloader( + _ downloader: ImageDownloader, + willDownloadImageForURL url: URL, + with request: URLRequest?) {} + + public func imageDownloader( + _ downloader: ImageDownloader, + didFinishDownloadingImageForURL url: URL, + with response: URLResponse?, + error: Error?) {} + + public func imageDownloader( + _ downloader: ImageDownloader, + didDownload image: KFCrossPlatformImage, + for url: URL, + with response: URLResponse?) {} + + public func isValidStatusCode(_ code: Int, for downloader: ImageDownloader) -> Bool { + return (200..<400).contains(code) + } + + public func imageDownloader(_ downloader: ImageDownloader, didDownload data: Data, with task: SessionDataTask) -> Data? { + guard let url = task.originalURL else { + return data + } + return imageDownloader(downloader, didDownload: data, for: url) + } + + public func imageDownloader(_ downloader: ImageDownloader, didDownload data: Data, for url: URL) -> Data? { + return data + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/ImageModifier.swift b/Instagram/Pods/Kingfisher/Sources/Networking/ImageModifier.swift new file mode 100644 index 0000000..0acd0e8 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/ImageModifier.swift @@ -0,0 +1,116 @@ +// +// ImageModifier.swift +// Kingfisher +// +// Created by Ethan Gill on 2017/11/28. +// +// Copyright (c) 2019 Ethan Gill +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// An `ImageModifier` can be used to change properties on an image between cache serialization and the actual use of +/// the image. The `modify(_:)` method will be called after the image retrieved from its source and before it returned +/// to the caller. This modified image is expected to be only used for rendering purpose, any changes applied by the +/// `ImageModifier` will not be serialized or cached. +public protocol ImageModifier { + /// Modify an input `Image`. + /// + /// - parameter image: Image which will be modified by `self` + /// + /// - returns: The modified image. + /// + /// - Note: The return value will be unmodified if modifying is not possible on + /// the current platform. + /// - Note: Most modifiers support UIImage or NSImage, but not CGImage. + func modify(_ image: KFCrossPlatformImage) -> KFCrossPlatformImage +} + +/// A wrapper for creating an `ImageModifier` easier. +/// This type conforms to `ImageModifier` and wraps an image modify block. +/// If the `block` throws an error, the original image will be used. +public struct AnyImageModifier: ImageModifier { + + /// A block which modifies images, or returns the original image + /// if modification cannot be performed with an error. + let block: (KFCrossPlatformImage) throws -> KFCrossPlatformImage + + /// Creates an `AnyImageModifier` with a given `modify` block. + public init(modify: @escaping (KFCrossPlatformImage) throws -> KFCrossPlatformImage) { + block = modify + } + + /// Modify an input `Image`. See `ImageModifier` protocol for more. + public func modify(_ image: KFCrossPlatformImage) -> KFCrossPlatformImage { + return (try? block(image)) ?? image + } +} + +#if os(iOS) || os(tvOS) || os(watchOS) +import UIKit + +/// Modifier for setting the rendering mode of images. +public struct RenderingModeImageModifier: ImageModifier { + + /// The rendering mode to apply to the image. + public let renderingMode: UIImage.RenderingMode + + /// Creates a `RenderingModeImageModifier`. + /// + /// - Parameter renderingMode: The rendering mode to apply to the image. Default is `.automatic`. + public init(renderingMode: UIImage.RenderingMode = .automatic) { + self.renderingMode = renderingMode + } + + /// Modify an input `Image`. See `ImageModifier` protocol for more. + public func modify(_ image: KFCrossPlatformImage) -> KFCrossPlatformImage { + return image.withRenderingMode(renderingMode) + } +} + +/// Modifier for setting the `flipsForRightToLeftLayoutDirection` property of images. +public struct FlipsForRightToLeftLayoutDirectionImageModifier: ImageModifier { + + /// Creates a `FlipsForRightToLeftLayoutDirectionImageModifier`. + public init() {} + + /// Modify an input `Image`. See `ImageModifier` protocol for more. + public func modify(_ image: KFCrossPlatformImage) -> KFCrossPlatformImage { + return image.imageFlippedForRightToLeftLayoutDirection() + } +} + +/// Modifier for setting the `alignmentRectInsets` property of images. +public struct AlignmentRectInsetsImageModifier: ImageModifier { + + /// The alignment insets to apply to the image + public let alignmentInsets: UIEdgeInsets + + /// Creates an `AlignmentRectInsetsImageModifier`. + public init(alignmentInsets: UIEdgeInsets) { + self.alignmentInsets = alignmentInsets + } + + /// Modify an input `Image`. See `ImageModifier` protocol for more. + public func modify(_ image: KFCrossPlatformImage) -> KFCrossPlatformImage { + return image.withAlignmentRectInsets(alignmentInsets) + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift b/Instagram/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift new file mode 100644 index 0000000..3fce14c --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/ImagePrefetcher.swift @@ -0,0 +1,442 @@ +// +// ImagePrefetcher.swift +// Kingfisher +// +// Created by Claire Knight on 24/02/2016 +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +/// Progress update block of prefetcher when initialized with a list of resources. +/// +/// - `skippedResources`: An array of resources that are already cached before the prefetching starting. +/// - `failedResources`: An array of resources that fail to be downloaded. It could because of being cancelled while +/// downloading, encountered an error when downloading or the download not being started at all. +/// - `completedResources`: An array of resources that are downloaded and cached successfully. +public typealias PrefetcherProgressBlock = + ((_ skippedResources: [Resource], _ failedResources: [Resource], _ completedResources: [Resource]) -> Void) + +/// Progress update block of prefetcher when initialized with a list of resources. +/// +/// - `skippedSources`: An array of sources that are already cached before the prefetching starting. +/// - `failedSources`: An array of sources that fail to be fetched. +/// - `completedResources`: An array of sources that are fetched and cached successfully. +public typealias PrefetcherSourceProgressBlock = + ((_ skippedSources: [Source], _ failedSources: [Source], _ completedSources: [Source]) -> Void) + +/// Completion block of prefetcher when initialized with a list of sources. +/// +/// - `skippedResources`: An array of resources that are already cached before the prefetching starting. +/// - `failedResources`: An array of resources that fail to be downloaded. It could because of being cancelled while +/// downloading, encountered an error when downloading or the download not being started at all. +/// - `completedResources`: An array of resources that are downloaded and cached successfully. +public typealias PrefetcherCompletionHandler = + ((_ skippedResources: [Resource], _ failedResources: [Resource], _ completedResources: [Resource]) -> Void) + +/// Completion block of prefetcher when initialized with a list of sources. +/// +/// - `skippedSources`: An array of sources that are already cached before the prefetching starting. +/// - `failedSources`: An array of sources that fail to be fetched. +/// - `completedSources`: An array of sources that are fetched and cached successfully. +public typealias PrefetcherSourceCompletionHandler = + ((_ skippedSources: [Source], _ failedSources: [Source], _ completedSources: [Source]) -> Void) + +/// `ImagePrefetcher` represents a downloading manager for requesting many images via URLs, then caching them. +/// This is useful when you know a list of image resources and want to download them before showing. It also works with +/// some Cocoa prefetching mechanism like table view or collection view `prefetchDataSource`, to start image downloading +/// and caching before they display on screen. +public class ImagePrefetcher: CustomStringConvertible { + + public var description: String { + return "\(Unmanaged.passUnretained(self).toOpaque())" + } + + /// The maximum concurrent downloads to use when prefetching images. Default is 5. + public var maxConcurrentDownloads = 5 + + private let prefetchSources: [Source] + private let optionsInfo: KingfisherParsedOptionsInfo + + private var progressBlock: PrefetcherProgressBlock? + private var completionHandler: PrefetcherCompletionHandler? + + private var progressSourceBlock: PrefetcherSourceProgressBlock? + private var completionSourceHandler: PrefetcherSourceCompletionHandler? + + private var tasks = [String: DownloadTask.WrappedTask]() + + private var pendingSources: ArraySlice + private var skippedSources = [Source]() + private var completedSources = [Source]() + private var failedSources = [Source]() + + private var stopped = false + + // A manager used for prefetching. We will use the helper methods in manager. + private let manager: KingfisherManager + + private let pretchQueue = DispatchQueue(label: "com.onevcat.Kingfisher.ImagePrefetcher.pretchQueue") + private static let requestingQueue = DispatchQueue(label: "com.onevcat.Kingfisher.ImagePrefetcher.requestingQueue") + + private var finished: Bool { + let totalFinished: Int = failedSources.count + skippedSources.count + completedSources.count + return totalFinished == prefetchSources.count && tasks.isEmpty + } + + /// Creates an image prefetcher with an array of URLs. + /// + /// The prefetcher should be initiated with a list of prefetching targets. The URLs list is immutable. + /// After you get a valid `ImagePrefetcher` object, you call `start()` on it to begin the prefetching process. + /// The images which are already cached will be skipped without downloading again. + /// + /// - Parameters: + /// - urls: The URLs which should be prefetched. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called every time an resource is downloaded, skipped or cancelled. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init( + urls: [URL], + options: KingfisherOptionsInfo? = nil, + progressBlock: PrefetcherProgressBlock? = nil, + completionHandler: PrefetcherCompletionHandler? = nil) + { + let resources: [Resource] = urls.map { $0 } + self.init( + resources: resources, + options: options, + progressBlock: progressBlock, + completionHandler: completionHandler) + } + + /// Creates an image prefetcher with an array of URLs. + /// + /// The prefetcher should be initiated with a list of prefetching targets. The URLs list is immutable. + /// After you get a valid `ImagePrefetcher` object, you call `start()` on it to begin the prefetching process. + /// The images which are already cached will be skipped without downloading again. + /// + /// - Parameters: + /// - urls: The URLs which should be prefetched. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init( + urls: [URL], + options: KingfisherOptionsInfo? = nil, + completionHandler: PrefetcherCompletionHandler? = nil) + { + let resources: [Resource] = urls.map { $0 } + self.init( + resources: resources, + options: options, + progressBlock: nil, + completionHandler: completionHandler) + } + + /// Creates an image prefetcher with an array of resources. + /// + /// - Parameters: + /// - resources: The resources which should be prefetched. See `Resource` type for more. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called every time an resource is downloaded, skipped or cancelled. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init( + resources: [Resource], + options: KingfisherOptionsInfo? = nil, + progressBlock: PrefetcherProgressBlock? = nil, + completionHandler: PrefetcherCompletionHandler? = nil) + { + self.init(sources: resources.map { $0.convertToSource() }, options: options) + self.progressBlock = progressBlock + self.completionHandler = completionHandler + } + + /// Creates an image prefetcher with an array of resources. + /// + /// - Parameters: + /// - resources: The resources which should be prefetched. See `Resource` type for more. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init( + resources: [Resource], + options: KingfisherOptionsInfo? = nil, + completionHandler: PrefetcherCompletionHandler? = nil) + { + self.init(sources: resources.map { $0.convertToSource() }, options: options) + self.completionHandler = completionHandler + } + + /// Creates an image prefetcher with an array of sources. + /// + /// - Parameters: + /// - sources: The sources which should be prefetched. See `Source` type for more. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - progressBlock: Called every time an source fetching successes, fails, is skipped. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init(sources: [Source], + options: KingfisherOptionsInfo? = nil, + progressBlock: PrefetcherSourceProgressBlock? = nil, + completionHandler: PrefetcherSourceCompletionHandler? = nil) + { + self.init(sources: sources, options: options) + self.progressSourceBlock = progressBlock + self.completionSourceHandler = completionHandler + } + + /// Creates an image prefetcher with an array of sources. + /// + /// - Parameters: + /// - sources: The sources which should be prefetched. See `Source` type for more. + /// - options: Options could control some behaviors. See `KingfisherOptionsInfo` for more. + /// - completionHandler: Called when the whole prefetching process finished. + /// + /// - Note: + /// By default, the `ImageDownloader.defaultDownloader` and `ImageCache.defaultCache` will be used as + /// the downloader and cache target respectively. You can specify another downloader or cache by using + /// a customized `KingfisherOptionsInfo`. Both the progress and completion block will be invoked in + /// main thread. The `.callbackQueue` value in `optionsInfo` will be ignored in this method. + public convenience init(sources: [Source], + options: KingfisherOptionsInfo? = nil, + completionHandler: PrefetcherSourceCompletionHandler? = nil) + { + self.init(sources: sources, options: options) + self.completionSourceHandler = completionHandler + } + + init(sources: [Source], options: KingfisherOptionsInfo?) { + var options = KingfisherParsedOptionsInfo(options) + prefetchSources = sources + pendingSources = ArraySlice(sources) + + // We want all callbacks from our prefetch queue, so we should ignore the callback queue in options. + // Add our own callback dispatch queue to make sure all internal callbacks are + // coming back in our expected queue. + options.callbackQueue = .dispatch(pretchQueue) + optionsInfo = options + + let cache = optionsInfo.targetCache ?? .default + let downloader = optionsInfo.downloader ?? .default + manager = KingfisherManager(downloader: downloader, cache: cache) + } + + /// Starts to download the resources and cache them. This can be useful for background downloading + /// of assets that are required for later use in an app. This code will not try and update any UI + /// with the results of the process. + public func start() { + pretchQueue.async { + guard !self.stopped else { + assertionFailure("You can not restart the same prefetcher. Try to create a new prefetcher.") + self.handleComplete() + return + } + + guard self.maxConcurrentDownloads > 0 else { + assertionFailure("There should be concurrent downloads value should be at least 1.") + self.handleComplete() + return + } + + // Empty case. + guard self.prefetchSources.count > 0 else { + self.handleComplete() + return + } + + let initialConcurrentDownloads = min(self.prefetchSources.count, self.maxConcurrentDownloads) + for _ in 0 ..< initialConcurrentDownloads { + if let resource = self.pendingSources.popFirst() { + self.startPrefetching(resource) + } + } + } + } + + /// Stops current downloading progress, and cancel any future prefetching activity that might be occuring. + public func stop() { + pretchQueue.async { + if self.finished { return } + self.stopped = true + self.tasks.values.forEach { $0.cancel() } + } + } + + private func downloadAndCache(_ source: Source) { + + let downloadTaskCompletionHandler: ((Result) -> Void) = { result in + self.tasks.removeValue(forKey: source.cacheKey) + do { + let _ = try result.get() + self.completedSources.append(source) + } catch { + self.failedSources.append(source) + } + + self.reportProgress() + if self.stopped { + if self.tasks.isEmpty { + self.failedSources.append(contentsOf: self.pendingSources) + self.handleComplete() + } + } else { + self.reportCompletionOrStartNext() + } + } + + var downloadTask: DownloadTask.WrappedTask? + ImagePrefetcher.requestingQueue.sync { + let context = RetrievingContext( + options: optionsInfo, originalSource: source + ) + downloadTask = manager.loadAndCacheImage( + source: source, + context: context, + completionHandler: downloadTaskCompletionHandler) + } + + if let downloadTask = downloadTask { + tasks[source.cacheKey] = downloadTask + } + } + + private func append(cached source: Source) { + skippedSources.append(source) + + reportProgress() + reportCompletionOrStartNext() + } + + private func startPrefetching(_ source: Source) + { + if optionsInfo.forceRefresh { + downloadAndCache(source) + return + } + + let cacheType = manager.cache.imageCachedType( + forKey: source.cacheKey, + processorIdentifier: optionsInfo.processor.identifier) + switch cacheType { + case .memory: + append(cached: source) + case .disk: + if optionsInfo.alsoPrefetchToMemory { + let context = RetrievingContext(options: optionsInfo, originalSource: source) + _ = manager.retrieveImageFromCache( + source: source, + context: context) + { + _ in + self.append(cached: source) + } + } else { + append(cached: source) + } + case .none: + downloadAndCache(source) + } + } + + private func reportProgress() { + + if progressBlock == nil && progressSourceBlock == nil { + return + } + + let skipped = self.skippedSources + let failed = self.failedSources + let completed = self.completedSources + CallbackQueue.mainCurrentOrAsync.execute { + self.progressSourceBlock?(skipped, failed, completed) + self.progressBlock?( + skipped.compactMap { $0.asResource }, + failed.compactMap { $0.asResource }, + completed.compactMap { $0.asResource } + ) + } + } + + private func reportCompletionOrStartNext() { + if let resource = self.pendingSources.popFirst() { + // Loose call stack for huge ammount of sources. + pretchQueue.async { self.startPrefetching(resource) } + } else { + guard allFinished else { return } + self.handleComplete() + } + } + + var allFinished: Bool { + return skippedSources.count + failedSources.count + completedSources.count == prefetchSources.count + } + + private func handleComplete() { + + if completionHandler == nil && completionSourceHandler == nil { + return + } + + // The completion handler should be called on the main thread + CallbackQueue.mainCurrentOrAsync.execute { + self.completionSourceHandler?(self.skippedSources, self.failedSources, self.completedSources) + self.completionHandler?( + self.skippedSources.compactMap { $0.asResource }, + self.failedSources.compactMap { $0.asResource }, + self.completedSources.compactMap { $0.asResource } + ) + self.completionHandler = nil + self.progressBlock = nil + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift b/Instagram/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift new file mode 100644 index 0000000..0d13cbe --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/RedirectHandler.swift @@ -0,0 +1,76 @@ +// +// RedirectHandler.swift +// Kingfisher +// +// Created by Roman Maidanovych on 2018/12/10. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents and wraps a method for modifying request during an image download request redirection. +public protocol ImageDownloadRedirectHandler { + + /// The `ImageDownloadRedirectHandler` contained will be used to change the request before redirection. + /// This is the posibility you can modify the image download request during redirection. You can modify the + /// request for some customizing purpose, such as adding auth token to the header, do basic HTTP auth or + /// something like url mapping. + /// + /// Usually, you pass an `ImageDownloadRedirectHandler` as the associated value of + /// `KingfisherOptionsInfoItem.redirectHandler` and use it as the `options` parameter in related methods. + /// + /// If you do nothing with the input `request` and return it as is, a downloading process will redirect with it. + /// + /// - Parameters: + /// - task: The current `SessionDataTask` which triggers this redirect. + /// - response: The response received during redirection. + /// - newRequest: The request for redirection which can be modified. + /// - completionHandler: A closure for being called with modified request. + func handleHTTPRedirection( + for task: SessionDataTask, + response: HTTPURLResponse, + newRequest: URLRequest, + completionHandler: @escaping (URLRequest?) -> Void) +} + +/// A wrapper for creating an `ImageDownloadRedirectHandler` easier. +/// This type conforms to `ImageDownloadRedirectHandler` and wraps a redirect request modify block. +public struct AnyRedirectHandler: ImageDownloadRedirectHandler { + + let block: (SessionDataTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void + + public func handleHTTPRedirection( + for task: SessionDataTask, + response: HTTPURLResponse, + newRequest: URLRequest, + completionHandler: @escaping (URLRequest?) -> Void) + { + block(task, response, newRequest, completionHandler) + } + + /// Creates a value of `ImageDownloadRedirectHandler` which runs `modify` block. + /// + /// - Parameter modify: The request modifying block runs when a request modifying task comes. + /// + public init(handle: @escaping (SessionDataTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void) { + block = handle + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/RequestModifier.swift b/Instagram/Pods/Kingfisher/Sources/Networking/RequestModifier.swift new file mode 100644 index 0000000..a1d972d --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/RequestModifier.swift @@ -0,0 +1,108 @@ +// +// RequestModifier.swift +// Kingfisher +// +// Created by Wei Wang on 2016/09/05. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents and wraps a method for modifying request before an image download request starts in an asynchronous way. +public protocol AsyncImageDownloadRequestModifier { + + /// This method will be called just before the `request` being sent. + /// This is the last chance you can modify the image download request. You can modify the request for some + /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping. + /// When you have done with the modification, call the `reportModified` block with the modified request and the data + /// download will happen with this request. + /// + /// Usually, you pass an `AsyncImageDownloadRequestModifier` as the associated value of + /// `KingfisherOptionsInfoItem.requestModifier` and use it as the `options` parameter in related methods. + /// + /// If you do nothing with the input `request` and return it as is, a downloading process will start with it. + /// + /// - Parameters: + /// - request: The input request contains necessary information like `url`. This request is generated + /// according to your resource url as a GET request. + /// - reportModified: The callback block you need to call after the asynchronous modifying done. + /// + func modified(for request: URLRequest, reportModified: @escaping (URLRequest?) -> Void) + + /// A block will be called when the download task started. + /// + /// If an `AsyncImageDownloadRequestModifier` and the asynchronous modification happens before the download, the + /// related download method will not return a valid `DownloadTask` value. Instead, you can get one from this method. + var onDownloadTaskStarted: ((DownloadTask?) -> Void)? { get } +} + +/// Represents and wraps a method for modifying request before an image download request starts. +public protocol ImageDownloadRequestModifier: AsyncImageDownloadRequestModifier { + + /// This method will be called just before the `request` being sent. + /// This is the last chance you can modify the image download request. You can modify the request for some + /// customizing purpose, such as adding auth token to the header, do basic HTTP auth or something like url mapping. + /// + /// Usually, you pass an `ImageDownloadRequestModifier` as the associated value of + /// `KingfisherOptionsInfoItem.requestModifier` and use it as the `options` parameter in related methods. + /// + /// If you do nothing with the input `request` and return it as is, a downloading process will start with it. + /// + /// - Parameter request: The input request contains necessary information like `url`. This request is generated + /// according to your resource url as a GET request. + /// - Returns: A modified version of request, which you wish to use for downloading an image. If `nil` returned, + /// a `KingfisherError.requestError` with `.emptyRequest` as its reason will occur. + /// + func modified(for request: URLRequest) -> URLRequest? +} + +extension ImageDownloadRequestModifier { + public func modified(for request: URLRequest, reportModified: @escaping (URLRequest?) -> Void) { + let request = modified(for: request) + reportModified(request) + } + + /// This is `nil` for a sync `ImageDownloadRequestModifier` by default. You can get the `DownloadTask` from the + /// return value of downloader method. + public var onDownloadTaskStarted: ((DownloadTask?) -> Void)? { return nil } +} + +/// A wrapper for creating an `ImageDownloadRequestModifier` easier. +/// This type conforms to `ImageDownloadRequestModifier` and wraps an image modify block. +public struct AnyModifier: ImageDownloadRequestModifier { + + let block: (URLRequest) -> URLRequest? + + /// For `ImageDownloadRequestModifier` conformation. + public func modified(for request: URLRequest) -> URLRequest? { + return block(request) + } + + /// Creates a value of `ImageDownloadRequestModifier` which runs `modify` block. + /// + /// - Parameter modify: The request modifying block runs when a request modifying task comes. + /// The return `URLRequest?` value of this block will be used as the image download request. + /// If `nil` returned, a `KingfisherError.requestError` with `.emptyRequest` as its + /// reason will occur. + public init(modify: @escaping (URLRequest) -> URLRequest?) { + block = modify + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/RetryStrategy.swift b/Instagram/Pods/Kingfisher/Sources/Networking/RetryStrategy.swift new file mode 100644 index 0000000..1ab5a2e --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/RetryStrategy.swift @@ -0,0 +1,153 @@ +// +// RetryStrategy.swift +// Kingfisher +// +// Created by onevcat on 2020/05/04. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents a retry context which could be used to determine the current retry status. +public class RetryContext { + + /// The source from which the target image should be retrieved. + public let source: Source + + /// The last error which caused current retry behavior. + public let error: KingfisherError + + /// The retried count before current retry happens. This value is `0` if the current retry is for the first time. + public var retriedCount: Int + + /// A user set value for passing any other information during the retry. If you choose to use `RetryDecision.retry` + /// as the retry decision for `RetryStrategy.retry(context:retryHandler:)`, the associated value of + /// `RetryDecision.retry` will be delivered to you in the next retry. + public internal(set) var userInfo: Any? = nil + + init(source: Source, error: KingfisherError) { + self.source = source + self.error = error + self.retriedCount = 0 + } + + @discardableResult + func increaseRetryCount() -> RetryContext { + retriedCount += 1 + return self + } +} + +/// Represents decision of behavior on the current retry. +public enum RetryDecision { + /// A retry should happen. The associated `userInfo` will be pass to the next retry in the `RetryContext` parameter. + case retry(userInfo: Any?) + /// There should be no more retry attempt. The image retrieving process will fail with an error. + case stop +} + +/// Defines a retry strategy can be applied to a `.retryStrategy` option. +public protocol RetryStrategy { + + /// Kingfisher calls this method if an error happens during the image retrieving process from a `KingfisherManager`. + /// You implement this method to provide necessary logic based on the `context` parameter. Then you need to call + /// `retryHandler` to pass the retry decision back to Kingfisher. + /// + /// - Parameters: + /// - context: The retry context containing information of current retry attempt. + /// - retryHandler: A block you need to call with a decision of whether the retry should happen or not. + func retry(context: RetryContext, retryHandler: @escaping (RetryDecision) -> Void) +} + +/// A retry strategy that guides Kingfisher to retry when a `.responseError` happens, with a specified max retry count +/// and a certain interval mechanism. +public struct DelayRetryStrategy: RetryStrategy { + + /// Represents the interval mechanism which used in a `DelayRetryStrategy`. + public enum Interval { + /// The next retry attempt should happen in fixed seconds. For example, if the associated value is 3, the + /// attempts happens after 3 seconds after the previous decision is made. + case seconds(TimeInterval) + /// The next retry attempt should happen in an accumulated duration. For example, if the associated value is 3, + /// the attempts happens with interval of 3, 6, 9, 12, ... seconds. + case accumulated(TimeInterval) + /// Uses a block to determine the next interval. The current retry count is given as a parameter. + case custom(block: (_ retriedCount: Int) -> TimeInterval) + + func timeInterval(for retriedCount: Int) -> TimeInterval { + let retryAfter: TimeInterval + switch self { + case .seconds(let interval): + retryAfter = interval + case .accumulated(let interval): + retryAfter = Double(retriedCount + 1) * interval + case .custom(let block): + retryAfter = block(retriedCount) + } + return retryAfter + } + } + + /// The max retry count defined for the retry strategy + public let maxRetryCount: Int + + /// The retry interval mechanism defined for the retry strategy. + public let retryInterval: Interval + + /// Creates a delay retry strategy. + /// - Parameters: + /// - maxRetryCount: The max retry count. + /// - retryInterval: The retry interval mechanism. By default, `.seconds(3)` is used to provide a constant retry + /// interval. + public init(maxRetryCount: Int, retryInterval: Interval = .seconds(3)) { + self.maxRetryCount = maxRetryCount + self.retryInterval = retryInterval + } + + public func retry(context: RetryContext, retryHandler: @escaping (RetryDecision) -> Void) { + // Retry count exceeded. + guard context.retriedCount < maxRetryCount else { + retryHandler(.stop) + return + } + + // User cancel the task. No retry. + guard !context.error.isTaskCancelled else { + retryHandler(.stop) + return + } + + // Only retry for a response error. + guard case KingfisherError.responseError = context.error else { + retryHandler(.stop) + return + } + + let interval = retryInterval.timeInterval(for: context.retriedCount) + if interval == 0 { + retryHandler(.retry(userInfo: nil)) + } else { + DispatchQueue.main.asyncAfter(deadline: .now() + interval) { + retryHandler(.retry(userInfo: nil)) + } + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift b/Instagram/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift new file mode 100644 index 0000000..8932bd5 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/SessionDataTask.swift @@ -0,0 +1,127 @@ +// +// SessionDataTask.swift +// Kingfisher +// +// Created by Wei Wang on 2018/11/1. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +/// Represents a session data task in `ImageDownloader`. It consists of an underlying `URLSessionDataTask` and +/// an array of `TaskCallback`. Multiple `TaskCallback`s could be added for a single downloading data task. +public class SessionDataTask { + + /// Represents the type of token which used for cancelling a task. + public typealias CancelToken = Int + + struct TaskCallback { + let onCompleted: Delegate, Void>? + let options: KingfisherParsedOptionsInfo + } + + /// Downloaded raw data of current task. + public private(set) var mutableData: Data + + // This is a copy of `task.originalRequest?.url`. It is for getting a race-safe behavior for a pitfall on iOS 13. + // Ref: https://github.com/onevcat/Kingfisher/issues/1511 + public let originalURL: URL? + + /// The underlying download task. It is only for debugging purpose when you encountered an error. You should not + /// modify the content of this task or start it yourself. + public let task: URLSessionDataTask + private var callbacksStore = [CancelToken: TaskCallback]() + + var callbacks: [SessionDataTask.TaskCallback] { + lock.lock() + defer { lock.unlock() } + return Array(callbacksStore.values) + } + + private var currentToken = 0 + private let lock = NSLock() + + let onTaskDone = Delegate<(Result<(Data, URLResponse?), KingfisherError>, [TaskCallback]), Void>() + let onCallbackCancelled = Delegate<(CancelToken, TaskCallback), Void>() + + var started = false + var containsCallbacks: Bool { + // We should be able to use `task.state != .running` to check it. + // However, in some rare cases, cancelling the task does not change + // task state to `.cancelling` immediately, but still in `.running`. + // So we need to check callbacks count to for sure that it is safe to remove the + // task in delegate. + return !callbacks.isEmpty + } + + init(task: URLSessionDataTask) { + self.task = task + self.originalURL = task.originalRequest?.url + mutableData = Data() + } + + func addCallback(_ callback: TaskCallback) -> CancelToken { + lock.lock() + defer { lock.unlock() } + callbacksStore[currentToken] = callback + defer { currentToken += 1 } + return currentToken + } + + func removeCallback(_ token: CancelToken) -> TaskCallback? { + lock.lock() + defer { lock.unlock() } + if let callback = callbacksStore[token] { + callbacksStore[token] = nil + return callback + } + return nil + } + + func removeAllCallbacks() -> Void { + lock.lock() + defer { lock.unlock() } + callbacksStore.removeAll() + } + + func resume() { + guard !started else { return } + started = true + task.resume() + } + + func cancel(token: CancelToken) { + guard let callback = removeCallback(token) else { + return + } + onCallbackCancelled.call((token, callback)) + } + + func forceCancel() { + for token in callbacksStore.keys { + cancel(token: token) + } + } + + func didReceiveData(_ data: Data) { + mutableData.append(data) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift b/Instagram/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift new file mode 100644 index 0000000..bebe680 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Networking/SessionDelegate.swift @@ -0,0 +1,263 @@ +// +// SessionDelegate.swift +// Kingfisher +// +// Created by Wei Wang on 2018/11/1. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +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 +open class SessionDelegate: NSObject { + + typealias SessionChallengeFunc = ( + URLSession, + URLAuthenticationChallenge, + (URLSession.AuthChallengeDisposition, URLCredential?) -> Void + ) + + typealias SessionTaskChallengeFunc = ( + URLSession, + URLSessionTask, + URLAuthenticationChallenge, + (URLSession.AuthChallengeDisposition, URLCredential?) -> Void + ) + + private var tasks: [URL: SessionDataTask] = [:] + private let lock = NSLock() + + let onValidStatusCode = Delegate() + let onDownloadingFinished = Delegate<(URL, Result), Void>() + let onDidDownloadData = Delegate() + + let onReceiveSessionChallenge = Delegate() + let onReceiveSessionTaskChallenge = Delegate() + + func add( + _ dataTask: URLSessionDataTask, + url: URL, + callback: SessionDataTask.TaskCallback) -> DownloadTask + { + lock.lock() + defer { lock.unlock() } + + // Create a new task if necessary. + let task = SessionDataTask(task: dataTask) + task.onCallbackCancelled.delegate(on: self) { [weak task] (self, value) in + guard let task = task else { return } + + let (token, callback) = value + + let error = KingfisherError.requestError(reason: .taskCancelled(task: task, token: token)) + task.onTaskDone.call((.failure(error), [callback])) + // No other callbacks waiting, we can clear the task now. + if !task.containsCallbacks { + let dataTask = task.task + + self.cancelTask(dataTask) + self.remove(task) + } + } + let token = task.addCallback(callback) + tasks[url] = task + return DownloadTask(sessionTask: task, cancelToken: token) + } + + private func cancelTask(_ dataTask: URLSessionDataTask) { + lock.lock() + defer { lock.unlock() } + dataTask.cancel() + } + + func append( + _ task: SessionDataTask, + url: URL, + callback: SessionDataTask.TaskCallback) -> DownloadTask + { + let token = task.addCallback(callback) + return DownloadTask(sessionTask: task, cancelToken: token) + } + + private func remove(_ task: SessionDataTask) { + lock.lock() + defer { lock.unlock() } + + guard let url = task.originalURL else { + return + } + task.removeAllCallbacks() + tasks[url] = nil + } + + private func task(for task: URLSessionTask) -> SessionDataTask? { + lock.lock() + defer { lock.unlock() } + + guard let url = task.originalRequest?.url else { + return nil + } + guard let sessionTask = tasks[url] else { + return nil + } + guard sessionTask.task.taskIdentifier == task.taskIdentifier else { + return nil + } + return sessionTask + } + + func task(for url: URL) -> SessionDataTask? { + lock.lock() + defer { lock.unlock() } + return tasks[url] + } + + func cancelAll() { + lock.lock() + let taskValues = tasks.values + lock.unlock() + for task in taskValues { + task.forceCancel() + } + } + + func cancel(url: URL) { + lock.lock() + let task = tasks[url] + lock.unlock() + task?.forceCancel() + } +} + +extension SessionDelegate: URLSessionDataDelegate { + + open func urlSession( + _ session: URLSession, + dataTask: URLSessionDataTask, + didReceive response: URLResponse, + completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) + { + guard let httpResponse = response as? HTTPURLResponse else { + let error = KingfisherError.responseError(reason: .invalidURLResponse(response: response)) + onCompleted(task: dataTask, result: .failure(error)) + completionHandler(.cancel) + return + } + + let httpStatusCode = httpResponse.statusCode + guard onValidStatusCode.call(httpStatusCode) == true else { + let error = KingfisherError.responseError(reason: .invalidHTTPStatusCode(response: httpResponse)) + onCompleted(task: dataTask, result: .failure(error)) + completionHandler(.cancel) + return + } + completionHandler(.allow) + } + + open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) { + guard let task = self.task(for: dataTask) else { + return + } + + task.didReceiveData(data) + + task.callbacks.forEach { callback in + callback.options.onDataReceived?.forEach { sideEffect in + sideEffect.onDataReceived(session, task: task, data: data) + } + } + } + + open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) { + guard let sessionTask = self.task(for: task) else { return } + + if let url = sessionTask.originalURL { + let result: Result + if let error = error { + result = .failure(KingfisherError.responseError(reason: .URLSessionError(error: error))) + } else if let response = task.response { + result = .success(response) + } else { + result = .failure(KingfisherError.responseError(reason: .noURLResponse(task: sessionTask))) + } + onDownloadingFinished.call((url, result)) + } + + let result: Result<(Data, URLResponse?), KingfisherError> + if let error = error { + result = .failure(KingfisherError.responseError(reason: .URLSessionError(error: error))) + } else { + if let data = onDidDownloadData.call(sessionTask) { + result = .success((data, task.response)) + } else { + result = .failure(KingfisherError.responseError(reason: .dataModifyingFailed(task: sessionTask))) + } + } + onCompleted(task: task, result: result) + } + + open func urlSession( + _ session: URLSession, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) + { + onReceiveSessionChallenge.call((session, challenge, completionHandler)) + } + + open func urlSession( + _ session: URLSession, + task: URLSessionTask, + didReceive challenge: URLAuthenticationChallenge, + completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) + { + onReceiveSessionTaskChallenge.call((session, task, challenge, completionHandler)) + } + + open func urlSession( + _ session: URLSession, + task: URLSessionTask, + willPerformHTTPRedirection response: HTTPURLResponse, + newRequest request: URLRequest, + completionHandler: @escaping (URLRequest?) -> Void) + { + guard let sessionDataTask = self.task(for: task), + let redirectHandler = Array(sessionDataTask.callbacks).last?.options.redirectHandler else + { + completionHandler(request) + return + } + + redirectHandler.handleHTTPRedirection( + for: sessionDataTask, + response: response, + newRequest: request, + completionHandler: completionHandler) + } + + private func onCompleted(task: URLSessionTask, result: Result<(Data, URLResponse?), KingfisherError>) { + guard let sessionTask = self.task(for: task) else { + return + } + sessionTask.onTaskDone.call((result, sessionTask.callbacks)) + remove(sessionTask) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageBinder.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageBinder.swift new file mode 100644 index 0000000..b0eec2d --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageBinder.swift @@ -0,0 +1,130 @@ +// +// ImageBinder.swift +// Kingfisher +// +// Created by onevcat on 2019/06/27. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImage { + + /// Represents a binder for `KFImage`. It takes responsibility as an `ObjectBinding` and performs + /// image downloading and progress reporting based on `KingfisherManager`. + class ImageBinder: ObservableObject { + + init() {} + + var downloadTask: DownloadTask? + private var loading = false + + var loadingOrSucceeded: Bool { + return loading || loadedImage != nil + } + + // Do not use @Published due to https://github.com/onevcat/Kingfisher/issues/1717. Revert to @Published once + // we can drop iOS 12. + var loaded = false { willSet { objectWillChange.send() } } + var loadedImage: KFCrossPlatformImage? = nil { willSet { objectWillChange.send() } } + var progress: Progress = .init() { willSet { objectWillChange.send() } } + + func start(context: Context) { + guard let source = context.source else { + CallbackQueue.mainCurrentOrAsync.execute { + context.onFailureDelegate.call(KingfisherError.imageSettingError(reason: .emptySource)) + if let image = context.options.onFailureImage { + self.loadedImage = image + } + self.loading = false + self.loaded = true + } + return + } + + loading = true + + progress = .init() + downloadTask = KingfisherManager.shared + .retrieveImage( + with: source, + options: context.options, + progressBlock: { size, total in + self.updateProgress(downloaded: size, total: total) + context.onProgressDelegate.call((size, total)) + }, + completionHandler: { [weak self] result in + + guard let self = self else { return } + + CallbackQueue.mainCurrentOrAsync.execute { + self.downloadTask = nil + self.loading = false + } + + switch result { + case .success(let value): + CallbackQueue.mainCurrentOrAsync.execute { + if let fadeDuration = context.fadeTransitionDuration(cacheType: value.cacheType) { + let animation = Animation.linear(duration: fadeDuration) + withAnimation(animation) { self.loaded = true } + } else { + self.loaded = true + } + self.loadedImage = value.image + } + + CallbackQueue.mainAsync.execute { + context.onSuccessDelegate.call(value) + } + case .failure(let error): + CallbackQueue.mainCurrentOrAsync.execute { + if let image = context.options.onFailureImage { + self.loadedImage = image + } + self.loaded = true + } + + CallbackQueue.mainAsync.execute { + context.onFailureDelegate.call(error) + } + } + }) + } + + private func updateProgress(downloaded: Int64, total: Int64) { + progress.totalUnitCount = total + progress.completedUnitCount = downloaded + objectWillChange.send() + } + + /// Cancels the download task if it is in progress. + func cancel() { + downloadTask?.cancel() + downloadTask = nil + loading = false + } + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageContext.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageContext.swift new file mode 100644 index 0000000..7275f0e --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/ImageContext.swift @@ -0,0 +1,99 @@ +// +// ImageContext.swift +// Kingfisher +// +// Created by onevcat on 2021/05/08. +// +// Copyright (c) 2021 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImage { + public class Context { + let source: Source? + var options = KingfisherParsedOptionsInfo( + KingfisherManager.shared.defaultOptions + [.loadDiskFileSynchronously] + ) + + var configurations: [(HoldingView) -> HoldingView] = [] + var renderConfigurations: [(HoldingView.RenderingView) -> Void] = [] + + var cancelOnDisappear: Bool = false + var placeholder: ((Progress) -> AnyView)? = nil + + let onFailureDelegate = Delegate() + let onSuccessDelegate = Delegate() + let onProgressDelegate = Delegate<(Int64, Int64), Void>() + + init(source: Source?) { + self.source = source + } + + func shouldApplyFade(cacheType: CacheType) -> Bool { + options.forceTransition || cacheType == .none + } + + func fadeTransitionDuration(cacheType: CacheType) -> TimeInterval? { + shouldApplyFade(cacheType: cacheType) + ? options.transition.fadeDuration + : nil + } + } +} + +extension ImageTransition { + // Only for fade effect in SwiftUI. + fileprivate var fadeDuration: TimeInterval? { + switch self { + case .fade(let duration): + return duration + default: + return nil + } + } +} + + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImage.Context: Hashable { + public static func == (lhs: KFImage.Context, rhs: KFImage.Context) -> Bool { + lhs.source == rhs.source && + lhs.options.processor.identifier == rhs.options.processor.identifier + } + + public func hash(into hasher: inout Hasher) { + hasher.combine(source) + hasher.combine(options.processor.identifier) + } +} + +#if canImport(UIKit) && !os(watchOS) +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFAnimatedImage { + public typealias Context = KFImage.Context + typealias ImageBinder = KFImage.ImageBinder +} +#endif + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFAnimatedImage.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFAnimatedImage.swift new file mode 100644 index 0000000..ad25eb2 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFAnimatedImage.swift @@ -0,0 +1,96 @@ +// +// KFAnimatedImage.swift +// Kingfisher +// +// Created by wangxingbin on 2021/4/29. +// +// Copyright (c) 2021 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) && canImport(UIKit) && !os(watchOS) +import SwiftUI +import Combine + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +public struct KFAnimatedImage: KFImageProtocol { + public typealias HoldingView = KFAnimatedImageViewRepresenter + public var context: Context + public init(context: KFImage.Context) { + self.context = context + } + + /// Configures current rendering view with a `block`. This block will be applied when the under-hood + /// `AnimatedImageView` is created in `UIViewRepresentable.makeUIView(context:)` + /// + /// - Parameter block: The block applies to the animated image view. + /// - Returns: A `KFAnimatedImage` view that being configured by the `block`. + public func configure(_ block: @escaping (HoldingView.RenderingView) -> Void) -> Self { + context.renderConfigurations.append(block) + return self + } +} + +/// A wrapped `UIViewRepresentable` of `AnimatedImageView` +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +public struct KFAnimatedImageViewRepresenter: UIViewRepresentable, KFImageHoldingView { + public typealias RenderingView = AnimatedImageView + public static func created(from image: KFCrossPlatformImage?, context: KFImage.Context) -> KFAnimatedImageViewRepresenter { + KFAnimatedImageViewRepresenter(image: image, context: context) + } + + var image: KFCrossPlatformImage? + let context: KFImage.Context + + public func makeUIView(context: Context) -> AnimatedImageView { + let view = AnimatedImageView() + + self.context.renderConfigurations.forEach { $0(view) } + + view.image = image + + // Allow SwiftUI scale (fit/fill) working fine. + view.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) + view.setContentCompressionResistancePriority(.defaultLow, for: .vertical) + return view + } + + public func updateUIView(_ uiView: AnimatedImageView, context: Context) { + uiView.image = image + } +} + +#if DEBUG +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +struct KFAnimatedImage_Previews: PreviewProvider { + static var previews: some View { + Group { + KFAnimatedImage(source: .network(URL(string: "https://raw.githubusercontent.com/onevcat/Kingfisher-TestImages/master/DemoAppImage/GIF/1.gif")!)) + .onSuccess { r in + print(r) + } + .placeholder { + ProgressView() + } + .padding() + } + } +} +#endif +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImage.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImage.swift new file mode 100644 index 0000000..67f1c19 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImage.swift @@ -0,0 +1,106 @@ +// +// KFImage.swift +// Kingfisher +// +// Created by onevcat on 2019/06/26. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +public struct KFImage: KFImageProtocol { + public var context: Context + public init(context: Context) { + self.context = context + } +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension Image: KFImageHoldingView { + public typealias RenderingView = Image + public static func created(from image: KFCrossPlatformImage?, context: KFImage.Context) -> Image { + Image(crossPlatformImage: image) + } +} + +// MARK: - Image compatibility. +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImage { + + public func resizable( + capInsets: EdgeInsets = EdgeInsets(), + resizingMode: Image.ResizingMode = .stretch) -> KFImage + { + configure { $0.resizable(capInsets: capInsets, resizingMode: resizingMode) } + } + + public func renderingMode(_ renderingMode: Image.TemplateRenderingMode?) -> KFImage { + configure { $0.renderingMode(renderingMode) } + } + + public func interpolation(_ interpolation: Image.Interpolation) -> KFImage { + configure { $0.interpolation(interpolation) } + } + + public func antialiased(_ isAntialiased: Bool) -> KFImage { + configure { $0.antialiased(isAntialiased) } + } + + /// Starts the loading process of `self` immediately. + /// + /// By default, a `KFImage` will not load its source until the `onAppear` is called. This is a lazily loading + /// behavior and provides better performance. However, when you refresh the view, the lazy loading also causes a + /// flickering since the loading does not happen immediately. Call this method if you want to start the load at once + /// could help avoiding the flickering, with some performance trade-off. + /// + /// - Deprecated: This is not necessary anymore since `@StateObject` is used for holding the image data. + /// It does nothing now and please just remove it. + /// + /// - Returns: The `Self` value with changes applied. + @available(*, deprecated, message: "This is not necessary anymore since `@StateObject` is used. It does nothing now and please just remove it.") + public func loadImmediately(_ start: Bool = true) -> KFImage { + return self + } +} + +#if DEBUG +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +struct KFImage_Previews: PreviewProvider { + static var previews: some View { + Group { + KFImage.url(URL(string: "https://raw.githubusercontent.com/onevcat/Kingfisher/master/images/logo.png")!) + .onSuccess { r in + print(r) + } + .placeholder { p in + ProgressView(p) + } + .resizable() + .aspectRatio(contentMode: .fit) + .padding() + } + } +} +#endif +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageOptions.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageOptions.swift new file mode 100644 index 0000000..e553b2a --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageOptions.swift @@ -0,0 +1,138 @@ +// +// KFImageOptions.swift +// Kingfisher +// +// Created by onevcat on 2020/12/20. +// +// Copyright (c) 2020 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +// MARK: - KFImage creating. +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImageProtocol { + + /// Creates a `KFImage` for a given `Source`. + /// - Parameters: + /// - source: The `Source` object defines data information from network or a data provider. + /// - Returns: A `KFImage` for future configuration or embedding to a `SwiftUI.View`. + public static func source( + _ source: Source? + ) -> Self + { + Self.init(source: source) + } + + /// Creates a `KFImage` for a given `Resource`. + /// - Parameters: + /// - source: The `Resource` object defines data information like key or URL. + /// - Returns: A `KFImage` for future configuration or embedding to a `SwiftUI.View`. + public static func resource( + _ resource: Resource? + ) -> Self + { + source(resource?.convertToSource()) + } + + /// Creates a `KFImage` for a given `URL`. + /// - Parameters: + /// - url: The URL where the image should be downloaded. + /// - cacheKey: The key used to store the downloaded image in cache. + /// If `nil`, the `absoluteString` of `url` is used as the cache key. + /// - Returns: A `KFImage` for future configuration or embedding to a `SwiftUI.View`. + public static func url( + _ url: URL?, cacheKey: String? = nil + ) -> Self + { + source(url?.convertToSource(overrideCacheKey: cacheKey)) + } + + /// Creates a `KFImage` for a given `ImageDataProvider`. + /// - Parameters: + /// - provider: The `ImageDataProvider` object contains information about the data. + /// - Returns: A `KFImage` for future configuration or embedding to a `SwiftUI.View`. + public static func dataProvider( + _ provider: ImageDataProvider? + ) -> Self + { + source(provider?.convertToSource()) + } + + /// Creates a builder for some given raw data and a cache key. + /// - Parameters: + /// - data: The data object from which the image should be created. + /// - cacheKey: The key used to store the downloaded image in cache. + /// - Returns: A `KFImage` for future configuration or embedding to a `SwiftUI.View`. + public static func data( + _ data: Data?, cacheKey: String + ) -> Self + { + if let data = data { + return dataProvider(RawImageDataProvider(data: data, cacheKey: cacheKey)) + } else { + return dataProvider(nil) + } + } +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImageProtocol { + /// Sets a placeholder `View` which shows when loading the image, with a progress parameter as input. + /// - Parameter content: A view that describes the placeholder. + /// - Returns: A `KFImage` view that contains `content` as its placeholder. + public func placeholder(@ViewBuilder _ content: @escaping (Progress) -> P) -> Self { + context.placeholder = { progress in + return AnyView(content(progress)) + } + return self + } + + /// Sets a placeholder `View` which shows when loading the image. + /// - Parameter content: A view that describes the placeholder. + /// - Returns: A `KFImage` view that contains `content` as its placeholder. + public func placeholder(@ViewBuilder _ content: @escaping () -> P) -> Self { + placeholder { _ in content() } + } + + /// Sets cancelling the download task bound to `self` when the view disappearing. + /// - Parameter flag: Whether cancel the task or not. + /// - Returns: A `KFImage` view that cancels downloading task when disappears. + public func cancelOnDisappear(_ flag: Bool) -> Self { + context.cancelOnDisappear = flag + return self + } + + /// Sets a fade transition for the image task. + /// - Parameter duration: The duration of the fade transition. + /// - Returns: A `KFImage` with changes applied. + /// + /// Kingfisher will use the fade transition to animate the image in if it is downloaded from web. + /// The transition will not happen when the + /// image is retrieved from either memory or disk cache by default. If you need to do the transition even when + /// the image being retrieved from cache, also call `forceRefresh()` on the returned `KFImage`. + public func fade(duration: TimeInterval) -> Self { + context.options.transition = .fade(duration) + return self + } +} +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageProtocol.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageProtocol.swift new file mode 100644 index 0000000..4eca452 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageProtocol.swift @@ -0,0 +1,93 @@ +// +// KFImageProtocol.swift +// Kingfisher +// +// Created by onevcat on 2021/05/08. +// +// Copyright (c) 2021 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +public protocol KFImageProtocol: View, KFOptionSetter { + associatedtype HoldingView: KFImageHoldingView + var context: KFImage.Context { get set } + init(context: KFImage.Context) +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImageProtocol { + public var body: some View { + ZStack { + KFImageRenderer( + context: context + ).id(context) + } + } + + /// Creates a Kingfisher compatible image view to load image from the given `Source`. + /// - Parameters: + /// - source: The image `Source` defining where to load the target image. + public init(source: Source?) { + let context = KFImage.Context(source: source) + self.init(context: context) + } + + /// Creates a Kingfisher compatible image view to load image from the given `URL`. + /// - Parameters: + /// - source: The image `Source` defining where to load the target image. + public init(_ url: URL?) { + self.init(source: url?.convertToSource()) + } + + /// Configures current image with a `block`. This block will be lazily applied when creating the final `Image`. + /// - Parameter block: The block applies to loaded image. + /// - Returns: A `KFImage` view that configures internal `Image` with `block`. + public func configure(_ block: @escaping (HoldingView) -> HoldingView) -> Self { + context.configurations.append(block) + return self + } +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +public protocol KFImageHoldingView: View { + associatedtype RenderingView + static func created(from image: KFCrossPlatformImage?, context: KFImage.Context) -> Self +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension KFImageProtocol { + public var options: KingfisherParsedOptionsInfo { + get { context.options } + nonmutating set { context.options = newValue } + } + + public var onFailureDelegate: Delegate { context.onFailureDelegate } + public var onSuccessDelegate: Delegate { context.onSuccessDelegate } + public var onProgressDelegate: Delegate<(Int64, Int64), Void> { context.onProgressDelegate } + + public var delegateObserver: AnyObject { context } +} + + +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift new file mode 100644 index 0000000..90e6846 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift @@ -0,0 +1,105 @@ +// +// KFImageRenderer.swift +// Kingfisher +// +// Created by onevcat on 2021/05/08. +// +// Copyright (c) 2021 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if canImport(SwiftUI) && canImport(Combine) +import SwiftUI +import Combine + +/// A Kingfisher compatible SwiftUI `View` to load an image from a `Source`. +/// Declaring a `KFImage` in a `View`'s body to trigger loading from the given `Source`. +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +struct KFImageRenderer : View where HoldingView: KFImageHoldingView { + + @StateObject var binder: KFImage.ImageBinder = .init() + let context: KFImage.Context + + var body: some View { + ZStack { + context.configurations + .reduce(HoldingView.created(from: binder.loadedImage, context: context)) { + current, config in config(current) + } + .opacity(binder.loaded ? 1.0 : 0.0) + if binder.loadedImage == nil { + Group { + if let placeholder = context.placeholder, let view = placeholder(binder.progress) { + view + } else { + Color.clear + } + } + .onAppear { [weak binder = self.binder] in + guard let binder = binder else { + return + } + if !binder.loadingOrSucceeded { + binder.start(context: context) + } + } + .onDisappear { [weak binder = self.binder] in + guard let binder = binder else { + return + } + if context.cancelOnDisappear { + binder.cancel() + } + } + } + } + } +} + +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension Image { + // Creates an Image with either UIImage or NSImage. + init(crossPlatformImage: KFCrossPlatformImage?) { + #if canImport(UIKit) + self.init(uiImage: crossPlatformImage ?? KFCrossPlatformImage()) + #elseif canImport(AppKit) + self.init(nsImage: crossPlatformImage ?? KFCrossPlatformImage()) + #endif + } +} + +#if canImport(UIKit) +@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) +extension UIImage.Orientation { + func toSwiftUI() -> Image.Orientation { + switch self { + case .down: return .down + case .up: return .up + case .left: return .left + case .right: return .right + case .upMirrored: return .upMirrored + case .downMirrored: return .downMirrored + case .leftMirrored: return .leftMirrored + case .rightMirrored: return .rightMirrored + @unknown default: return .up + } + } +} +#endif +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/Box.swift b/Instagram/Pods/Kingfisher/Sources/Utility/Box.swift new file mode 100644 index 0000000..0303a6e --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/Box.swift @@ -0,0 +1,34 @@ +// +// Box.swift +// Kingfisher +// +// Created by Wei Wang on 2018/3/17. +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +class Box { + var value: T + + init(_ value: T) { + self.value = value + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift b/Instagram/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift new file mode 100644 index 0000000..822af28 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/CallbackQueue.swift @@ -0,0 +1,83 @@ +// +// CallbackQueue.swift +// Kingfisher +// +// Created by onevcat on 2018/10/15. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +public typealias ExecutionQueue = CallbackQueue + +/// Represents callback queue behaviors when an calling of closure be dispatched. +/// +/// - asyncMain: Dispatch the calling to `DispatchQueue.main` with an `async` behavior. +/// - currentMainOrAsync: Dispatch the calling to `DispatchQueue.main` with an `async` behavior if current queue is not +/// `.main`. Otherwise, call the closure immediately in current main queue. +/// - untouch: Do not change the calling queue for closure. +/// - dispatch: Dispatches to a specified `DispatchQueue`. +public enum CallbackQueue { + /// Dispatch the calling to `DispatchQueue.main` with an `async` behavior. + case mainAsync + /// Dispatch the calling to `DispatchQueue.main` with an `async` behavior if current queue is not + /// `.main`. Otherwise, call the closure immediately in current main queue. + case mainCurrentOrAsync + /// Do not change the calling queue for closure. + case untouch + /// Dispatches to a specified `DispatchQueue`. + case dispatch(DispatchQueue) + + public func execute(_ block: @escaping () -> Void) { + switch self { + case .mainAsync: + DispatchQueue.main.async { block() } + case .mainCurrentOrAsync: + DispatchQueue.main.safeAsync { block() } + case .untouch: + block() + case .dispatch(let queue): + queue.async { block() } + } + } + + var queue: DispatchQueue { + switch self { + case .mainAsync: return .main + case .mainCurrentOrAsync: return .main + case .untouch: return OperationQueue.current?.underlyingQueue ?? .main + case .dispatch(let queue): return queue + } + } +} + +extension DispatchQueue { + // This method will dispatch the `block` to self. + // If `self` is the main queue, and current thread is main thread, the block + // will be invoked immediately instead of being dispatched. + func safeAsync(_ block: @escaping () -> Void) { + if self === DispatchQueue.main && Thread.isMainThread { + block() + } else { + async { block() } + } + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/Delegate.swift b/Instagram/Pods/Kingfisher/Sources/Utility/Delegate.swift new file mode 100644 index 0000000..9caa1a6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/Delegate.swift @@ -0,0 +1,132 @@ +// +// Delegate.swift +// Kingfisher +// +// Created by onevcat on 2018/10/10. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +/// A class that keeps a weakly reference for `self` when implementing `onXXX` behaviors. +/// Instead of remembering to keep `self` as weak in a stored closure: +/// +/// ```swift +/// // MyClass.swift +/// var onDone: (() -> Void)? +/// func done() { +/// onDone?() +/// } +/// +/// // ViewController.swift +/// var obj: MyClass? +/// +/// func doSomething() { +/// obj = MyClass() +/// obj!.onDone = { [weak self] in +/// self?.reportDone() +/// } +/// } +/// ``` +/// +/// You can create a `Delegate` and observe on `self`. Now, there is no retain cycle inside: +/// +/// ```swift +/// // MyClass.swift +/// let onDone = Delegate<(), Void>() +/// func done() { +/// onDone.call() +/// } +/// +/// // ViewController.swift +/// var obj: MyClass? +/// +/// func doSomething() { +/// obj = MyClass() +/// obj!.onDone.delegate(on: self) { (self, _) +/// // `self` here is shadowed and does not keep a strong ref. +/// // So you can release both `MyClass` instance and `ViewController` instance. +/// self.reportDone() +/// } +/// } +/// ``` +/// +public class Delegate { + public init() {} + + private var block: ((Input) -> Output?)? + public func delegate(on target: T, block: ((T, Input) -> Output)?) { + self.block = { [weak target] input in + guard let target = target else { return nil } + return block?(target, input) + } + } + + public func call(_ input: Input) -> Output? { + return block?(input) + } + + public func callAsFunction(_ input: Input) -> Output? { + return call(input) + } +} + +extension Delegate where Input == Void { + public func call() -> Output? { + return call(()) + } + + public func callAsFunction() -> Output? { + return call() + } +} + +extension Delegate where Input == Void, Output: OptionalProtocol { + public func call() -> Output { + return call(()) + } + + public func callAsFunction() -> Output { + return call() + } +} + +extension Delegate where Output: OptionalProtocol { + public func call(_ input: Input) -> Output { + if let result = block?(input) { + return result + } else { + return Output._createNil + } + } + + public func callAsFunction(_ input: Input) -> Output { + return call(input) + } +} + +public protocol OptionalProtocol { + static var _createNil: Self { get } +} +extension Optional : OptionalProtocol { + public static var _createNil: Optional { + return nil + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift b/Instagram/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift new file mode 100644 index 0000000..f1e1e8b --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/ExtensionHelpers.swift @@ -0,0 +1,125 @@ +// +// ExtensionHelpers.swift +// Kingfisher +// +// Created by onevcat on 2018/09/28. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +extension CGFloat { + var isEven: Bool { + return truncatingRemainder(dividingBy: 2.0) == 0 + } +} + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +extension NSBezierPath { + convenience init(roundedRect rect: NSRect, topLeftRadius: CGFloat, topRightRadius: CGFloat, + bottomLeftRadius: CGFloat, bottomRightRadius: CGFloat) + { + self.init() + + let maxCorner = min(rect.width, rect.height) / 2 + + let radiusTopLeft = min(maxCorner, max(0, topLeftRadius)) + let radiusTopRight = min(maxCorner, max(0, topRightRadius)) + let radiusBottomLeft = min(maxCorner, max(0, bottomLeftRadius)) + let radiusBottomRight = min(maxCorner, max(0, bottomRightRadius)) + + guard !rect.isEmpty else { + return + } + + let topLeft = NSPoint(x: rect.minX, y: rect.maxY) + let topRight = NSPoint(x: rect.maxX, y: rect.maxY) + let bottomRight = NSPoint(x: rect.maxX, y: rect.minY) + + move(to: NSPoint(x: rect.midX, y: rect.maxY)) + appendArc(from: topLeft, to: rect.origin, radius: radiusTopLeft) + appendArc(from: rect.origin, to: bottomRight, radius: radiusBottomLeft) + appendArc(from: bottomRight, to: topRight, radius: radiusBottomRight) + appendArc(from: topRight, to: topLeft, radius: radiusTopRight) + close() + } + + convenience init(roundedRect rect: NSRect, byRoundingCorners corners: RectCorner, radius: CGFloat) { + let radiusTopLeft = corners.contains(.topLeft) ? radius : 0 + let radiusTopRight = corners.contains(.topRight) ? radius : 0 + let radiusBottomLeft = corners.contains(.bottomLeft) ? radius : 0 + let radiusBottomRight = corners.contains(.bottomRight) ? radius : 0 + + self.init(roundedRect: rect, topLeftRadius: radiusTopLeft, topRightRadius: radiusTopRight, + bottomLeftRadius: radiusBottomLeft, bottomRightRadius: radiusBottomRight) + } +} + +extension KFCrossPlatformImage { + // macOS does not support scale. This is just for code compatibility across platforms. + convenience init?(data: Data, scale: CGFloat) { + self.init(data: data) + } +} +#endif + +#if canImport(UIKit) +import UIKit +extension RectCorner { + var uiRectCorner: UIRectCorner { + + var result: UIRectCorner = [] + + if contains(.topLeft) { result.insert(.topLeft) } + if contains(.topRight) { result.insert(.topRight) } + if contains(.bottomLeft) { result.insert(.bottomLeft) } + if contains(.bottomRight) { result.insert(.bottomRight) } + + return result + } +} +#endif + +extension Date { + var isPast: Bool { + return isPast(referenceDate: Date()) + } + + var isFuture: Bool { + return !isPast + } + + func isPast(referenceDate: Date) -> Bool { + return timeIntervalSince(referenceDate) <= 0 + } + + func isFuture(referenceDate: Date) -> Bool { + return !isPast(referenceDate: referenceDate) + } + + // `Date` in memory is a wrap for `TimeInterval`. But in file attribute it can only accept `Int` number. + // By default the system will `round` it. But it is not friendly for testing purpose. + // So we always `ceil` the value when used for file attributes. + var fileAttributeDate: Date { + return Date(timeIntervalSince1970: ceil(timeIntervalSince1970)) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/Result.swift b/Instagram/Pods/Kingfisher/Sources/Utility/Result.swift new file mode 100644 index 0000000..b06500d --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/Result.swift @@ -0,0 +1,71 @@ +// +// Result.swift +// Kingfisher +// +// Created by onevcat on 2018/09/22. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +// These helper methods are not public since we do not want them to be exposed or cause any conflicting. +// However, they are just wrapper of `ResultUtil` static methods. +extension Result where Failure: Error { + + /// Evaluates the given transform closures to create a single output value. + /// + /// - Parameters: + /// - onSuccess: A closure that transforms the success value. + /// - onFailure: A closure that transforms the error value. + /// - Returns: A single `Output` value. + func match( + onSuccess: (Success) -> Output, + onFailure: (Failure) -> Output) -> Output + { + switch self { + case let .success(value): + return onSuccess(value) + case let .failure(error): + return onFailure(error) + } + } + + func matchSuccess(with folder: (Success?) -> Output) -> Output { + return match( + onSuccess: { value in return folder(value) }, + onFailure: { _ in return folder(nil) } + ) + } + + func matchFailure(with folder: (Error?) -> Output) -> Output { + return match( + onSuccess: { _ in return folder(nil) }, + onFailure: { error in return folder(error) } + ) + } + + func match(with folder: (Success?, Error?) -> Output) -> Output { + return match( + onSuccess: { return folder($0, nil) }, + onFailure: { return folder(nil, $0) } + ) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/Runtime.swift b/Instagram/Pods/Kingfisher/Sources/Utility/Runtime.swift new file mode 100644 index 0000000..d5818e2 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/Runtime.swift @@ -0,0 +1,35 @@ +// +// Runtime.swift +// Kingfisher +// +// Created by Wei Wang on 2018/10/12. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation + +func getAssociatedObject(_ object: Any, _ key: UnsafeRawPointer) -> T? { + return objc_getAssociatedObject(object, key) as? T +} + +func setRetainedAssociatedObject(_ object: Any, _ key: UnsafeRawPointer, _ value: T) { + objc_setAssociatedObject(object, key, value, .OBJC_ASSOCIATION_RETAIN_NONATOMIC) +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift b/Instagram/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift new file mode 100644 index 0000000..19d05d6 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/SizeExtensions.swift @@ -0,0 +1,110 @@ +// +// SizeExtensions.swift +// Kingfisher +// +// Created by onevcat on 2018/09/28. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import CoreGraphics + +extension CGSize: KingfisherCompatibleValue {} +extension KingfisherWrapper where Base == CGSize { + + /// Returns a size by resizing the `base` size to a target size under a given content mode. + /// + /// - Parameters: + /// - size: The target size to resize to. + /// - contentMode: Content mode of the target size should be when resizing. + /// - Returns: The resized size under the given `ContentMode`. + public func resize(to size: CGSize, for contentMode: ContentMode) -> CGSize { + switch contentMode { + case .aspectFit: + return constrained(size) + case .aspectFill: + return filling(size) + case .none: + return size + } + } + + /// Returns a size by resizing the `base` size by making it aspect fitting the given `size`. + /// + /// - Parameter size: The size in which the `base` should fit in. + /// - Returns: The size fitted in by the input `size`, while keeps `base` aspect. + public func constrained(_ size: CGSize) -> CGSize { + let aspectWidth = round(aspectRatio * size.height) + let aspectHeight = round(size.width / aspectRatio) + + return aspectWidth > size.width ? + CGSize(width: size.width, height: aspectHeight) : + CGSize(width: aspectWidth, height: size.height) + } + + /// Returns a size by resizing the `base` size by making it aspect filling the given `size`. + /// + /// - Parameter size: The size in which the `base` should fill. + /// - Returns: The size be filled by the input `size`, while keeps `base` aspect. + public func filling(_ size: CGSize) -> CGSize { + let aspectWidth = round(aspectRatio * size.height) + let aspectHeight = round(size.width / aspectRatio) + + return aspectWidth < size.width ? + CGSize(width: size.width, height: aspectHeight) : + CGSize(width: aspectWidth, height: size.height) + } + + /// Returns a `CGRect` for which the `base` size is constrained to an input `size` at a given `anchor` point. + /// + /// - Parameters: + /// - size: The size in which the `base` should be constrained to. + /// - anchor: An anchor point in which the size constraint should happen. + /// - Returns: The result `CGRect` for the constraint operation. + public func constrainedRect(for size: CGSize, anchor: CGPoint) -> CGRect { + + let unifiedAnchor = CGPoint(x: anchor.x.clamped(to: 0.0...1.0), + y: anchor.y.clamped(to: 0.0...1.0)) + + let x = unifiedAnchor.x * base.width - unifiedAnchor.x * size.width + let y = unifiedAnchor.y * base.height - unifiedAnchor.y * size.height + let r = CGRect(x: x, y: y, width: size.width, height: size.height) + + let ori = CGRect(origin: .zero, size: base) + return ori.intersection(r) + } + + private var aspectRatio: CGFloat { + return base.height == 0.0 ? 1.0 : base.width / base.height + } +} + +extension CGRect { + func scaled(_ scale: CGFloat) -> CGRect { + return CGRect(x: origin.x * scale, y: origin.y * scale, + width: size.width * scale, height: size.height * scale) + } +} + +extension Comparable { + func clamped(to limits: ClosedRange) -> Self { + return min(max(self, limits.lowerBound), limits.upperBound) + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Utility/String+MD5.swift b/Instagram/Pods/Kingfisher/Sources/Utility/String+MD5.swift new file mode 100644 index 0000000..091fb62 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Utility/String+MD5.swift @@ -0,0 +1,288 @@ +// +// String+MD5.swift +// Kingfisher +// +// Created by Wei Wang on 18/09/25. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +import Foundation +import CommonCrypto + +extension String: KingfisherCompatibleValue { } +extension KingfisherWrapper where Base == String { + var md5: String { + guard let data = base.data(using: .utf8) else { + return base + } + + let message = data.withUnsafeBytes { (bytes: UnsafeRawBufferPointer) in + return [UInt8](bytes) + } + + let MD5Calculator = MD5(message) + let MD5Data = MD5Calculator.calculate() + + var MD5String = String() + for c in MD5Data { + MD5String += String(format: "%02x", c) + } + return MD5String + } + + var ext: String? { + var ext = "" + if let index = base.lastIndex(of: ".") { + let extRange = base.index(index, offsetBy: 1).. 0 ? String(firstSeg) : nil + } +} + +// array of bytes, little-endian representation +func arrayOfBytes(_ value: T, length: Int? = nil) -> [UInt8] { + let totalBytes = length ?? (MemoryLayout.size * 8) + + let valuePointer = UnsafeMutablePointer.allocate(capacity: 1) + valuePointer.pointee = value + + let bytes = valuePointer.withMemoryRebound(to: UInt8.self, capacity: totalBytes) { (bytesPointer) -> [UInt8] in + var bytes = [UInt8](repeating: 0, count: totalBytes) + for j in 0...size, totalBytes) { + bytes[totalBytes - 1 - j] = (bytesPointer + j).pointee + } + return bytes + } + + valuePointer.deinitialize(count: 1) + valuePointer.deallocate() + + return bytes +} + +extension Int { + // Array of bytes with optional padding (little-endian) + func bytes(_ totalBytes: Int = MemoryLayout.size) -> [UInt8] { + return arrayOfBytes(self, length: totalBytes) + } + +} + +extension NSMutableData { + + // Convenient way to append bytes + func appendBytes(_ arrayOfBytes: [UInt8]) { + append(arrayOfBytes, length: arrayOfBytes.count) + } + +} + +protocol HashProtocol { + var message: [UInt8] { get } + // Common part for hash calculation. Prepare header data. + func prepare(_ len: Int) -> [UInt8] +} + +extension HashProtocol { + + func prepare(_ len: Int) -> [UInt8] { + var tmpMessage = message + + // Step 1. Append Padding Bits + tmpMessage.append(0x80) // append one bit (UInt8 with one bit) to message + + // append "0" bit until message length in bits ≡ 448 (mod 512) + var msgLength = tmpMessage.count + var counter = 0 + + while msgLength % len != (len - 8) { + counter += 1 + msgLength += 1 + } + + tmpMessage += [UInt8](repeating: 0, count: counter) + return tmpMessage + } +} + +func toUInt32Array(_ slice: ArraySlice) -> [UInt32] { + var result = [UInt32]() + result.reserveCapacity(16) + + for idx in stride(from: slice.startIndex, to: slice.endIndex, by: MemoryLayout.size) { + let d0 = UInt32(slice[idx.advanced(by: 3)]) << 24 + let d1 = UInt32(slice[idx.advanced(by: 2)]) << 16 + let d2 = UInt32(slice[idx.advanced(by: 1)]) << 8 + let d3 = UInt32(slice[idx]) + let val: UInt32 = d0 | d1 | d2 | d3 + + result.append(val) + } + return result +} + +struct BytesIterator: IteratorProtocol { + + let chunkSize: Int + let data: [UInt8] + + init(chunkSize: Int, data: [UInt8]) { + self.chunkSize = chunkSize + self.data = data + } + + var offset = 0 + + mutating func next() -> ArraySlice? { + let end = min(chunkSize, data.count - offset) + let result = data[offset.. 0 ? result : nil + } +} + +struct BytesSequence: Sequence { + let chunkSize: Int + let data: [UInt8] + + func makeIterator() -> BytesIterator { + return BytesIterator(chunkSize: chunkSize, data: data) + } +} + +func rotateLeft(_ value: UInt32, bits: UInt32) -> UInt32 { + return ((value << bits) & 0xFFFFFFFF) | (value >> (32 - bits)) +} + +class MD5: HashProtocol { + + static let size = 16 // 128 / 8 + let message: [UInt8] + + init (_ message: [UInt8]) { + self.message = message + } + + // specifies the per-round shift amounts + private let shifts: [UInt32] = [7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, + 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, + 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, + 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21] + + // binary integer part of the sines of integers (Radians) + private let sines: [UInt32] = [0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, + 0xf57c0faf, 0x4787c62a, 0xa8304613, 0xfd469501, + 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be, + 0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821, + 0xf61e2562, 0xc040b340, 0x265e5a51, 0xe9b6c7aa, + 0xd62f105d, 0x02441453, 0xd8a1e681, 0xe7d3fbc8, + 0x21e1cde6, 0xc33707d6, 0xf4d50d87, 0x455a14ed, + 0xa9e3e905, 0xfcefa3f8, 0x676f02d9, 0x8d2a4c8a, + 0xfffa3942, 0x8771f681, 0x6d9d6122, 0xfde5380c, + 0xa4beea44, 0x4bdecfa9, 0xf6bb4b60, 0xbebfbc70, + 0x289b7ec6, 0xeaa127fa, 0xd4ef3085, 0x4881d05, + 0xd9d4d039, 0xe6db99e5, 0x1fa27cf8, 0xc4ac5665, + 0xf4292244, 0x432aff97, 0xab9423a7, 0xfc93a039, + 0x655b59c3, 0x8f0ccc92, 0xffeff47d, 0x85845dd1, + 0x6fa87e4f, 0xfe2ce6e0, 0xa3014314, 0x4e0811a1, + 0xf7537e82, 0xbd3af235, 0x2ad7d2bb, 0xeb86d391] + + private let hashes: [UInt32] = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476] + + func calculate() -> [UInt8] { + var tmpMessage = prepare(64) + tmpMessage.reserveCapacity(tmpMessage.count + 4) + + // hash values + var hh = hashes + + // Step 2. Append Length a 64-bit representation of lengthInBits + let lengthInBits = (message.count * 8) + let lengthBytes = lengthInBits.bytes(64 / 8) + tmpMessage += lengthBytes.reversed() + + // Process the message in successive 512-bit chunks: + let chunkSizeBytes = 512 / 8 // 64 + + for chunk in BytesSequence(chunkSize: chunkSizeBytes, data: tmpMessage) { + // break chunk into sixteen 32-bit words M[j], 0 ≤ j ≤ 15 + let M = toUInt32Array(chunk) + assert(M.count == 16, "Invalid array") + + // Initialize hash value for this chunk: + var A: UInt32 = hh[0] + var B: UInt32 = hh[1] + var C: UInt32 = hh[2] + var D: UInt32 = hh[3] + + var dTemp: UInt32 = 0 + + // Main loop + for j in 0 ..< sines.count { + var g = 0 + var F: UInt32 = 0 + + switch j { + case 0...15: + F = (B & C) | ((~B) & D) + g = j + case 16...31: + F = (D & B) | (~D & C) + g = (5 * j + 1) % 16 + case 32...47: + F = B ^ C ^ D + g = (3 * j + 5) % 16 + case 48...63: + F = C ^ (B | (~D)) + g = (7 * j) % 16 + default: + break + } + dTemp = D + D = C + C = B + B = B &+ rotateLeft((A &+ F &+ sines[j] &+ M[g]), bits: shifts[j]) + A = dTemp + } + + hh[0] = hh[0] &+ A + hh[1] = hh[1] &+ B + hh[2] = hh[2] &+ C + hh[3] = hh[3] &+ D + } + var result = [UInt8]() + result.reserveCapacity(hh.count / 4) + + hh.forEach { + let itemLE = $0.littleEndian + let r1 = UInt8(itemLE & 0xff) + let r2 = UInt8((itemLE >> 8) & 0xff) + let r3 = UInt8((itemLE >> 16) & 0xff) + let r4 = UInt8((itemLE >> 24) & 0xff) + result += [r1, r2, r3, r4] + } + return result + } +} diff --git a/Instagram/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift b/Instagram/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift new file mode 100644 index 0000000..94c2b7b --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Views/AnimatedImageView.swift @@ -0,0 +1,660 @@ +// +// AnimatableImageView.swift +// Kingfisher +// +// Created by bl4ckra1sond3tre on 4/22/16. +// +// The AnimatableImageView, AnimatedFrame and Animator is a modified version of +// some classes from kaishin's Gifu project (https://github.com/kaishin/Gifu) +// +// The MIT License (MIT) +// +// Copyright (c) 2019 Reda Lemeden. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy of +// this software and associated documentation files (the "Software"), to deal in +// the Software without restriction, including without limitation the rights to +// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +// the Software, and to permit persons to whom the Software is furnished to do so, +// subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// +// The name and characters used in the demo of this software are property of their +// respective owners. + +#if !os(watchOS) +#if canImport(UIKit) +import UIKit +import ImageIO + +/// Protocol of `AnimatedImageView`. +public protocol AnimatedImageViewDelegate: AnyObject { + + /// Called after the animatedImageView has finished each animation loop. + /// + /// - Parameters: + /// - imageView: The `AnimatedImageView` that is being animated. + /// - count: The looped count. + func animatedImageView(_ imageView: AnimatedImageView, didPlayAnimationLoops count: UInt) + + /// Called after the `AnimatedImageView` has reached the max repeat count. + /// + /// - Parameter imageView: The `AnimatedImageView` that is being animated. + func animatedImageViewDidFinishAnimating(_ imageView: AnimatedImageView) +} + +extension AnimatedImageViewDelegate { + public func animatedImageView(_ imageView: AnimatedImageView, didPlayAnimationLoops count: UInt) {} + public func animatedImageViewDidFinishAnimating(_ imageView: AnimatedImageView) {} +} + +let KFRunLoopModeCommon = RunLoop.Mode.common + +/// Represents a subclass of `UIImageView` for displaying animated image. +/// Different from showing animated image in a normal `UIImageView` (which load all frames at one time), +/// `AnimatedImageView` only tries to load several frames (defined by `framePreloadCount`) to reduce memory usage. +/// It provides a tradeoff between memory usage and CPU time. If you have a memory issue when using a normal image +/// view to load GIF data, you could give this class a try. +/// +/// Kingfisher supports setting GIF animated data to either `UIImageView` and `AnimatedImageView` out of box. So +/// it would be fairly easy to switch between them. +open class AnimatedImageView: UIImageView { + /// Proxy object for preventing a reference cycle between the `CADDisplayLink` and `AnimatedImageView`. + class TargetProxy { + private weak var target: AnimatedImageView? + + init(target: AnimatedImageView) { + self.target = target + } + + @objc func onScreenUpdate() { + target?.updateFrameIfNeeded() + } + } + + /// Enumeration that specifies repeat count of GIF + public enum RepeatCount: Equatable { + case once + case finite(count: UInt) + case infinite + + public static func ==(lhs: RepeatCount, rhs: RepeatCount) -> Bool { + switch (lhs, rhs) { + case let (.finite(l), .finite(r)): + return l == r + case (.once, .once), + (.infinite, .infinite): + return true + case (.once, .finite(let count)), + (.finite(let count), .once): + return count == 1 + case (.once, _), + (.infinite, _), + (.finite, _): + return false + } + } + } + + // MARK: - Public property + /// Whether automatically play the animation when the view become visible. Default is `true`. + public var autoPlayAnimatedImage = true + + /// The count of the frames should be preloaded before shown. + public var framePreloadCount = 10 + + /// Specifies whether the GIF frames should be pre-scaled to the image view's size or not. + /// If the downloaded image is larger than the image view's size, it will help to reduce some memory use. + /// Default is `true`. + public var needsPrescaling = true + + /// Decode the GIF frames in background thread before using. It will decode frames data and do a off-screen + /// rendering to extract pixel information in background. This can reduce the main thread CPU usage. + public var backgroundDecode = true + + /// The animation timer's run loop mode. Default is `RunLoop.Mode.common`. + /// Set this property to `RunLoop.Mode.default` will make the animation pause during UIScrollView scrolling. + public var runLoopMode = KFRunLoopModeCommon { + willSet { + guard runLoopMode != newValue else { return } + stopAnimating() + displayLink.remove(from: .main, forMode: runLoopMode) + displayLink.add(to: .main, forMode: newValue) + startAnimating() + } + } + + /// The repeat count. The animated image will keep animate until it the loop count reaches this value. + /// Setting this value to another one will reset current animation. + /// + /// Default is `.infinite`, which means the animation will last forever. + public var repeatCount = RepeatCount.infinite { + didSet { + if oldValue != repeatCount { + reset() + setNeedsDisplay() + layer.setNeedsDisplay() + } + } + } + + /// Delegate of this `AnimatedImageView` object. See `AnimatedImageViewDelegate` protocol for more. + public weak var delegate: AnimatedImageViewDelegate? + + /// The `Animator` instance that holds the frames of a specific image in memory. + public private(set) var animator: Animator? + + // MARK: - Private property + // Dispatch queue used for preloading images. + private lazy var preloadQueue: DispatchQueue = { + return DispatchQueue(label: "com.onevcat.Kingfisher.Animator.preloadQueue") + }() + + // A flag to avoid invalidating the displayLink on deinit if it was never created, because displayLink is so lazy. + private var isDisplayLinkInitialized: Bool = false + + // A display link that keeps calling the `updateFrame` method on every screen refresh. + private lazy var displayLink: CADisplayLink = { + isDisplayLinkInitialized = true + let displayLink = CADisplayLink(target: TargetProxy(target: self), selector: #selector(TargetProxy.onScreenUpdate)) + displayLink.add(to: .main, forMode: runLoopMode) + displayLink.isPaused = true + return displayLink + }() + + // MARK: - Override + override open var image: KFCrossPlatformImage? { + didSet { + if image != oldValue { + reset() + } + setNeedsDisplay() + layer.setNeedsDisplay() + } + } + + open override var isHighlighted: Bool { + get { + super.isHighlighted + } + set { + // Highlighted image is unsupported for animated images. + // See https://github.com/onevcat/Kingfisher/issues/1679 + if displayLink.isPaused { + super.isHighlighted = newValue + } + } + } + + deinit { + if isDisplayLinkInitialized { + displayLink.invalidate() + } + } + + override open var isAnimating: Bool { + if isDisplayLinkInitialized { + return !displayLink.isPaused + } else { + return super.isAnimating + } + } + + /// Starts the animation. + override open func startAnimating() { + guard !isAnimating else { return } + guard let animator = animator else { return } + guard !animator.isReachMaxRepeatCount else { return } + + displayLink.isPaused = false + } + + /// Stops the animation. + override open func stopAnimating() { + super.stopAnimating() + if isDisplayLinkInitialized { + displayLink.isPaused = true + } + } + + override open func display(_ layer: CALayer) { + layer.contents = animator?.currentFrameImage?.cgImage ?? image?.cgImage + } + + override open func didMoveToWindow() { + super.didMoveToWindow() + didMove() + } + + override open func didMoveToSuperview() { + super.didMoveToSuperview() + didMove() + } + + // This is for back compatibility that using regular `UIImageView` to show animated image. + override func shouldPreloadAllAnimation() -> Bool { + return false + } + + // Reset the animator. + private func reset() { + animator = nil + if let image = image, let imageSource = image.kf.imageSource { + let targetSize = bounds.scaled(UIScreen.main.scale).size + let animator = Animator( + imageSource: imageSource, + contentMode: contentMode, + size: targetSize, + imageSize: image.kf.size, + imageScale: image.kf.scale, + framePreloadCount: framePreloadCount, + repeatCount: repeatCount, + preloadQueue: preloadQueue) + animator.delegate = self + animator.needsPrescaling = needsPrescaling + animator.backgroundDecode = backgroundDecode + animator.prepareFramesAsynchronously() + self.animator = animator + } + didMove() + } + + private func didMove() { + if autoPlayAnimatedImage && animator != nil { + if let _ = superview, let _ = window { + startAnimating() + } else { + stopAnimating() + } + } + } + + /// Update the current frame with the displayLink duration. + private func updateFrameIfNeeded() { + guard let animator = animator else { + return + } + + guard !animator.isFinished else { + stopAnimating() + delegate?.animatedImageViewDidFinishAnimating(self) + return + } + + let duration: CFTimeInterval + + // CA based display link is opt-out from ProMotion by default. + // So the duration and its FPS might not match. + // See [#718](https://github.com/onevcat/Kingfisher/issues/718) + // By setting CADisableMinimumFrameDuration to YES in Info.plist may + // cause the preferredFramesPerSecond being 0 + let preferredFramesPerSecond = displayLink.preferredFramesPerSecond + if preferredFramesPerSecond == 0 { + duration = displayLink.duration + } else { + // Some devices (like iPad Pro 10.5) will have a different FPS. + duration = 1.0 / TimeInterval(preferredFramesPerSecond) + } + + animator.shouldChangeFrame(with: duration) { [weak self] hasNewFrame in + if hasNewFrame { + self?.layer.setNeedsDisplay() + } + } + } +} + +protocol AnimatorDelegate: AnyObject { + func animator(_ animator: AnimatedImageView.Animator, didPlayAnimationLoops count: UInt) +} + +extension AnimatedImageView: AnimatorDelegate { + func animator(_ animator: Animator, didPlayAnimationLoops count: UInt) { + delegate?.animatedImageView(self, didPlayAnimationLoops: count) + } +} + +extension AnimatedImageView { + + // Represents a single frame in a GIF. + struct AnimatedFrame { + + // The image to display for this frame. Its value is nil when the frame is removed from the buffer. + let image: UIImage? + + // The duration that this frame should remain active. + let duration: TimeInterval + + // A placeholder frame with no image assigned. + // Used to replace frames that are no longer needed in the animation. + var placeholderFrame: AnimatedFrame { + return AnimatedFrame(image: nil, duration: duration) + } + + // Whether this frame instance contains an image or not. + var isPlaceholder: Bool { + return image == nil + } + + // Returns a new instance from an optional image. + // + // - parameter image: An optional `UIImage` instance to be assigned to the new frame. + // - returns: An `AnimatedFrame` instance. + func makeAnimatedFrame(image: UIImage?) -> AnimatedFrame { + return AnimatedFrame(image: image, duration: duration) + } + } +} + +extension AnimatedImageView { + + // MARK: - Animator + + /// An animator which used to drive the data behind `AnimatedImageView`. + public class Animator { + private let size: CGSize + + private let imageSize: CGSize + private let imageScale: CGFloat + + /// The maximum count of image frames that needs preload. + public let maxFrameCount: Int + + private let imageSource: CGImageSource + private let maxRepeatCount: RepeatCount + + private let maxTimeStep: TimeInterval = 1.0 + private let animatedFrames = SafeArray() + private var frameCount = 0 + private var timeSinceLastFrameChange: TimeInterval = 0.0 + private var currentRepeatCount: UInt = 0 + + var isFinished: Bool = false + + var needsPrescaling = true + + var backgroundDecode = true + + weak var delegate: AnimatorDelegate? + + // Total duration of one animation loop + var loopDuration: TimeInterval = 0 + + /// The image of the current frame. + public var currentFrameImage: UIImage? { + return frame(at: currentFrameIndex) + } + + /// The duration of the current active frame duration. + public var currentFrameDuration: TimeInterval { + return duration(at: currentFrameIndex) + } + + /// The index of the current animation frame. + public internal(set) var currentFrameIndex = 0 { + didSet { + previousFrameIndex = oldValue + } + } + + var previousFrameIndex = 0 { + didSet { + preloadQueue.async { + self.updatePreloadedFrames() + } + } + } + + var isReachMaxRepeatCount: Bool { + switch maxRepeatCount { + case .once: + return currentRepeatCount >= 1 + case .finite(let maxCount): + return currentRepeatCount >= maxCount + case .infinite: + return false + } + } + + /// Whether the current frame is the last frame or not in the animation sequence. + public var isLastFrame: Bool { + return currentFrameIndex == frameCount - 1 + } + + var preloadingIsNeeded: Bool { + return maxFrameCount < frameCount - 1 + } + + var contentMode = UIView.ContentMode.scaleToFill + + private lazy var preloadQueue: DispatchQueue = { + return DispatchQueue(label: "com.onevcat.Kingfisher.Animator.preloadQueue") + }() + + /// Creates an animator with image source reference. + /// + /// - Parameters: + /// - source: The reference of animated image. + /// - mode: Content mode of the `AnimatedImageView`. + /// - size: Size of the `AnimatedImageView`. + /// - imageSize: Size of the `KingfisherWrapper`. + /// - imageScale: Scale of the `KingfisherWrapper`. + /// - count: Count of frames needed to be preloaded. + /// - repeatCount: The repeat count should this animator uses. + /// - preloadQueue: Dispatch queue used for preloading images. + init(imageSource source: CGImageSource, + contentMode mode: UIView.ContentMode, + size: CGSize, + imageSize: CGSize, + imageScale: CGFloat, + framePreloadCount count: Int, + repeatCount: RepeatCount, + preloadQueue: DispatchQueue) { + self.imageSource = source + self.contentMode = mode + self.size = size + self.imageSize = imageSize + self.imageScale = imageScale + self.maxFrameCount = count + self.maxRepeatCount = repeatCount + self.preloadQueue = preloadQueue + + GraphicsContext.begin(size: imageSize, scale: imageScale) + } + + deinit { + resetAnimatedFrames() + GraphicsContext.end() + } + + /// Gets the image frame of a given index. + /// - Parameter index: The index of desired image. + /// - Returns: The decoded image at the frame. `nil` if the index is out of bound or the image is not yet loaded. + public func frame(at index: Int) -> KFCrossPlatformImage? { + return animatedFrames[index]?.image + } + + public func duration(at index: Int) -> TimeInterval { + return animatedFrames[index]?.duration ?? .infinity + } + + func prepareFramesAsynchronously() { + frameCount = Int(CGImageSourceGetCount(imageSource)) + animatedFrames.reserveCapacity(frameCount) + preloadQueue.async { [weak self] in + self?.setupAnimatedFrames() + } + } + + func shouldChangeFrame(with duration: CFTimeInterval, handler: (Bool) -> Void) { + incrementTimeSinceLastFrameChange(with: duration) + + if currentFrameDuration > timeSinceLastFrameChange { + handler(false) + } else { + resetTimeSinceLastFrameChange() + incrementCurrentFrameIndex() + handler(true) + } + } + + private func setupAnimatedFrames() { + resetAnimatedFrames() + + var duration: TimeInterval = 0 + + (0.. maxFrameCount { return } + animatedFrames[index] = animatedFrames[index]?.makeAnimatedFrame(image: loadFrame(at: index)) + } + + self.loopDuration = duration + } + + private func resetAnimatedFrames() { + animatedFrames.removeAll() + } + + private func loadFrame(at index: Int) -> UIImage? { + let resize = needsPrescaling && size != .zero + let options: [CFString: Any]? + if resize { + options = [ + kCGImageSourceCreateThumbnailFromImageIfAbsent: true, + kCGImageSourceCreateThumbnailWithTransform: true, + kCGImageSourceShouldCacheImmediately: true, + kCGImageSourceThumbnailMaxPixelSize: max(size.width, size.height) + ] + } else { + options = nil + } + + guard let cgImage = CGImageSourceCreateImageAtIndex(imageSource, index, options as CFDictionary?) else { + return nil + } + + let image = KFCrossPlatformImage(cgImage: cgImage) + + guard let context = GraphicsContext.current(size: imageSize, scale: imageScale, inverting: true, cgImage: cgImage) else { + return image + } + + return backgroundDecode ? image.kf.decoded(on: context) : image + } + + private func updatePreloadedFrames() { + guard preloadingIsNeeded else { + return + } + + animatedFrames[previousFrameIndex] = animatedFrames[previousFrameIndex]?.placeholderFrame + + preloadIndexes(start: currentFrameIndex).forEach { index in + guard let currentAnimatedFrame = animatedFrames[index] else { return } + if !currentAnimatedFrame.isPlaceholder { return } + animatedFrames[index] = currentAnimatedFrame.makeAnimatedFrame(image: loadFrame(at: index)) + } + } + + private func incrementCurrentFrameIndex() { + let wasLastFrame = isLastFrame + currentFrameIndex = increment(frameIndex: currentFrameIndex) + if isLastFrame { + currentRepeatCount += 1 + if isReachMaxRepeatCount { + isFinished = true + + // Notify the delegate here because the animation is stopping. + delegate?.animator(self, didPlayAnimationLoops: currentRepeatCount) + } + } else if wasLastFrame { + + // Notify the delegate that the loop completed + delegate?.animator(self, didPlayAnimationLoops: currentRepeatCount) + } + } + + private func incrementTimeSinceLastFrameChange(with duration: TimeInterval) { + timeSinceLastFrameChange += min(maxTimeStep, duration) + } + + private func resetTimeSinceLastFrameChange() { + timeSinceLastFrameChange -= currentFrameDuration + } + + private func increment(frameIndex: Int, by value: Int = 1) -> Int { + return (frameIndex + value) % frameCount + } + + private func preloadIndexes(start index: Int) -> [Int] { + let nextIndex = increment(frameIndex: index) + let lastIndex = increment(frameIndex: index, by: maxFrameCount) + + if lastIndex >= nextIndex { + return [Int](nextIndex...lastIndex) + } else { + return [Int](nextIndex.. { + private var array: Array = [] + private let lock = NSLock() + + subscript(index: Int) -> Element? { + get { + lock.lock() + defer { lock.unlock() } + return array.indices ~= index ? array[index] : nil + } + + set { + lock.lock() + defer { lock.unlock() } + if let newValue = newValue, array.indices ~= index { + array[index] = newValue + } + } + } + + var count : Int { + lock.lock() + defer { lock.unlock() } + return array.count + } + + func reserveCapacity(_ count: Int) { + lock.lock() + defer { lock.unlock() } + array.reserveCapacity(count) + } + + func append(_ element: Element) { + lock.lock() + defer { lock.unlock() } + array += [element] + } + + func removeAll() { + lock.lock() + defer { lock.unlock() } + array = [] + } +} +#endif +#endif diff --git a/Instagram/Pods/Kingfisher/Sources/Views/Indicator.swift b/Instagram/Pods/Kingfisher/Sources/Views/Indicator.swift new file mode 100644 index 0000000..a3fa5a4 --- /dev/null +++ b/Instagram/Pods/Kingfisher/Sources/Views/Indicator.swift @@ -0,0 +1,231 @@ +// +// Indicator.swift +// Kingfisher +// +// Created by João D. Moreira on 30/08/16. +// +// Copyright (c) 2019 Wei Wang +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. + +#if !os(watchOS) + +#if canImport(AppKit) && !targetEnvironment(macCatalyst) +import AppKit +public typealias IndicatorView = NSView +#else +import UIKit +public typealias IndicatorView = UIView +#endif + +/// Represents the activity indicator type which should be added to +/// an image view when an image is being downloaded. +/// +/// - none: No indicator. +/// - activity: Uses the system activity indicator. +/// - image: Uses an image as indicator. GIF is supported. +/// - custom: Uses a custom indicator. The type of associated value should conform to the `Indicator` protocol. +public enum IndicatorType { + /// No indicator. + case none + /// Uses the system activity indicator. + case activity + /// Uses an image as indicator. GIF is supported. + case image(imageData: Data) + /// Uses a custom indicator. The type of associated value should conform to the `Indicator` protocol. + case custom(indicator: Indicator) +} + +/// An indicator type which can be used to show the download task is in progress. +public protocol Indicator { + + /// Called when the indicator should start animating. + func startAnimatingView() + + /// Called when the indicator should stop animating. + func stopAnimatingView() + + /// Center offset of the indicator. Kingfisher will use this value to determine the position of + /// indicator in the super view. + var centerOffset: CGPoint { get } + + /// The indicator view which would be added to the super view. + var view: IndicatorView { get } + + /// The size strategy used when adding the indicator to image view. + /// - Parameter imageView: The super view of indicator. + func sizeStrategy(in imageView: KFCrossPlatformImageView) -> IndicatorSizeStrategy +} + +public enum IndicatorSizeStrategy { + case intrinsicSize + case full + case size(CGSize) +} + +extension Indicator { + + /// Default implementation of `centerOffset` of `Indicator`. The default value is `.zero`, means that there is + /// no offset for the indicator view. + public var centerOffset: CGPoint { return .zero } + + /// Default implementation of `centerOffset` of `Indicator`. The default value is `.full`, means that the indicator + /// will pin to the same height and width as the image view. + public func sizeStrategy(in imageView: KFCrossPlatformImageView) -> IndicatorSizeStrategy { + return .full + } +} + +// Displays a NSProgressIndicator / UIActivityIndicatorView +final class ActivityIndicator: Indicator { + + #if os(macOS) + private let activityIndicatorView: NSProgressIndicator + #else + private let activityIndicatorView: UIActivityIndicatorView + #endif + private var animatingCount = 0 + + var view: IndicatorView { + return activityIndicatorView + } + + func startAnimatingView() { + if animatingCount == 0 { + #if os(macOS) + activityIndicatorView.startAnimation(nil) + #else + activityIndicatorView.startAnimating() + #endif + activityIndicatorView.isHidden = false + } + animatingCount += 1 + } + + func stopAnimatingView() { + animatingCount = max(animatingCount - 1, 0) + if animatingCount == 0 { + #if os(macOS) + activityIndicatorView.stopAnimation(nil) + #else + activityIndicatorView.stopAnimating() + #endif + activityIndicatorView.isHidden = true + } + } + + func sizeStrategy(in imageView: KFCrossPlatformImageView) -> IndicatorSizeStrategy { + return .intrinsicSize + } + + init() { + #if os(macOS) + activityIndicatorView = NSProgressIndicator(frame: CGRect(x: 0, y: 0, width: 16, height: 16)) + activityIndicatorView.controlSize = .small + activityIndicatorView.style = .spinning + #else + let indicatorStyle: UIActivityIndicatorView.Style + + #if os(tvOS) + if #available(tvOS 13.0, *) { + indicatorStyle = UIActivityIndicatorView.Style.large + } else { + indicatorStyle = UIActivityIndicatorView.Style.white + } + #else + if #available(iOS 13.0, * ) { + indicatorStyle = UIActivityIndicatorView.Style.medium + } else { + indicatorStyle = UIActivityIndicatorView.Style.gray + } + #endif + + activityIndicatorView = UIActivityIndicatorView(style: indicatorStyle) + #endif + } +} + +#if canImport(UIKit) +extension UIActivityIndicatorView.Style { + #if compiler(>=5.1) + #else + static let large = UIActivityIndicatorView.Style.white + #if !os(tvOS) + static let medium = UIActivityIndicatorView.Style.gray + #endif + #endif +} +#endif + +// MARK: - ImageIndicator +// Displays an ImageView. Supports gif +final class ImageIndicator: Indicator { + private let animatedImageIndicatorView: KFCrossPlatformImageView + + var view: IndicatorView { + return animatedImageIndicatorView + } + + init?( + imageData data: Data, + processor: ImageProcessor = DefaultImageProcessor.default, + options: KingfisherParsedOptionsInfo? = nil) + { + var options = options ?? KingfisherParsedOptionsInfo(nil) + // Use normal image view to show animations, so we need to preload all animation data. + if !options.preloadAllAnimationData { + options.preloadAllAnimationData = true + } + + guard let image = processor.process(item: .data(data), options: options) else { + return nil + } + + animatedImageIndicatorView = KFCrossPlatformImageView() + animatedImageIndicatorView.image = image + + #if os(macOS) + // Need for gif to animate on macOS + animatedImageIndicatorView.imageScaling = .scaleNone + animatedImageIndicatorView.canDrawSubviewsIntoLayer = true + #else + animatedImageIndicatorView.contentMode = .center + #endif + } + + func startAnimatingView() { + #if os(macOS) + animatedImageIndicatorView.animates = true + #else + animatedImageIndicatorView.startAnimating() + #endif + animatedImageIndicatorView.isHidden = false + } + + func stopAnimatingView() { + #if os(macOS) + animatedImageIndicatorView.animates = false + #else + animatedImageIndicatorView.stopAnimating() + #endif + animatedImageIndicatorView.isHidden = true + } +} + +#endif diff --git a/Instagram/Pods/Manifest.lock b/Instagram/Pods/Manifest.lock index 3d2a837..e6a34f3 100644 --- a/Instagram/Pods/Manifest.lock +++ b/Instagram/Pods/Manifest.lock @@ -1,5 +1,6 @@ PODS: - - Alamofire (5.5.0) + - Alamofire (5.6.1) + - Kingfisher (7.2.2) - Moya (15.0.0): - Moya/Core (= 15.0.0) - Moya/Core (15.0.0): @@ -31,6 +32,7 @@ PODS: - WeakMapTable (1.2.0) DEPENDENCIES: + - Kingfisher (~> 7.0) - Moya (= 15.0.0) - Moya/RxSwift (= 15.0.0) - ReactorKit (= 3.1.0) @@ -46,6 +48,7 @@ DEPENDENCIES: SPEC REPOS: trunk: - Alamofire + - Kingfisher - Moya - ReactorKit - RxCocoa @@ -60,7 +63,8 @@ SPEC REPOS: - WeakMapTable SPEC CHECKSUMS: - Alamofire: 1c4fb5369c3fe93d2857c780d8bbe09f06f97e7c + Alamofire: 87bd8c952f9a4454320fce00d9cc3de57bcadaf5 + Kingfisher: 184d4d1a8c36666e663caf8e08abe87898595c53 Moya: 138f0573e53411fb3dc17016add0b748dfbd78ee ReactorKit: a06dd2a5c9339287aedf3dc821cfab6347eca106 RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42 @@ -74,6 +78,6 @@ SPEC CHECKSUMS: Then: acfe0be7e98221c6204e12f8161459606d5d822d WeakMapTable: 05c694ce8439a7a9ebabb56187287a63c57673d6 -PODFILE CHECKSUM: 9cebdff718aea97f27c508f757181b3a2f7f7137 +PODFILE CHECKSUM: e88bee4b1892e6d6c9febf18c1de96141f81b2e9 COCOAPODS: 1.11.2 diff --git a/Instagram/Pods/Pods.xcodeproj/project.pbxproj b/Instagram/Pods/Pods.xcodeproj/project.pbxproj index 9dd7efe..e90b724 100644 --- a/Instagram/Pods/Pods.xcodeproj/project.pbxproj +++ b/Instagram/Pods/Pods.xcodeproj/project.pbxproj @@ -19,1165 +19,1308 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ - 000702A76DD1A018D9B45DEB79FB505D /* UITextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 260C97BE5BF1E40D2A16E2E5074F34C8 /* UITextView+Rx.swift */; }; - 005B319B494ED2DAA239B9939A504DFC /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BD7589D60650BDC1A7F0A9EEA44D9187 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 00628FF27C02EFC486DCF649F7FE7A35 /* ObservableConvertibleType.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0266BF9CFB826EDDCFC13C7E0A958F9 /* ObservableConvertibleType.swift */; }; - 01C1C0E2C4A524104DEC9CE405D5D255 /* PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AB22D1A9452D29624DFE494F11D10EF /* PrimitiveSequence.swift */; }; - 022DFEBF3DD3B5B1627278F189254A25 /* RxCocoa.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4B5611007001AD28CAF10A19F7032EB /* RxCocoa.swift */; }; - 028007F46C11E4A534DDE002A8171DCA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = F869B224D547FA95ACE69C44547C264F /* Image.swift */; }; - 03D894819ECA3CA8F42C578E42D08960 /* DelegateProxyType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E8B47E7BE33715E475BD5181855CB4C /* DelegateProxyType.swift */; }; - 0422FC5745E406CB752E9497A2F56EA9 /* _RXKVOObserver.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D86C8854B820674E97A284B32C620E9 /* _RXKVOObserver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 045DE6EBF9B2F63F60F5BE60C1198E06 /* RedirectHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BEDCC154BF025B539DB5E0E7B76B4C8 /* RedirectHandler.swift */; }; - 046FB298CB265E8AF7E900BE725CC105 /* OperationQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 275AFB46D96EA97D9E7D0FBE10D4969D /* OperationQueueScheduler.swift */; }; - 04A896288CE3A59B530250337A5F8362 /* Result+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B678BE7F50C957235D46882EEBFEB9 /* Result+Alamofire.swift */; }; - 04B2DDDF8C3C5DAE8952E85BD4ECF6CE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 04B641288248D3ACC28E7F707058073B /* ObservableConvertibleType+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C3ED97FD0131D8D21F9021141A50FB1 /* ObservableConvertibleType+Signal.swift */; }; - 04FA699A625C1B928D181B3283E61362 /* InvocableScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD0C7505340B7ACDEFD2DD6B2B06B36A /* InvocableScheduledItem.swift */; }; - 0651C017EB053DFBD94184413F7D5A5D /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32A8A8A05F9F8AE24499299C9F6767B4 /* Window.swift */; }; - 06BF9C77772206CF0ECE792C4E71C822 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9F46548B315EBAC425A765B6125A0BF6 /* Error.swift */; }; - 074E212FE692210A41120E9C792FE7ED /* RxMutableBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FA859BE6C9482EAD1E7D5F3CD1835FF /* RxMutableBox.swift */; }; - 0802AE98D9B18AC4744918BFD3D6885D /* Observable+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E63D0D0781A46309194AC1DD804277E /* Observable+Bind.swift */; }; - 08155F3F6D55A38A07F00F85763290E7 /* UITabBarController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6BBC107899D7BA764E4B05F0E11AF77 /* UITabBarController+Rx.swift */; }; - 09997FDBE8364411FFB6F495729608D2 /* Driver+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 718FE18DF72D0F8582B39297BC37BDEB /* Driver+Subscription.swift */; }; - 09A73E837E76C97E821370132067D766 /* RxSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DFAFD794CCDBFBE824567971E0A840FB /* RxSwift-dummy.m */; }; - 09E4A424C9A4B6AF425B42861E50E5F0 /* UIBarButtonItem+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A6E160DF18D5C2511569FBF35368AEA /* UIBarButtonItem+Rx.swift */; }; - 09E8DFE97223BF2E68814D5B83741BC5 /* NetworkActivityPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = B722A2F9D14E61E165AD64647980E659 /* NetworkActivityPlugin.swift */; }; - 0A408DB8F97376D34E7FFE857309E931 /* Moya+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00EB4C86DE6A5E15E805584E28D60AC6 /* Moya+Alamofire.swift */; }; - 0A6CEDB2E2E4ED37F93F748C5FDB3F67 /* SubscribeOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BD5D60ADD2E9496395B7244399D89B4 /* SubscribeOn.swift */; }; - 0B2165491D9E7087D8C78C7A8128A9F0 /* UISegmentedControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E0F058C86E8A380FD10B9DAF8837BF8 /* UISegmentedControl+Rx.swift */; }; - 0C82CCD0E2CE1F2C2C226D70363F582E /* RxSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D68E33B37C0235F62E7C0ED06F62B17C /* RxSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 0D7B6FF8C492D77C003609B68CFABA1E /* UISearchController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB869115A8A12A7A1AE0EF3D2B3D38F0 /* UISearchController+Rx.swift */; }; - 0DA4E40D63A9E706335A734F9CD6FDE9 /* Catch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82DFE39997410678FF195BCB0BBF8C2D /* Catch.swift */; }; - 0E87B5E9F6569B046DD0652322C46279 /* CredentialsPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4CF0CE9953A00F1BBC5CBD09709D816 /* CredentialsPlugin.swift */; }; - 0EB34A5A7AC1274874F7244D7303A3D8 /* Empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = A747CB02DE8D68E73C9EB3ECEC7D399D /* Empty.swift */; }; - 0F4037DBF307AC8058BD0A3D35C7E7E9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 0F48EC5835C3C592C6A07D14CE935261 /* MultiTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21355156E8E865C8BD2B0DB892461151 /* MultiTarget.swift */; }; - 0F75B8C82523266A3DF606A5974073AA /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F486FD647BFEF34D98CAF2B5EDCE4B5 /* Platform.Linux.swift */; }; - 0FFC091CC0510ACE235FECD4722BB36C /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB0811C2CA959CCF232320EF797DF450 /* RecursiveLock.swift */; }; - 115034FBC616595242B47DAB3E42F7CA /* Single+Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05F7295783D92F6B903183E16406444A /* Single+Response.swift */; }; - 11B6D721BE781276825B1BAEF7DAD3EC /* UISwipeGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4727B6CF7FF03A9292C82EA8A2599317 /* UISwipeGestureRecognizer+RxGesture.swift */; }; - 138D566063B2D34BFA6D6CD2DEC58E23 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = BEDFBB9CB59E7D625AAB6BB215A4D626 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */; }; - 144DA93A55A598F5197F10C729FBDD69 /* UILayoutSupport+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 634CF36FA3309A91F25C2B61AF5314A6 /* UILayoutSupport+Extensions.swift */; }; - 14D2C2DC6532CC4AAD73F205B9211DB8 /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34EE2315461BE4B9A644447F7BB4C911 /* RecursiveLock.swift */; }; - 152572FAF68B8B94B0B3974A4FAEF5B8 /* WeakMapTable-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D6192819EBF5F7767065460E883F9EB1 /* WeakMapTable-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 155D953401DF644E75F2ACE729D00DF2 /* Infallible+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 044AF73F9F83C65BEC98C62BEFF0305B /* Infallible+Bind.swift */; }; - 15D5D77E68C8B6AF20B7056602F7AEBF /* RxPickerViewAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C03244677FBCB3EA14572D24231FFAC /* RxPickerViewAdapter.swift */; }; - 161856AC63FAA2C3D8164A7500E14CB8 /* UITableView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177FD66B50A2BF3FF90C3534EBDED55B /* UITableView+Rx.swift */; }; - 16EB1EAEF9D5FF0D6E4B221ECB397D63 /* RxCollectionViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4CBAE4D3885D98C5913BC1D1FE22F32 /* RxCollectionViewDataSourceProxy.swift */; }; - 16FB6CB3555F30CE8F8C64594A618824 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF429810ADD169082D559A31C48C0AA7 /* PriorityQueue.swift */; }; - 171A21B0155EA10267C1DE165A6E1500 /* NSButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6FECA375FC6A7807BF288367B563B23 /* NSButton+Rx.swift */; }; - 17BE0F4E51B0FB968125F1A520607FD8 /* ConstraintMultiplierTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D0315940D38D5971DFB71BF13FB6AB9 /* ConstraintMultiplierTarget.swift */; }; - 1976BB7D7E26A12E29283E71154B63B3 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFB6E9E38B1CC3E814A432A6E93D7277 /* SessionDelegate.swift */; }; - 1A4144924DA9C5B52C9183F8734C1426 /* View.swift in Sources */ = {isa = PBXBuildFile; fileRef = A16933FFD3B253B971CC6F39FF36E991 /* View.swift */; }; - 1AD93376D403A851F152D1B804F7BFC0 /* Signal+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = C52D71ED249E3616249DB8DD9F468DF2 /* Signal+Subscription.swift */; }; - 1AF3BF0EDE10F429386594F787838C1B /* _RX.h in Headers */ = {isa = PBXBuildFile; fileRef = 808B00F1DCD7B5EE0E7E80DAFA8359E6 /* _RX.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 1B189269B6D88983DAC186D6847D5DA3 /* PublishRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC5764AC9D91361602086A2192BA4AC2 /* PublishRelay.swift */; }; - 1B402AACD54B2064A7BC86857F2769DD /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4B19BA13E60FD0954B294926814DB01 /* InfiniteSequence.swift */; }; - 1B88CB45AA2D79CE89EFA36D1BD59141 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F284E3D0EA4D1AB5240CAAACE97F3ED /* Bag.swift */; }; - 1CC920B8076749A74AD2989F7695E04C /* TransformGestureRecognizers.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4E309925AEEC09657129AD0CC9B8850 /* TransformGestureRecognizers.swift */; }; - 1D4E72C30099C999C0D2E9B96AAFA8A6 /* URL+Moya.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF0D240E4B550EF6B461CE28BEE9A8F8 /* URL+Moya.swift */; }; - 1E62FF14503C0DC0A53245EFE22907AC /* RequestTypeWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 310A12D8750783762D5D9FE270707A1D /* RequestTypeWrapper.swift */; }; - 1E9033562EACB851BBAB74F033194B48 /* RxPickerViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 988B6E404C7FE21A2F2419F54CEBC246 /* RxPickerViewDataSourceType.swift */; }; - 1E9EEA756F2774D73347F1660EEFE3E9 /* ConstraintView+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 878E60D0CB8AB267E671C246C0027645 /* ConstraintView+Extensions.swift */; }; - 1EA05281C1C6451EBA2F59E921C60826 /* Pulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF18B1B5FE8F19CEFBF9694CCB9443 /* Pulse.swift */; }; - 1EABA26D7F13FF50B9F8E3D8C02C3C7A /* SingleAsync.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F24BD31B11D9116A4370033B217526D /* SingleAsync.swift */; }; - 1EE44196E7BCE57AD96A2C751651EF40 /* AlamofireExtended.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E3483B8019F0DBC85AA0166E9F7588C /* AlamofireExtended.swift */; }; - 1EF323F07C3B3476393D7A08D29D53B5 /* ScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9F36650EA30EC5861A6E105F0A8CDF7 /* ScheduledItem.swift */; }; - 1F5E1906349B2C59404ED16EA0B28D4F /* Observable+Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC4F54594E8FC009D1D240FCC8AA2ADA /* Observable+Response.swift */; }; - 1F8FF60887DCA1E8DF3E3B626EDA6656 /* RxGesture-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 10738C938E8ACD9B1BAFB49AD0A6C47E /* RxGesture-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 210E6BE763C894C38888F5B166A2EA64 /* PublishRelay+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5964D72BA9BE27A90339A1CD7AE91E4F /* PublishRelay+Signal.swift */; }; - 22DD01DE5DA61278C7A8CD64D8A5FDA9 /* PrimitiveSequence+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = E540EBA4FBA3EBA12456955FB7F22F16 /* PrimitiveSequence+Zip+arity.swift */; }; - 238C4A1EC8BA1D3A575ADA67F68CD09C /* ControlTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 180A9FFBEEDB4F77DB91C274C992AC13 /* ControlTarget.swift */; }; - 24C44D889CCC3570C277EB1C3CE505F4 /* UIButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1037FEEFC472FCECF10EC053400C6B1 /* UIButton+Rx.swift */; }; - 2722C9B25CF57D3AE89825729DEA9BED /* DelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 067DE6AAD1F944BBD4DA09DEE5B4732C /* DelegateProxy.swift */; }; - 274DF0E2BF04F6F4F9F1E70CF513A4F2 /* ConstraintLayoutSupportDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = B29B3D10D0342BE2F082E19004787982 /* ConstraintLayoutSupportDSL.swift */; }; - 27BC3DB81F91000DFD12AC396DED9B01 /* MoyaProvider+Internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66EABC313F90C337FB4D339D3459CE57 /* MoyaProvider+Internal.swift */; }; - 28AFBE3D9E04AE2F44892EC21E87391B /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015B65503A023CD4DD62EABA640825B6 /* DispatchQueue+Extensions.swift */; }; - 28D5D9EEAE845C76C8079BD1C77BFE82 /* RxCollectionViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 717F2BEA1E7D5ECFFE72B042FC91EB1A /* RxCollectionViewDelegateProxy.swift */; }; - 28DDBE36EE067086F4925C830D668FBA /* KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7DBA9DE753E193DAF7A7D8FF379CCF4E /* KVORepresentable.swift */; }; - 291D86B12486C4D5AFC7F1233E054E17 /* RxRelay-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F5B304D8191522561A75BDFC40857EB4 /* RxRelay-dummy.m */; }; - 29B06983FBBC60AB9EDACE5ADCDC2407 /* MoyaProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B0B17B38E65E3680210795657FD5ED /* MoyaProvider.swift */; }; - 2A3B775B9371120BAA921DC00FBCC7CC /* DisposeBag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3142520F72B10908E882AE8FF5D3EE /* DisposeBag.swift */; }; - 2A9BCF0C1A05557B42B70182558961B7 /* AnonymousObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = C57A6D496B5D666BC82DAB0A8C42FE2E /* AnonymousObserver.swift */; }; - 2B1EA5B23F60D4F1FE0C1A7066ABBEDC /* UIPinchGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = A32BA6128473A9B31964E356A679357E /* UIPinchGestureRecognizer+RxGesture.swift */; }; - 2C0141C1C2725C242097CE0A4B3400D2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 2C64E385669A619F264F7556914DF205 /* UISlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F599884A3AD86866687FCB8A3122E65 /* UISlider+Rx.swift */; }; - 2CBE3651CA006E19F5D64A2DE9B9A028 /* CachedResponseHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C83FE91AFEC5D17B8F75701927DCE986 /* CachedResponseHandler.swift */; }; - 2CCD13099063CD560E3067BD132914FA /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14AA57AB1C28BC366A2D8F3CE2E0A626 /* Notifications.swift */; }; - 2CEDA9E29391198D50F175711EAF6D2E /* HistoricalSchedulerTimeConverter.swift in Sources */ = {isa = PBXBuildFile; fileRef = B66C2F57C26269519043F10808BBF9DD /* HistoricalSchedulerTimeConverter.swift */; }; - 2D38E3CED1ABAACBB2F699C089CA57A6 /* InvocableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC31CAFF0297E3B8FF1C608661188AEB /* InvocableType.swift */; }; - 2D6B88C1781640B33FF123C3317672C6 /* CurrentThreadScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74DD102E8A79BA4E78FF81F57C8DBD13 /* CurrentThreadScheduler.swift */; }; - 2D9E2E0C1206BAC949860807E0B78FD9 /* TouchDownGestureRecognizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15987D8F398459EEA22D7970304AEF53 /* TouchDownGestureRecognizer.swift */; }; - 308AA15947B67E820990BB2E6DA62629 /* SingleAssignmentDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8755F70EBE021FA9FC9F4EA7B2EC378 /* SingleAssignmentDisposable.swift */; }; - 3091F1A82E0FD6ABA766EBC91D4E5DE6 /* Then.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FFF40C88FB4C7D7DBFF0061D4EA1797 /* Then.swift */; }; - 31958E8F65710FC2049B95E75F08EEBF /* ObservableType+PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = C964B77057E61E6BEC146AA65FD8E8EE /* ObservableType+PrimitiveSequence.swift */; }; - 31F0D187BC76DAB3C2DEE8B2CABB0535 /* RxTableViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46C7E7E7F9CC214C6CB70B849522749A /* RxTableViewDelegateProxy.swift */; }; - 334640CCE2573EDD0217A4E3CB7626AB /* UIHoverGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C78D312B5BC420CFEB199D50E6ED48B /* UIHoverGestureRecognizer+RxGesture.swift */; }; - 33A7D0F2D03004CE256A75E03DF33C70 /* RetryPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = A77EDD0F6D0629A182AEEE253F937D5C /* RetryPolicy.swift */; }; - 33D821411F7A1F7F2A59F7C1B9C6A9A7 /* Task.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DA3630B8F5FCE38171CA9C116CD0FFE /* Task.swift */; }; - 33ED8120ADC9099482F1C9D7CD9E3AFB /* PublishSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57D1BB3817361ECBE99D8ECC1D04E889 /* PublishSubject.swift */; }; - 34F22B1F61163E7423FDAAB8B3EBADD7 /* DisposeBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 296AEA5E34BAC8F338D180C27493080D /* DisposeBase.swift */; }; - 35162F02D4AEAB08C8A5A6C4ADE91E13 /* Sample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D3D1855FFEDCCE10C5CDE04EEB28100 /* Sample.swift */; }; - 351F0B5C08687F5BE887D74E63226299 /* SchedulerServices+Emulation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85E7B7155D6073B9BD1DD5D9F71E00F9 /* SchedulerServices+Emulation.swift */; }; - 355426B110941DBD8327AF449E56A949 /* Concat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 246D49991DD0D2038D3E36B7A4955792 /* Concat.swift */; }; - 37A1E46BC4DF84BBFF24D44283AE3889 /* Single.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F25A4728BA5FDB512539D66C3D57B3F /* Single.swift */; }; - 3871DB8FED043FD3D3D58979D6180883 /* ObservableConvertibleType+Infallible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63530B11202248B9BCB428C74C428B06 /* ObservableConvertibleType+Infallible.swift */; }; - 38CEB6A5F194CF52F1DDEEF0B79FC9EF /* DispatchQueueConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BD7FC8594544F611A2FDCA0CA23271C /* DispatchQueueConfiguration.swift */; }; - 38D0534EDDC37793282AD797DF3CF4B0 /* Observable+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F37DCF9DF27DB5A573ABAC96358F4D0 /* Observable+Bind.swift */; }; - 392E8181687F0A31534832D185CB65D1 /* ElementAt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D2F58A0D323A37BD54B3A6622EBC48D /* ElementAt.swift */; }; - 3AFEA39C21C700AAB86C4ACD9436D357 /* RxCocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = 89DEDC926F604AB19792CDCC150D8712 /* RxCocoa.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3B60C02F6E42FD06B128473E00A94224 /* ConstraintLayoutSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7B7A48D8D099D10435F58610BECA33A /* ConstraintLayoutSupport.swift */; }; - 3B82FB00AD02652E1801233E5684DB1D /* NSControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0947800A80195DFB1FC0358A1B7AD23B /* NSControl+Rx.swift */; }; - 3C140C306BE0BAB0DEF961578C486E28 /* LockOwnerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 151B4932FB5A4CF4543D3537C59B416E /* LockOwnerType.swift */; }; - 3C4059621E23842C19D4EB5D35B41989 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E4FB9C27170779E2531C5F64EDB0618 /* Validation.swift */; }; - 3CD5FAFC746A76D73C3F501734199DFF /* Typealiases.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51D953A7305A047C0757CE66115FC946 /* Typealiases.swift */; }; - 3D42C9D3EEBE1EAD7E365276753FE99E /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD6EEB752DE2D49ADD32CD3D42E6ADCE /* Queue.swift */; }; - 3D445FD9D8FFBDD79E0D04BDFE96B0BB /* Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90E60F7DF4F334F7E7F627DBB03A5E74 /* Signal.swift */; }; - 3D948EAB2024915C163EFB2D0F19E933 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 3DD9694A6D1F5035C6C400C6912B9E36 /* RxCollectionViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F80F22AC190D643F58DB39B082F65CB /* RxCollectionViewReactiveArrayDataSource.swift */; }; - 3DEDFA52B3A196F6D3E1F0937617628A /* ConstraintLayoutGuide+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3BA2A09C2805665BF66923C3540D06E /* ConstraintLayoutGuide+Extensions.swift */; }; - 3E670EDE68B054C222FE8309EA153CB7 /* Infallible.swift in Sources */ = {isa = PBXBuildFile; fileRef = D29C83FCA2C7DB9EB767361A3E17BEF3 /* Infallible.swift */; }; - 409D46CDA36C2CC12C0097FFC7581872 /* TakeLast.swift in Sources */ = {isa = PBXBuildFile; fileRef = D65E87D2C01D6A1C912EBB867FC007C3 /* TakeLast.swift */; }; - 41E7B54E5601E8F1ADF203A4C7DED99A /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 612E84A141BB52B45ABDC0F44CF8A820 /* Map.swift */; }; - 422CFC7C2D21CDDAC4C2A0E25F55D399 /* MoyaProvider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A03225CEDCF16F5400EEE6D22E6F262D /* MoyaProvider+Rx.swift */; }; - 4375F9795EFC6B7394B0A2699507AD15 /* IdentityHashable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D23BE1A4AFC47F0575AE10541B426BAA /* IdentityHashable.swift */; }; - 43863B6D6A0E47B6648BB7B469736EDD /* LayoutConstraint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 543B818DEE8C2E3D525118A2EA9BD05A /* LayoutConstraint.swift */; }; - 4493F979336CED6E6E0FD5000BCFC918 /* DistinctUntilChanged.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF508FF0B3E546960CE4F12C4ACDD69D /* DistinctUntilChanged.swift */; }; - 44AEBB2D29B9FB87530556A0CEC170F7 /* RxNavigationControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E88BC2A924CEECCD35DF5A753B2C4A8 /* RxNavigationControllerDelegateProxy.swift */; }; - 461BB8DA60E694608C7B4305264682B5 /* NetworkLoggerPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE917D893654CCB1277E8D66AF27F7A2 /* NetworkLoggerPlugin.swift */; }; - 468EA5886BD506CF8385AF06B7CF39FB /* Sequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDD8B695DF72001157AE608336943DDB /* Sequence.swift */; }; - 46A64A43AFA057B6B63C8F0C12F509B4 /* Combine.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E8DB5A3756CFC4D57236DC3CF00A58F /* Combine.swift */; }; - 47B48B7531CE161773DEF0B851D08037 /* ControlProperty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 56B5822580698E7B2A365E1D55547140 /* ControlProperty.swift */; }; - 4838B3C8759DACF738F61BF91100379A /* RxTabBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4903E853AA93BEA45DDB4AA5CBF1B6E4 /* RxTabBarDelegateProxy.swift */; }; - 4878A6C8BDEF6FCC155719CA93BA9586 /* _RXDelegateProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = A1397EA86B01053AB896609974B60346 /* _RXDelegateProxy.m */; }; - 4923112E4D1DB16DCCC3DBBED01FB257 /* GenericRxGestureRecognizerDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C88C559E260AF27B62BF4924CB768BD4 /* GenericRxGestureRecognizerDelegate.swift */; }; - 493551E5919A0FE35DB7800ACC88FC5A /* Bag+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D5DFBABC19732735CECC3070EF28F79 /* Bag+Rx.swift */; }; - 4994F1CABB9926703D82BA0D9D66321C /* RxCocoaRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = A010D8FFF85D7926E559EC772651259A /* RxCocoaRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4A62CBA8E7290CFD637D9D2ED8C0F7EA /* First.swift in Sources */ = {isa = PBXBuildFile; fileRef = 969D313B26E405CD7223A06CBD6739EC /* First.swift */; }; - 4AB0B4A8F2C9558D558666E5FFE50EF8 /* DefaultIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709171001ACD33D421A0151F4045C555 /* DefaultIfEmpty.swift */; }; - 4B3D44DF37653E5E67E85F5200F5209C /* AsMaybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB981652736C533DE27A4E6EDEFCF40C /* AsMaybe.swift */; }; - 4B5C473D289BC98027224AE3A39F6BC4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 4B745396FD1223BA8532DFE2216E043C /* NSTextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C7C7F55182F22A8DBBF36814C1D5FC9 /* NSTextField+Rx.swift */; }; - 4C4200BE48D25FF0CA06D82F5CD9E1C7 /* Enumerated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83E610867086D679F173FFDD4FC226D8 /* Enumerated.swift */; }; - 4CA13A0527BC57DE2C54A0F3B5ED8652 /* LayoutConstraintItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A791CA2159D314414C51A57BC09D26E /* LayoutConstraintItem.swift */; }; - 4CC2DB49B90AC7888BD71D414D6AE51F /* RxOptional-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F77A77CF19FACD44D268BB5988F6B2C /* RxOptional-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4E83AD08C7197B65F61DF0D828FA92A7 /* IdentityEquatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 201AB1CB2F04D650AC6F2639C0C0C27D /* IdentityEquatable.swift */; }; - 4EB4328C78B36211BF7D50529327FD7C /* UINavigationController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1D4C3FAC2289834FECEF3E8665AC9A6 /* UINavigationController+Rx.swift */; }; - 4EE0F2D2112CE993AEA24549F5DB19BF /* UIControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC398C6738D0782FB79841DC267FC1BC /* UIControl+Rx.swift */; }; - 4EFD31D7DB8D26D9D031A2225A0C6AEC /* UIApplication+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9F66A66422833FABB1267FF226D001A /* UIApplication+Rx.swift */; }; - 4F5A2FA715741C0C9B4B79ADF62711CC /* ReactorKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A169A58B8A03892AFCAF64795BB7214B /* ReactorKit-dummy.m */; }; - 4F744303AF9B5E7CEF8C3A9327E852B9 /* ControlEvent+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3E87700931EE876E55B1803E53EC3D3 /* ControlEvent+Signal.swift */; }; - 4FB76064D3A809D6E7DCF63DADF4ED68 /* CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4F4CFAE1178DF75BDF760E071F537B5 /* CombineLatest+arity.swift */; }; - 4FC27FF6DF0328A134393A57E735977B /* RxTextStorageDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D0493D1B0F34D1354A5803D9148F559 /* RxTextStorageDelegateProxy.swift */; }; - 50681D70D26BA315A5DDC1365B4CF0BB /* KVORepresentable+CoreGraphics.swift in Sources */ = {isa = PBXBuildFile; fileRef = C07C6F3CC08EBBE9701946763684E2D6 /* KVORepresentable+CoreGraphics.swift */; }; - 50FE4CE6824467676B1B63FA8AD027B7 /* AnyEncodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D81621E84B9485D73C824B2FCB4C983D /* AnyEncodable.swift */; }; - 51A4A1046676D304410544EB56732A49 /* Constraint.swift in Sources */ = {isa = PBXBuildFile; fileRef = E10DBDE9E3CE762B08D307081D9D0011 /* Constraint.swift */; }; - 51AD4F54B1DE0D467A5CE4A3E06BB3A0 /* AtomicInt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40F16C949AEC0CA65AC099EB1B985C17 /* AtomicInt.swift */; }; - 51C984425C777CF8B613C230DCE2DB65 /* UIGestureRecognizer+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5DA7EC2F4B48FFD548443C7077E4810 /* UIGestureRecognizer+Rx.swift */; }; - 51ECD749AD8A4A4F48A5E93A82AB60F1 /* Using.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EF6AD3688E30D8DADD996F4B8AF330B /* Using.swift */; }; - 5244765926F2AFA433770F660FA35366 /* Cancellable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42992AE3E4FAB2BAE69FCEFB0261C251 /* Cancellable.swift */; }; - 5291A92FB6C7E3FB265DC22EDD908884 /* Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B9EF744A821266E54487FB9F446E9AB /* Driver.swift */; }; - 529BDA5E8CE104C4B384017447D0DC60 /* _RXObjCRuntime.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EE70159B6A082247520DD4AE7F5C60A /* _RXObjCRuntime.m */; }; - 536B0C4E14A1F494386C5EA18CFC906E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 537AA24A1751D35CB7AB15B3A37B0F24 /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F93AA75142B4DA5E036DF4599449109 /* Queue.swift */; }; - 53E0B37CDF91621A0D39A7CD8CCA5EC2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14EABD36049BE9D07F798AE9543EF734 /* UIKit.framework */; }; - 547C350D2200B9524D3E74EAECD5C703 /* RefCountDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 300232FC414A1EE7676E7ACA1C9860D8 /* RefCountDisposable.swift */; }; - 548B9145185925F281D9B1951379E6D1 /* RxTabBarControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE98A573262ABCD111FA0D683B5C9EDD /* RxTabBarControllerDelegateProxy.swift */; }; - 54A2DBB2F62F239D4B7255B7E367E9E9 /* UILongPressGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = AEE8A849D6095ED994F8D765C1FE7B9E /* UILongPressGestureRecognizer+RxGesture.swift */; }; - 553E36E03B9B3B2EC2C8131FC9A1E6C3 /* Exports.swift in Sources */ = {isa = PBXBuildFile; fileRef = B91EFAA15EE51E9613E1032C01C4630E /* Exports.swift */; }; - 55AABB1FB38F61A3369ACC555FF3046D /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DFC9730861EB6724EC9C622B1DEBBA85 /* Alamofire-dummy.m */; }; - 565F4F4994CFBF0329289F4A4EF1CD37 /* Maybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 123B65E510C6563668C227BCFA354222 /* Maybe.swift */; }; - 566DE3C179A23A875167C63711486755 /* WithUnretained.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5FF934E8D70F0A013A56535925353276 /* WithUnretained.swift */; }; - 5687C5C97B6EF74D7934F129368E8415 /* WithLatestFrom.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE56111F5DBEF7D45FD7377ACA6FA4CB /* WithLatestFrom.swift */; }; - 568AF0E1F57B76EA7D3F2C5C4FA591EC /* Deferred.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98F693C03A52A38F27FCD0A9CFD07222 /* Deferred.swift */; }; - 578F143C5BCF1F8A98F976B341B0D4A0 /* ReactorKitRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = B70BD449E6F8A92EF5DE06C14921E1DA /* ReactorKitRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5829FB4C4D66ABC33C48DB6700A706AA /* ImmediateSchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = C62EE1015A51F1FA22AF8EE847F7A393 /* ImmediateSchedulerType.swift */; }; - 58C8EA54B9026DE7EF7B8811CBF147C9 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43011D74D0DF9C0F1686A2FC6896F0C5 /* Filter.swift */; }; - 59691189B7A014BB0230561AC0A489A6 /* RxCocoa-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6B890F2BA2C042BC0A7E6B69C65A3F0E /* RxCocoa-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5ABF042B517931D703661A5CF86A35A1 /* CombineLatest+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0469742C52358EADCD2F40E1A0852BDB /* CombineLatest+Collection.swift */; }; - 5B7D4B45FCA7568239C1223D388FCD14 /* Debug.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2D03D1D427E1B3AD6A1D392EF12041F /* Debug.swift */; }; - 5BA6309F785627B92243824CE48D73A9 /* Materialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5932905FCB14781E087A591A86A8A267 /* Materialize.swift */; }; - 5BB691355F2B21BBBA56B14A2F3AB0FD /* ReplaySubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = CECC38BDBFE7476A8B565A33DE544AD2 /* ReplaySubject.swift */; }; - 5C1993A1C4AA8AAEA8980D711B5807DB /* Reactor+Pulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36EDE5982176089CDC9F2FB7FF136740 /* Reactor+Pulse.swift */; }; - 5C39718131159692D7B43220A38CF148 /* AnyObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11AC398CC589E4C338A16FC75ACDF299 /* AnyObserver.swift */; }; - 5DBF04C7465493AC774C51973AEF0177 /* Stub.swift in Sources */ = {isa = PBXBuildFile; fileRef = B294C59D083488E2BDB4D0A0693E1AD4 /* Stub.swift */; }; - 5DD6FB9FFA9A79937B17F8A0C1BB07E2 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CE8E317EA065775461AF5C2330A097 /* Observable.swift */; }; - 5DE9413CB1A94402B6DCDBD5F5EA5324 /* ScheduledDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC66EC8B913EBECD53F5E4EE086A1EE6 /* ScheduledDisposable.swift */; }; - 5DF17DDDE831ED60DA455CADF447728A /* Take.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60F35EC785BA80C735B4E9B3246A93EC /* Take.swift */; }; - 5E3BF2B719B3A034C173D16B3ABF682E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 5E6A9C63E9DE8920681E86D0142AA700 /* SharedSequence+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54B8BB02E99DD2B4CA3F7D8D7DD0635E /* SharedSequence+Occupiable.swift */; }; - 5E8BA529DFB4529006967624044FEC1C /* ConstraintViewDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 206F7B7FD7B10F1DCA20895E32AF6890 /* ConstraintViewDSL.swift */; }; - 5F7DCF2F9AFC1DE091799DA40331320D /* SharedTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9BA12963CB9ADA27ADF8E11F123605B /* SharedTypes.swift */; }; - 61AFA7B5D4DB7461E60168CDBDE8B2F9 /* HistoricalScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE69515243ADE72347BA65A5C894A85F /* HistoricalScheduler.swift */; }; - 62BE791CF8D9D7A6D0A98B71E2F2ADE7 /* ForceTouchGestureRecognizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DA70304057D21E13447A3FE4A94BBD2 /* ForceTouchGestureRecognizer.swift */; }; - 62E38E06E865EED0B9476625DE304BC9 /* Do.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E605BFE9FF02313BFE760837DD3FA2E /* Do.swift */; }; - 62F299B4704A7C95FB5866C6CDE2E2FD /* ConstraintOffsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0EE8FC3916F17B77E838C4A166E7F252 /* ConstraintOffsetTarget.swift */; }; - 636F27DBBE1057C706260535A0E9027D /* CompositeDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7737C7C0F804606EF472F97DFB116343 /* CompositeDisposable.swift */; }; - 64702E011ADECD00DF0BEC45AFDC95B9 /* ReactorKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 15027DF69A52107B9CA80BA314B51DD8 /* ReactorKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 66C437209EDE502CD51D757F742CFF8B /* ActionSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4335216CFD3A15BE90C273EA4D93CDB6 /* ActionSubject.swift */; }; - 673F575E513DAFE204DBFD1D1AA2C85B /* VirtualTimeConverterType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61C4F3E9971FCBDBADED1CEDFDECD823 /* VirtualTimeConverterType.swift */; }; - 680E503AEC8752F4A29A60D1215DC167 /* ObserveOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2DFFAB3F3536611DCC0A4ABFB1D7A03 /* ObserveOn.swift */; }; - 68623BC382EACE93D53213D1D5AAAD3C /* NSTextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14AE00BF4007D19AEC1541E8ABE60F4D /* NSTextView+Rx.swift */; }; - 68FB2DCB4C77DBCAF9A6037E470F2BDE /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2FB418F643C65BD4F326FA3384803360 /* ParameterEncoding.swift */; }; - 69537EEBAEE542798C9630CB8F96DF8D /* NotificationCenter+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F4FAFE56D1FD22685012D37CDACABB3 /* NotificationCenter+Rx.swift */; }; - 69AD430BD659D2EEC0409C1EEE2F0431 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 6A1BFBEEEFA402CDC912388329D454D3 /* OptionalType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0EAF452A43D490D8FDCFE6ABAD0A4005 /* OptionalType.swift */; }; - 6BD6CEB2F219D16DF8744E7C3E34670F /* BooleanDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAD62592B8537A56F6DE79E30F8FEEBB /* BooleanDisposable.swift */; }; - 6C8FFB702500BC6AA5650C13856A577C /* Debounce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21F1E402DAEF7F79F5FAE19C4FE79530 /* Debounce.swift */; }; - 6CF05C1B79FDB92618F71F4D61C2D097 /* Atomic.swift in Sources */ = {isa = PBXBuildFile; fileRef = 182E45D5F2080C753B57B6887B8BAF68 /* Atomic.swift */; }; - 6D228318E6423C426069B1D4E1F724CB /* Pods-Instagram-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 42661978F54785D418E22E10D06E1088 /* Pods-Instagram-dummy.m */; }; - 6D8CDC66C950346874056F3F45FAB0FC /* NSView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11BCF2C00923455E64C2CC036BE1CE2E /* NSView+Rx.swift */; }; - 6E822563C3FB47152AAC0AAD2E77789B /* StateRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = B32C7757FD713CFE9E44767804C18244 /* StateRelay.swift */; }; - 6EC47A04E6FEE5888CCDD1E2308A98A7 /* SubscriptionDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E15252D095246A98DB0924DC54C66C8 /* SubscriptionDisposable.swift */; }; - 6F1C780B1A61D7E9D0A211F4A6A22C4B /* Delay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CBBA8F20C9FF1FD1A82078CDFD1CC7 /* Delay.swift */; }; - 6F765CD5847F9D3EBEC4DCEEACAD53B6 /* Binder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20BFE5C48A074B4DABCCE1D4103A4B1E /* Binder.swift */; }; - 6FE62421D3CE24A44DD72844024F8115 /* Reactive.swift in Sources */ = {isa = PBXBuildFile; fileRef = A89F61E429CA1DC7C50F1FC0EECBD07F /* Reactive.swift */; }; - 70527867C4C4C965053E4283F3778986 /* RxCocoa-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BEE564B8EFD3CF35C82D4B66FFA4805B /* RxCocoa-dummy.m */; }; - 70A41125865DDF878FC4CBD646349805 /* UIScrollView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49AF3F74C4ADE4EC4E0334063397EE92 /* UIScrollView+Rx.swift */; }; - 70AAAA59657D6B840AA92552D7FA916B /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3C77BAB00B5E895B08D48866339D575 /* InfiniteSequence.swift */; }; - 71A0223980F075278D2CA80D1FBEB989 /* SchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC08A1DB650DA12511E7ACF3FD833906 /* SchedulerType.swift */; }; - 71B272F45BD8DB8BB8670B956F8A04BA /* ObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EAA7D7EE1BE27B1875C800B4978363F /* ObservableType.swift */; }; - 71D5BDF4D210C1DC54AB197B1D2E9D13 /* ControlEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0F1F46CA80C1662BE67D9F65F18945A /* ControlEvent.swift */; }; - 71F4BBFAD916873F2758BCDA1007E3B0 /* CompactMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 602A4268E46BE38D1E3EAD9A40EF866E /* CompactMap.swift */; }; - 71F8FE6657A31D837311FCE8E9B02200 /* RxKeyboard-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 02FFD491AD10A0F01151E7D764974AFF /* RxKeyboard-dummy.m */; }; - 7209750E3A84D592A7FE7D2CBBC60C62 /* MoyaProvider+Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = D970640E8BE9CB97D1C086F4D17B60BB /* MoyaProvider+Defaults.swift */; }; - 72E7369F0761C28A44FF4701125F40C8 /* Disposables.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F4E8D5356D05F5265042338BD2057C2 /* Disposables.swift */; }; - 73096BF316E09A6F4B14306C03D5B1F9 /* Cancelable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A030B678CB4749FE0A32AE7363BFFD31 /* Cancelable.swift */; }; - 73D15984AE9C8A38CBCAAC1ECED7CE34 /* Pods-Instagram-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E294F95CCA803990D0BE9DD45034009 /* Pods-Instagram-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 7483E5327027263F7E4B94A2997191C4 /* AuthenticationInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46FAA81EEC08800D5D93C737B3FD95D2 /* AuthenticationInterceptor.swift */; }; - 749D29FF8BB001C1940D07F2814F2649 /* Zip+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 06AFFFBD95E62B02E6DBCD3E6769465B /* Zip+Collection.swift */; }; - 7580FAAB1BDA52F5A969E5571D1A5973 /* ConstraintAttributes.swift in Sources */ = {isa = PBXBuildFile; fileRef = F77FE450D73FCBE85ACF4C8DBD99613F /* ConstraintAttributes.swift */; }; - 75966A9262648D4647D764E3E76BC6AC /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2697D36FDB0609BE48567E6196A34CD /* Response.swift */; }; - 759C14209969BE8BD4BBB367662C4EB1 /* UIPanGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 953E912DA87A0829969621A1E2050B26 /* UIPanGestureRecognizer+RxGesture.swift */; }; - 7764AA5F6BBFC6ECE43959923DD007D3 /* ConstraintDirectionalInsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F4792D16FABC140BE3B475AFB61F011 /* ConstraintDirectionalInsetTarget.swift */; }; - 7930C94414B4C661867AC4FBE82E996C /* URLEncodedFormEncoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BAB4B18D0586BD78DF9873323C66233 /* URLEncodedFormEncoder.swift */; }; - 7984DC08DE542AFE6AD5472569B18D85 /* ReactorKitRuntime.m in Sources */ = {isa = PBXBuildFile; fileRef = 8DD7BFE076A52230E13B80C8EA4862CD /* ReactorKitRuntime.m */; }; - 79CECBAB3ABEC91DA3674035322A2B82 /* WeakMapTable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84DCE23AFD00C0DB2E4114688B04B4FF /* WeakMapTable.swift */; }; - 7B068137A8925891446203B5D3D6A4ED /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 087D7AA4D01FCEF78D17984A40E1EEF5 /* CFNetwork.framework */; }; - 7BEF420E8F9099C5079845A9BE4DCA63 /* RxWKNavigationDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51210328BF4E7EF7D5F0701BF4E34980 /* RxWKNavigationDelegateProxy.swift */; }; - 7C0DC741562A17F09F60EB9329DDA7CD /* ControlEvent+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05235A5139BBF4300568845DE299BA4B /* ControlEvent+Driver.swift */; }; - 7C957219889D2ECF5C99D25B9BB65A40 /* Infallible+CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A4FFA3031844E039BF287CB9A3BED4B /* Infallible+CombineLatest+arity.swift */; }; - 7D162CC73ADBE4C4DE864E4418759939 /* Endpoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72D2CA26CB640CE0EC9A058D60EDAF7E /* Endpoint.swift */; }; - 7D6A9C3E9BF6E92252C5B173106A694E /* Multicast.swift in Sources */ = {isa = PBXBuildFile; fileRef = F437CF974065CCE6171374108E450321 /* Multicast.swift */; }; - 7E02F5B62BE00E97847DF549FFED2490 /* HTTPHeaders.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1A27EF6F67CABF1A948C202920D1383 /* HTTPHeaders.swift */; }; - 7E3402342205B2DC03468A7FD95F61A9 /* NSTextStorage+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18FA131B44440DFBA8430016D1E28609 /* NSTextStorage+Rx.swift */; }; - 7EEED39CE5F3611AB4D7205FD038021E /* NSObject+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DDCC76320905B3676860FBF9C2EFFDB /* NSObject+Rx.swift */; }; - 7F1BB526AAE3ECDCE90127D9D0E10261 /* StringEncoding+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBADCBE1375382A5B0A78DD4539848C4 /* StringEncoding+Alamofire.swift */; }; - 7F60B371FE78073E7DFDD621FFC482CE /* URLSession+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4571E1713BEBBF538815DE13FFCC9AFF /* URLSession+Rx.swift */; }; - 7F807A9F028FA54615B03AD4B5180112 /* Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 90F4BB9ED99DFF5CF7386AD135F6B23F /* Optional.swift */; }; - 7F94FE00C0D4463428115B7C79D6A31E /* RetryWhen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 442FB4FF606BACDCA03236B76F49A6D1 /* RetryWhen.swift */; }; - 7FE695DA8EE7FF1286556E06B692009B /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42A137E136B6E28C4054B9AA55C042DC /* MultipartFormData.swift */; }; - 80861DF1D734019E3B9A4B2F51F3E791 /* Merge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 11008A58ACAC831C59A486BAFD6B3B07 /* Merge.swift */; }; - 808C960C82D708FC1A42C581D6CB4940 /* URLSessionConfiguration+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 438A36BDCAA26D13D3CBA74F8BFBC18F /* URLSessionConfiguration+Alamofire.swift */; }; - 80FB3E4AFDE46B89C896922DFDF545BD /* ConcurrentMainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6AB62EFAA60CEC262A724655DD4ABC9 /* ConcurrentMainScheduler.swift */; }; - 81A394201D240F032A6108ED479B427A /* UITextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E2E3F5FDA70AE6B2BFADAA8CD002262 /* UITextField+Rx.swift */; }; - 81B8D2B7CEB25C2448B0BC9B33591A65 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6B82B7E7EE235DE451ACF9BDDF34C27 /* Session.swift */; }; - 824D816B1EE404F2DD400EE678695CBE /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0FD6A0CA7404220A63ED59E2401866A3 /* ResponseSerialization.swift */; }; - 825062025906CE93C5D124E1FD9A811E /* ConstraintMakerExtendable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D4D3F7EECEFCFF8DC8DE1AA46D46883 /* ConstraintMakerExtendable.swift */; }; - 841FBD1EB10F9112D309BB28BD10CF1D /* SharedSequence+Operators+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F2FB86FCEA141BD90AD9E9EDC4DE70A /* SharedSequence+Operators+arity.swift */; }; - 8449EB1DFD43E222D687D5A8D2088D2D /* ConstraintLayoutGuideDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF7821CE31D9E88AEFD61ED544C57603 /* ConstraintLayoutGuideDSL.swift */; }; - 845D3899B817D0461950AB400C049EFF /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80B844C3D90DE4E87A4E307CC7F20DB9 /* Platform.Linux.swift */; }; - 850195ECBC482C367706D08ADF908435 /* SwiftSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 09526484ED4A46250C50E639B9E57CC4 /* SwiftSupport.swift */; }; - 894BF76C4272C38C9E17385110BF4A41 /* _RXKVOObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = 10249DD536C1876BF77A28AF8AC21725 /* _RXKVOObserver.m */; }; - 899DB02388C68934973A421438EB2079 /* BehaviorSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6EF4C9B8552025190300BFBF9CEC3B61 /* BehaviorSubject.swift */; }; - 89C359CDCB82FD5C984C1F47B3B26D78 /* BehaviorRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA0AD9DF8D93EBD1D83C95AAC0F892D1 /* BehaviorRelay.swift */; }; - 8A299EEAE861BD75A706D89A1F46A5E3 /* CombineLatest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 796CBF60955D95BE12F4BCFBFF9186FE /* CombineLatest.swift */; }; - 8AEF0775CDF920AC2DBE0C725B59EC96 /* UIStepper+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96EAB48275DC39FF1A22FB107E90462A /* UIStepper+Rx.swift */; }; - 8B7686A732E13434E997809196B15955 /* UIRefreshControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6824D6196E90AA7CACF4D72567C60598 /* UIRefreshControl+Rx.swift */; }; - 8BD3744E000D91D0F86F672B8D2E78A5 /* URLRequest+Encoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8790F5E6A1B3497A0BEDCE979CD0AB6 /* URLRequest+Encoding.swift */; }; - 8C6546C1EF4F153DF3795CC6FE189E5B /* ConstraintInsets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D64F8722E4B5C4EDEF4F10197C1D2B6 /* ConstraintInsets.swift */; }; - 8CA97A230D877B2B8E1AA646A0078592 /* RxKeyboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8ABC4368B496175D683B636C8B9A2CA4 /* RxKeyboard.swift */; }; - 8CF30E45F68813C74C39193C63E3E626 /* TargetType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C64425A952BD8460A018B0DBF91FCE4 /* TargetType.swift */; }; - 8D75FC8D7476C9674234F39F1A820D8C /* URLConvertible+URLRequestConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 803855B7F93FDE3E2D4ACAC245446E2A /* URLConvertible+URLRequestConvertible.swift */; }; - 8EA5CC7EF28B004A8A813925E4F17F93 /* WKWebView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EBA303BFD41D246F5C094B3F44BA28E /* WKWebView+Rx.swift */; }; - 8FD9CD608C4EAAFDE6AC7B8B9EF0FF5E /* ConstraintDescription.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0297F226DBE30A48DFBB888D4A14DAA /* ConstraintDescription.swift */; }; - 8FE0BD68EA39B931E49D9C038BE80B65 /* UIDatePicker+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83E9689521D6E6ED448E83830B738DB6 /* UIDatePicker+Rx.swift */; }; - 90FD5AE525E138A473723FD79AF73273 /* ConstraintDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08470FDE73B735D3A47BC949B79927DC /* ConstraintDSL.swift */; }; - 938B46EF411204D0BEE0A56A7D584D51 /* RxCollectionViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35EF881970D1AC76F70879BA7BC0336B /* RxCollectionViewDataSourcePrefetchingProxy.swift */; }; - 945DBBCB62542CD24B29F83FAFEF13B1 /* NSObject+Rx+KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54E9A5DCB5D0FCAF9CC26EA8D12D887F /* NSObject+Rx+KVORepresentable.swift */; }; - 94918BE2F87C41D7DC850BE05B06B7A8 /* RxKeyboard-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 47D2A670E0EA9908F4F9540C9C83A5F2 /* RxKeyboard-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 95181366D610146E29AD34636DB9EFB7 /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAB8A9774A35510C73D28CAB89AD6129 /* Platform.Darwin.swift */; }; - 9603A3C04ED7D6D13E90B5779E2822FC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - 9616BED59141C69DF724AF751AE9B579 /* GestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF9322A269D5351A0FD9E98FD8C92D90 /* GestureRecognizer+RxGesture.swift */; }; - 968B4874A9F12D67C8B901136C9C8157 /* SnapKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 963345BFB768D3D49AEDC923E4419224 /* SnapKit-dummy.m */; }; - 9850A80051F5259DF4BD9060DEFE783F /* BehaviorRelay+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6D14C3A52BEDFD875BEBE959CF7C1B3 /* BehaviorRelay+Driver.swift */; }; - 988D138763F1795790FFB140D48AA384 /* ShareReplayScope.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E87C5BB83558637FF551E56C62670A2 /* ShareReplayScope.swift */; }; - 99D058E53EFEE3AC4857CDE3DBA5C004 /* ParameterEncoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16A62D3B3DB5F4D590F49A38779CD36F /* ParameterEncoder.swift */; }; - 9A99953786F180B8D5C43BEEF7D94F4B /* SynchronizedDisposeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22D6B3C1120FDEF2EA976CFA769266CA /* SynchronizedDisposeType.swift */; }; - 9AB8EA328D6934E091D04070E552E3AC /* Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = E66241FCCF6FF8B4ECF8BC158FA0813D /* Create.swift */; }; - 9AD26F1B47061233CE3B354CD4E386CA /* Dematerialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D93D3434120BD7DB00C6FAB48FC0330 /* Dematerialize.swift */; }; - 9B6D684A7CCF9470B92E10267E3987CA /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AAB70B82387A450BF2F68FECB9AD92A /* DispatchQueue+Extensions.swift */; }; - 9C9030DEDB0DF955B16FE08C50892D57 /* Concurrency.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF9ABFAF771A6BC0672B85C956FF4CEE /* Concurrency.swift */; }; - 9DB4A288E7875E7346EAB537875222D8 /* SharedSequence+Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 860D00461DB00540BDEC0C88E1C8A76E /* SharedSequence+Operators.swift */; }; - 9ED4CFD2473CE8CBA0E720BB077A133E /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28574D7CCD44D201D60FB08A4D11343A /* MultipartFormData.swift */; }; - 9F85E0119E8599036C6C15F4EFDCC9D8 /* Repeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = DAF516BDFD4363B662ABAA8E3296E4FD /* Repeat.swift */; }; - A0F754C88A64972A40A9008B0AD52109 /* ConstraintDirectionalInsets.swift in Sources */ = {isa = PBXBuildFile; fileRef = 16947BCE24FE1861ADB9F664210B47BA /* ConstraintDirectionalInsets.swift */; }; - A1194BE78FCE2929CDA65C95CA310EAF /* RxPickerViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = F89362897EBF41C1769EBD511DCE8653 /* RxPickerViewDataSourceProxy.swift */; }; - A1985C2CC5030AB984FFA33B94E1E39D /* ControlProperty+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3235B93C452F27ADE31D5CA92C609E01 /* ControlProperty+Driver.swift */; }; - A29100AA1876DDEFF6F54694A51FDB0E /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = CFA713923A13E0A75E10D90AF9E91E2D /* NetworkReachabilityManager.swift */; }; - A2F7FF2AEFF21D78671543FA8CB6A8B3 /* NSObject+Rx+RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7770EE79C2BA41EDEECB7FB36B55A104 /* NSObject+Rx+RawRepresentable.swift */; }; - A3423ADEDFB20D72E2C608221A26D3C6 /* UICollectionView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FF9455B00A6D912035A370BBB1A78FE /* UICollectionView+Rx.swift */; }; - A348862730F5CDAB99ADB4982A699043 /* Skip.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3CAB360E1DE3B181545BF523351B6A1 /* Skip.swift */; }; - A37D3661369446F3AA978C8FD342A83A /* UIActivityIndicatorView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A71C4C18F3523D6AAA3D47ADF9B766A5 /* UIActivityIndicatorView+Rx.swift */; }; - A435E4B3FF0B326E880502C6FD3FC987 /* KVORepresentable+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63F0BACC09C9D17E044FF856B0A89FA2 /* KVORepresentable+Swift.swift */; }; - A4467357581E8345DD348683CC4111AF /* SnapKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF2CD16A90166FFA57E755EEB4784E4B /* SnapKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A48BBAE6212DE834C2ABF6668A0357C8 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61D9D09E371936C1C816A7015978E90C /* Errors.swift */; }; - A53BDE589BDD6483F3EEDCE5EA1DCCD3 /* Protected.swift in Sources */ = {isa = PBXBuildFile; fileRef = 523DA5F51C6DD61306F2B209A67C3D11 /* Protected.swift */; }; - A53D3AF15CE8D348306EF11619C5D166 /* ConstraintMakerEditable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9ADA69F3EBDD57725226DA75565CD94A /* ConstraintMakerEditable.swift */; }; - A5EC63ABC1733DD97EB81F74941FDE91 /* Moya-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D8E4FF54D79503F8FA5EF6EAF09CCB6 /* Moya-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A892A3F92A4B151AD508CFCD080082A4 /* Then-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7107E6BAA711BF13F476344CDE9EBF6D /* Then-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A998FC39FFD7B539711E128F85B081FE /* MoyaError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C96425E17FA65E564E3827B3F06D4B5 /* MoyaError.swift */; }; - AA7BBD3390AF2ECAFA1AD576BB69CE15 /* RxScrollViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8571FFFA390D5DE8E74665E3EBD52776 /* RxScrollViewDelegateProxy.swift */; }; - AB4875CA5028C3C32274EC2CCDFE9066 /* NSSlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7C6E0D11714369064C0B5B7975B16AF /* NSSlider+Rx.swift */; }; - AC55087BDCD78160D08B8F774BCD10A3 /* ReplayRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = F725365BB3B40C833AF15E4380D13CED /* ReplayRelay.swift */; }; - AF5D8096AA12A7C99A9273DCCB366DA4 /* Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEF86576B3BC2C624247A929A5548B8C /* Occupiable.swift */; }; - B110E7DE2DAB2F022A1DC8364BA12093 /* Just.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7A598980521BA743A95893A6EB2CF24 /* Just.swift */; }; - B11BF529B3F2A37E37CCA6A591E6416E /* SynchronizedOnType.swift in Sources */ = {isa = PBXBuildFile; fileRef = E3D76B812593C46182D5AC6BC61B0AE2 /* SynchronizedOnType.swift */; }; - B1E2E12C2D04D3D3D7017A3D882918AC /* SerialDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC20F79B859E2EA7D35038C80B7FF047 /* SerialDisposable.swift */; }; - B283E0B7BB5A5910188B1B4C7B15FF53 /* ObservableConvertibleType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3B7D272BBC0253CEE203945825E238 /* ObservableConvertibleType+SharedSequence.swift */; }; - B3658C29BBDE1033F6269A92E612CB30 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC1FCA7E58A88574EE3C9DA15FDA327E /* Request.swift */; }; - B464CE0EAF3637624BCB6CE21BF47C1C /* Amb.swift in Sources */ = {isa = PBXBuildFile; fileRef = 054339B84DDE440F012B13DD799A801B /* Amb.swift */; }; - B5370E13FAAB891CDDF91974FE8F969C /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15408AECF0A4578A87267F591199ADE0 /* Event.swift */; }; - B543FD108C1C6AF6129CB4991553218B /* ConstraintConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5939ED615CBDA815F0287572E30F094 /* ConstraintConfig.swift */; }; - B5EB590AE3D58F046034D893AD724EA0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - B704B198B9B520D449260877E300D821 /* ServerTrustEvaluation.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF089E24C4C0495A5390DB27F1D5AEE8 /* ServerTrustEvaluation.swift */; }; - B8E27E8D24CBE6DB22F38E06FFBDB710 /* _RX.m in Sources */ = {isa = PBXBuildFile; fileRef = 3181F60DE4F24941A0BBAF666B4D37F8 /* _RX.m */; }; - B9B3D47287B83D482B7D7C6D36C1C6A3 /* Range.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51C87204562A318CD303726A89763BBB /* Range.swift */; }; - BA3500515090C3F7778FFFB05E0D4162 /* Never.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5247DAF484473F523ABF4B8C7A131719 /* Never.swift */; }; - BAE57E2111C533574CA8522FA1F8F5EA /* DelaySubscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02EA7BACD2FCA7BB87B7DA468D17247 /* DelaySubscription.swift */; }; - BB75BCF76F22254E3302085A5A6A4B48 /* SchedulerType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76E004F108FD4D1B1FDBF678E582C8F7 /* SchedulerType+SharedSequence.swift */; }; - BB8ECADFFD79D195589606DE42B7D626 /* Buffer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6029F2D4AAC32E8DA5F4495C055B724B /* Buffer.swift */; }; - BC0ECA8F22DEDE8886E189CD0EAA1197 /* URLRequest+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1753EC9C8842E93A8EDD3AC0B08F465 /* URLRequest+Alamofire.swift */; }; - BD333CDBCF5D2FD55920336FC271DF33 /* ConstraintItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = E16BCA9E120E032727C533E4E2719C1A /* ConstraintItem.swift */; }; - BEBF920FEB959B46A76BAADF22E5CD15 /* ConstraintInsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 054A735A3A0C480025558FA06BA3BD0C /* ConstraintInsetTarget.swift */; }; - BEFE617EABAE8B434A580CCD4179C04E /* TextInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A55574FCE606CE3367D3FF96B640E6 /* TextInput.swift */; }; - C05CFB8C65E632C19EEDDA3E0B87C631 /* Infallible+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F593D0E8AC59D2DF8CC401589F6A307 /* Infallible+Create.swift */; }; - C0B3C2A54FE4768B1D99E89228BD82CC /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4918618AB8F3AA96C76D54650D58EBF5 /* Platform.Darwin.swift */; }; - C1C96867757427AEBA2F43C1748C7794 /* ScheduledItemType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA90C4718CF3DB81F0533B0B8505FF08 /* ScheduledItemType.swift */; }; - C2EA0358598E846F3095490F80732797 /* ConcurrentDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2CE4B2F6B3AD87DC31399128CDEE5A9D /* ConcurrentDispatchQueueScheduler.swift */; }; - C2F3FD601EDD3206B738F840D0E70848 /* SubjectType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CFDAA8BC564E497B5FF67F42C7C03679 /* SubjectType.swift */; }; - C3A65E8F41CBF423E2C4D9C1E4DE209E /* WeakMapTable-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E0E7CD44B86706C16BEBEEC02743B70F /* WeakMapTable-dummy.m */; }; - C4D350D569A2B6567E087ED515A93EE2 /* RxTableViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2879542042267BE5A80D866660666E79 /* RxTableViewDataSourceType.swift */; }; - C51C6D9D83B111D3C3F1615898F038C8 /* Plugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4869D8080C04575E7ADADE3038139A79 /* Plugin.swift */; }; - C56A14C84CF05A1A96D8B92E16E0CBFB /* SectionedViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 714D4FE76016C740AED30DE7B968FC25 /* SectionedViewDataSourceType.swift */; }; - C5B85CE85D997B67462905D3CA3891FC /* ObservableType+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FB84899336A4CA5B4B9D16151BA27C6 /* ObservableType+Extensions.swift */; }; - C61D3BC32A28A405C934C00039AD2583 /* ConstraintConstantTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B0924D2A3DEE5564E6713E5E531589 /* ConstraintConstantTarget.swift */; }; - C66C4E3E67C26B960FABBC8F1B0C056A /* RxTextViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8EE00399A5C97F77929FD5F6DCCC5D8 /* RxTextViewDelegateProxy.swift */; }; - C8B98A7D6E5C3E6158E8AE8E842E57EA /* Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B493452C8541838E7C8161C08836B18 /* Zip+arity.swift */; }; - CA14935914985D415916ADA8E7215F8F /* SerialDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BC86148BC9FBE30BAFBA81C3211EF16 /* SerialDispatchQueueScheduler.swift */; }; - CAB5CD8D5F0B18FDD2E1C53C78B26928 /* TakeWithPredicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97AE8AD2EE8A869F2E8EDB996FC8CE15 /* TakeWithPredicate.swift */; }; - CB194156C900B767B0160AF72EDF354D /* ConstraintMaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 534C5A4024B8335586BB4DB49613C6F9 /* ConstraintMaker.swift */; }; - CB4543817637AABD1E9B2FDAE287023B /* UIRotationGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1815C5019D73AE2B7B5E40DFF3FA1CD /* UIRotationGestureRecognizer+RxGesture.swift */; }; - CB8E4BF0D710970BE2CB4C87ED1043E4 /* ConstraintMakerRelatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5860F56668E6C7627A432E64B858C1F8 /* ConstraintMakerRelatable.swift */; }; - CC6BC8DE4B4BDDD9F0960FDCD332340A /* AccessTokenPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F43CAE833D52085FC1C7EBB3E05D31A /* AccessTokenPlugin.swift */; }; - CC7EB25D42FC5C1D8796CEF2F3BAA07B /* MainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C86DA7E616B8A125D807071B1596043A /* MainScheduler.swift */; }; - CCA22C9F421C9E8C13009947816D8C82 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - CD629BDEF1E81E0256029E2199AB5314 /* Generate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D11FE213CD73CD37E250D1C792DBCB1 /* Generate.swift */; }; - CD9AC6BDB6F6DBE9720DCB24CA67652B /* SkipUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = D19D61F1B152B6622EF55BB7FE1D8750 /* SkipUntil.swift */; }; - CEBFFEED65D877702B2F36102528CF6D /* EventMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B613994394E0A641B7DB6CDCDEB4434 /* EventMonitor.swift */; }; - CF9DAAEC618DE435A7DF19579DE30AA2 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4FA7498E60FCAE76EF4182B15E95C56 /* PriorityQueue.swift */; }; - D05116642C20C568B926B4025B6EF995 /* UISwitch+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE5831A46F62E9E1218147DA303026E6 /* UISwitch+Rx.swift */; }; - D0EA90FBF83350C49E6EF6C8A98D6F00 /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B11B1A6227E06356331FEA3E7EB9DEA /* AFError.swift */; }; - D13D417B236E736EEAE7217B5CE3EC5C /* ConstraintMakerFinalizable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDDB8060620CD6B1D229910B892A1AF0 /* ConstraintMakerFinalizable.swift */; }; - D1B55BBE5EF9F829F6209A01F5EF3337 /* Throttle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 127DE17A1CEFA087654D1E2F684D9BED /* Throttle.swift */; }; - D1DE14077A54174F00E887101A48AE8A /* RxTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7751D39D2B25528BB946CDAA2F1742C0 /* RxTarget.swift */; }; - D1F00BDBF2078F4239F93C9D2920C49F /* RecursiveScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 568D2C349984DEF51C52BF5E454E00EB /* RecursiveScheduler.swift */; }; - D2C118847B84B441149687539FA9C2EF /* Observable+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC9373C73AB4309EB897389ED7CCDF7B /* Observable+Optional.swift */; }; - D3D6DB3C7E87F38B37930F02815C40B6 /* NopDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17F3F8D362F83879FDABA99EBB72401C /* NopDisposable.swift */; }; - D53B68107E2808198BDDD6FC15DC9DD2 /* Sink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 580C07C20D4B91975EE023495E0E9DB6 /* Sink.swift */; }; - D54CB6B01F7E75F2A0D9AFB36A60C934 /* Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA79EBD740D063EC2FE7610BA95F6A7A /* Rx.swift */; }; - D583F8FC3BFE7CE7368F5FE75679F388 /* RxTableViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF7A7BF4F85AB2E58D05A34A13AE2547 /* RxTableViewDataSourceProxy.swift */; }; - D59C2826AD288ECFF576B2AFA312716C /* ConstraintRelation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68F688AE3657DF43517D1862AC4D76EB /* ConstraintRelation.swift */; }; - D5D393B53D07EB7AF497B265604F731C /* GroupedObservable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CEA3D89FF147A9209D5605F6057C88A /* GroupedObservable.swift */; }; - D6B4751CED01D53E4A1B6A571AAA2F83 /* HTTPMethod.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAC66FA4EE7F95A7BAF394FF22E3CDA7 /* HTTPMethod.swift */; }; - D709A58FF6A694878122F7D24B4A9913 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 794783FE06553920EB6C294C5B8A5B78 /* Bag.swift */; }; - D755B217DD90E4AF0C300FEF6E64810E /* StoryboardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD8481B729DA28713857C42B6B2FE179 /* StoryboardView.swift */; }; - D8A4FE44301CF797B3E9655FA9F80FA6 /* _RXObjCRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = CEAA247747745A7138E403F704D8A61F /* _RXObjCRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D90ACC4AF242AEA71797B62955A3A073 /* Producer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9343CD8C6406E19E1C5A17CAE5A49188 /* Producer.swift */; }; - D936EF159A167C7E4C5E5764C22F458F /* Then-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 300E4E3EC4EDA9529BB46DAEC8EC108B /* Then-dummy.m */; }; - DA129CBD945646BC6224811D62AB6EF5 /* Scan.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2E7CFAA3BAF5ECEF2AE2936E6742FE2 /* Scan.swift */; }; - DA34899BEF0668D76CBCE8C4CE47B97B /* RequestTaskMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 577887B1C7DDCAE93626C4D6C9B4D936 /* RequestTaskMap.swift */; }; - DA47793ABC60FDB57531AB457C11E1CD /* Completable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C2F06F01F24E77201BC003F9016A25 /* Completable.swift */; }; - DA86A0970A97A43A818D58ED35CC66B1 /* Timeout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F4EE04F039DC0A68AF0384B6443B8B3 /* Timeout.swift */; }; - DB1DD69843D2778FEA52DAF486D1E82E /* SharedSequence+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50CFE539ADB60FF5B7C77719DA379001 /* SharedSequence+Optional.swift */; }; - DC4B090E7AEC6FF642B306215E99E494 /* RxOptional-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E6E9630D734FBEE5314E90FF271968E1 /* RxOptional-dummy.m */; }; - DCA88E9BCC6E21FF81B27A3F46B13F38 /* StartWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9CD895DF24D8A8EAC14E4096FF9CF69 /* StartWith.swift */; }; - DCB867B1E32350F95EB884385D773BC5 /* BinaryDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = DBED98EE28B74C41071C29EE2BFA68D7 /* BinaryDisposable.swift */; }; - DD724165EF3D8F209BD6EA6EEAA7EA0A /* RxSearchBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6B2633F274D539B690F716237EA2D5D /* RxSearchBarDelegateProxy.swift */; }; - DD860D17967CACCF6DFD4BEBF44CE794 /* RxGesture-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F541AF9A6089446F1DDFAA46548D6EAB /* RxGesture-dummy.m */; }; - DD902FE8D6824681C929D028655AE121 /* RequestInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38F23C602549E81E76800F670B0C616C /* RequestInterceptor.swift */; }; - DDEF2B45CC47E733C9FCCD38F0BF6857 /* UIPickerView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA7DC0250C6F1703032F9D280024B952 /* UIPickerView+Rx.swift */; }; - DE2765A7344079656494C853C11192CE /* AsyncSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F3014CFF77BF32C095A8E9478F6026D /* AsyncSubject.swift */; }; - DFD30F96D602E6476B57BB16FF1785D2 /* SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73738B0286728AC9941251C1762B6B1B /* SharedSequence.swift */; }; - E0C4050BF1FE06B46A493535142CC075 /* Observable+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA81F9AAB59331702700CECD668F3A64 /* Observable+Occupiable.swift */; }; - E20319E0AF4BAB015A6D4075EC19D58C /* AnonymousDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B5C488575AA10795CC8E9B6CF36857ED /* AnonymousDisposable.swift */; }; - E36244E8BF4AC941E82DAF16DDF4BBC2 /* ConstraintPriorityTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88E3C69EABBEE909DF6DCAA0A74B3C97 /* ConstraintPriorityTarget.swift */; }; - E3CD0B3B3CD0EA27C3CBCB1A839982C0 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21D2344D3B30B2244EF52687FDCEF6E9 /* Response.swift */; }; - E44E41257D6786E83696B4377BA8DB85 /* Disposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3128177CA402A50F67C41CD0FBF2D27D /* Disposable.swift */; }; - E44FEE826077E889EFFED3F1B9E9C95E /* Date+Dispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9312968996F3DD5C7F718803DE8D5125 /* Date+Dispatch.swift */; }; - E54654D504A42C24F284A68F87F7671D /* OperationQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 352EEC90DD337163A0828FD712662EEC /* OperationQueue+Alamofire.swift */; }; - E55D5A93E52D3EB30D411F08F0AE4FEF /* Infallible+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 093BDF9F1AC680D3A9C73C616FEA4A53 /* Infallible+Zip+arity.swift */; }; - E5EC1754522CE4458E03EDA7BE03E887 /* Switch.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5930AE62CAA1C0ADE55F398EF765400 /* Switch.swift */; }; - E6A1BF57511CE77AE62E000F61A5F48F /* _RXDelegateProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = FDF6A6E12876E821A6DE43F87FDE4658 /* _RXDelegateProxy.h */; settings = {ATTRIBUTES = (Public, ); }; }; - E7B4D8D2DCEA57906B9D1EA17503FBEB /* Zip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61B2EF1B8DD30320C95ACA9F36E6F3A8 /* Zip.swift */; }; - E8658B452530F6FD862ADF5EBDD04D12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - E8EAADACF3BAE33BDECBC7214EAE9CD2 /* ConstraintRelatableTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6EAFC99CD228E8742D92B6FC305064C8 /* ConstraintRelatableTarget.swift */; }; - E973F0251DF1BD8F1F7FF77B3C40CF1F /* ObserverBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD98B406100DCF9F466BAA4ADC75A053 /* ObserverBase.swift */; }; - E9B4C89E7EB3B27D46AFCA452C3D426F /* MultipartUpload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E9DEC36CED0B83BB8558D4EC4AFFBC7 /* MultipartUpload.swift */; }; - EA1EF91EB16C03CF30EEC0B80F24E66E /* RxRelay-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5CD0A8AA2ADD4B00D82F1601F74A1FD7 /* RxRelay-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EB276B66D2562F17B084C0D83B9D8F27 /* UISearchBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA30691D73A8230A61C4B6E4443BCB38 /* UISearchBar+Rx.swift */; }; - EB786C8C39A85D6EAD535AE4F9B7440A /* SynchronizedUnsubscribeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1DD12F155FC564179AD208AD1831FD36 /* SynchronizedUnsubscribeType.swift */; }; - EC27987BAFBD7B07651DB7A13A3DD8F3 /* GestureFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BC92D4817352B32EE0DEF5B572F33BE /* GestureFactory.swift */; }; - EC8BE39F20D9021607D31A7EFEF616A2 /* Reactor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68AB2B0D6DD8A4788B318F5C00B0157E /* Reactor.swift */; }; - ED19B4261AB5B8E95CF9CF1F9106F58C /* TailRecursiveSink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 94893EB3CEAF945C6004E0946EC70858 /* TailRecursiveSink.swift */; }; - ED501AAB94B51BC2D7F746DB5889330F /* View+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53007CC04FF52976B127CF9E92E462EE /* View+RxGesture.swift */; }; - EE6C364198A763EBBF49237035D86439 /* ConstraintLayoutGuide.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9433DC4D556BD9F87BCEC697348A642A /* ConstraintLayoutGuide.swift */; }; - EE80E1376D7F9E22682AE05EE3054388 /* UITabBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = C36E07CBFAC420D4FC25991764335004 /* UITabBar+Rx.swift */; }; - EEC150B66BCCD6C80FDA7E4D1975166B /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB94C796945A7F97D6BDED288CE41181 /* DispatchQueue+Alamofire.swift */; }; - EF0B5626F747ABC4CA9EFA47D563A7A7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */; }; - F0017E743BC47D42C2C0B6113C7C3898 /* Reduce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9AB946B66C176ED06A98B044EE3A7FF3 /* Reduce.swift */; }; - F028315800C8E9131FB9A1F570D95080 /* ConnectableObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 783E3196489A69C00E9C0D32AE13850F /* ConnectableObservableType.swift */; }; - F059BB2BD4F7B156353739A55AEBE2A3 /* ObservableConvertibleType+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9F4B275E3603794E231C5C04489240D /* ObservableConvertibleType+Driver.swift */; }; - F0BD429D40831C406637596FA9056029 /* SwitchIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2382E1791FBE01D89B01196D3AEB8A62 /* SwitchIfEmpty.swift */; }; - F10586462FB54CEA169A1A7A469A926D /* Debugging.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77362768C448D8FBC4B249A10EDB4C21 /* Debugging.swift */; }; - F113061F9B21F9BC5D6694C3BA2ADFAD /* GroupBy.swift in Sources */ = {isa = PBXBuildFile; fileRef = D10A437D9235F52C5A792698A8626AA2 /* GroupBy.swift */; }; - F17A4CA4664CABB331D39FE902E06843 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = B05A24DECC971E402A67410FDC8423E2 /* Alamofire.swift */; }; - F19D337398D8DE7CB86DB3B7BE2FF3FB /* Lock.swift in Sources */ = {isa = PBXBuildFile; fileRef = D965FAEEB92040A085E7AAAC7DEBE63B /* Lock.swift */; }; - F1DA873728D70AB358E831F18AF284ED /* RxPickerViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D1C1BAEB2A7B60143A96FA6A211831C /* RxPickerViewDelegateProxy.swift */; }; - F219C2A0B49D73B93CEC939FEF1E7AB2 /* RxSearchControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F6694B4A1D13D77A553024BA24540CF /* RxSearchControllerDelegateProxy.swift */; }; - F24D06C23DAB2F52A30C886A7A8177C7 /* ConstraintView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C39C26B6EEABFE7AB5E5AC038BF3FA25 /* ConstraintView.swift */; }; - F2C7431CA77F7449E84F36DD772A2D74 /* SkipWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = F02FC33C1F3ECFAEC33A924127364D8A /* SkipWhile.swift */; }; - F2C817C166B2DE613222C41015A586C9 /* ConstraintMakerPriortizable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F59C99859A20E204AC49C2946E621C42 /* ConstraintMakerPriortizable.swift */; }; - F343BA4E457FFDB0165492AECAEF0BCC /* ConstraintPriority.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8900BE39D2B4894C2929A528E64BB711 /* ConstraintPriority.swift */; }; - F387475B1EC3C098254F62698129B612 /* RxCocoaObjCRuntimeError+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 744200EA6035BEABB81572FB4BAB1242 /* RxCocoaObjCRuntimeError+Extensions.swift */; }; - F478BB40E8AD4A7080CC3B9339798631 /* AddRef.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB580C86B8DA2DDB40110305D03FC737 /* AddRef.swift */; }; - F4DD0C5221AF830DC87E871FA52C20B3 /* RxOptionalError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EB073CB20085ADFA06CEA755F06ADBC /* RxOptionalError.swift */; }; - F5D78E2C6A5859A464FB0336462F6EAE /* ObserverType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C42F3900862C51BF56CC8F5BE28B44F /* ObserverType.swift */; }; - F643B7014E54BCD1883A935FB90C9982 /* Completable+AndThen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C146685C2BAD74E75E3199DB158D6F4 /* Completable+AndThen.swift */; }; - F6A27837078AAB0628F0864AE3DBDB42 /* AsyncLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 007E552A45E73395AEAC18513C160905 /* AsyncLock.swift */; }; - F6B0B4D38FA2375348A59C0928C68C29 /* ToArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81ABDD1C13D64396DFC44864F3DCF17D /* ToArray.swift */; }; - F6E1B45243EF2546837B9099C53770E2 /* RxTableViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33F261EC6B8C9A4E1327CE0A39CC3360 /* RxTableViewReactiveArrayDataSource.swift */; }; - F6E3219367066E17074F979DF32FE076 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8099C281680720075FAD956577057E64 /* Utils.swift */; }; - F6F9C34492E47A611E31D2D63F476F13 /* ItemEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BFA21C5AAD671B299F8D7B67353D075 /* ItemEvents.swift */; }; - F80F0ADB717CBA0A589F3DA6D9A97FFB /* Infallible+Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2C072944164CCD7846B1B91A58DA56CD /* Infallible+Operators.swift */; }; - F89C351693522F78C6E85B6AAF7B76C4 /* RxCollectionViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD0D7A02E256EEC1A04AD167759F03D9 /* RxCollectionViewDataSourceType.swift */; }; - F8D9859750012C5A1422864B774567D6 /* Moya-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 29484A2ED86E75CEB5AA49D7B3929AB5 /* Moya-dummy.m */; }; - F95BFF89557ED9C88C2C7DDE732319B1 /* ValidationType.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6A8C8E2AFB1D2CD7A4C529AC3971D9C /* ValidationType.swift */; }; - F9DAFB7EB1C4813B47FB489CDE867397 /* AsSingle.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5039D6B8EED282AC88714328E2E808F /* AsSingle.swift */; }; - FC0237564385C5481724DF16DB0BAEDE /* VirtualTimeScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 557BD12597B8D211B889CA9723DFD4F8 /* VirtualTimeScheduler.swift */; }; - FC24C2D109A520AE6ED8A4985F63F888 /* Timer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D221F39AD650982E88458C82AFA1EEA /* Timer.swift */; }; - FDB6B50F3AF189818D8962D74E37D552 /* RxTableViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5323EF5E179129BC7A873DD30FA07563 /* RxTableViewDataSourcePrefetchingProxy.swift */; }; - FF966238984BCE5025AA45F2A829B590 /* UITapGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 905F351483D2A21B44922F4F64194014 /* UITapGestureRecognizer+RxGesture.swift */; }; - FFFB8058F3A12710C648925ED00C466E /* Decode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8DBF03E89A66BC0ED113149FA25314E8 /* Decode.swift */; }; + 000702A76DD1A018D9B45DEB79FB505D /* UITextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E353D430852E50F0AF9390D914A68FC /* UITextView+Rx.swift */; }; + 005B319B494ED2DAA239B9939A504DFC /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7DE07FF8519232235756FC737DB6401D /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 00BEA6029C428FEE644AC3D42AD83282 /* ImagePrefetcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2541BDCB96717DCC520B80160852681F /* ImagePrefetcher.swift */; }; + 013E9ABB8497EB38095B67851A878DF9 /* Single.swift in Sources */ = {isa = PBXBuildFile; fileRef = DBC75D414B7C90FC374C4A13AF4A840F /* Single.swift */; }; + 022DFEBF3DD3B5B1627278F189254A25 /* RxCocoa.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13C6B07DE24FF5446411E04B5036013C /* RxCocoa.swift */; }; + 028007F46C11E4A534DDE002A8171DCA /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61F1DEFC0411A62A2A94B7EE020EB03E /* Image.swift */; }; + 0285857A24F66E925987A5876F0BE63B /* ImageDataProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = C45038E030FE608F637BC67A2FB72D8E /* ImageDataProvider.swift */; }; + 02FA7315127F60A2F0692E75EC605B1E /* Reactive.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25CC1FFB99E0F290EEA489BCA4B606C5 /* Reactive.swift */; }; + 0358870AFB27EA0CE24AB0E4B39A4A2A /* CombineLatest.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC12038DE738824617B099DABCAEB700 /* CombineLatest.swift */; }; + 03D894819ECA3CA8F42C578E42D08960 /* DelegateProxyType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45EAD8EB891EE3C0E2773B4EAE79B23B /* DelegateProxyType.swift */; }; + 0422FC5745E406CB752E9497A2F56EA9 /* _RXKVOObserver.h in Headers */ = {isa = PBXBuildFile; fileRef = 0D0D44D007E8BA47EE9185CFC9F78391 /* _RXKVOObserver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 045DE6EBF9B2F63F60F5BE60C1198E06 /* RedirectHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9678C3AA6B1EF7B445F751D1B9473B3 /* RedirectHandler.swift */; }; + 04A896288CE3A59B530250337A5F8362 /* Result+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = E601B063596B29C8FA9E230A58C7C9E4 /* Result+Alamofire.swift */; }; + 04B2DDDF8C3C5DAE8952E85BD4ECF6CE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 04B641288248D3ACC28E7F707058073B /* ObservableConvertibleType+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95C95D4629F97F17AE927BDEB180DA2F /* ObservableConvertibleType+Signal.swift */; }; + 0510E8EA51914CB2176AD0F173937FAB /* KFImageRenderer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29C4E795BCA9D772A76E2DD9B8A532B1 /* KFImageRenderer.swift */; }; + 05228565AAA7FCED4BAFB2B7EF71D53D /* KingfisherOptionsInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = F76BF5CC68B3DFCB0F410122752EB458 /* KingfisherOptionsInfo.swift */; }; + 05646A4DD52DF210798C2484DCD02265 /* MainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05E776AA2BA79C2856CC460CB57CA1E1 /* MainScheduler.swift */; }; + 059639E700DEFAEF08F56484E5F67BE7 /* NSButton+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 320B1608B3C82E5CBFD77B8DB4E71A5F /* NSButton+Kingfisher.swift */; }; + 08155F3F6D55A38A07F00F85763290E7 /* UITabBarController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF3BFCE2F76FF80378B4C1003D10F710 /* UITabBarController+Rx.swift */; }; + 082EDC820D76DF95C71A5018112DE512 /* UIButton+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7EB2DCB6E7E5BB489CBAF3C2D6B58CC /* UIButton+Kingfisher.swift */; }; + 09949E358402F9A8F48F228E8B6E89A5 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9239163FF22AAFFC2B2799EC195B2309 /* Bag.swift */; }; + 09997FDBE8364411FFB6F495729608D2 /* Driver+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F1AA7F68B1FB6564D9E367D3A91DE88 /* Driver+Subscription.swift */; }; + 09C5C0B7138C3221326DF57BCD269810 /* AnonymousDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = FFBA22373B923B396F06EDB2B7C31084 /* AnonymousDisposable.swift */; }; + 09D3BACFBD50D5FF766704E056EFC083 /* ToArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80BB11E978FC14A7F0172243A84F51C3 /* ToArray.swift */; }; + 09E4A424C9A4B6AF425B42861E50E5F0 /* UIBarButtonItem+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91E1E64FC2FDF4805E20AB67F700AC1F /* UIBarButtonItem+Rx.swift */; }; + 09E8DFE97223BF2E68814D5B83741BC5 /* NetworkActivityPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9044D9DD6F453A8067B2FEC561B82DD /* NetworkActivityPlugin.swift */; }; + 0A408DB8F97376D34E7FFE857309E931 /* Moya+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 209B9E5EEE3F3E580588EEFA94928EEC /* Moya+Alamofire.swift */; }; + 0B2165491D9E7087D8C78C7A8128A9F0 /* UISegmentedControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 548060E13DD325BA5E8D45CCEAC7A487 /* UISegmentedControl+Rx.swift */; }; + 0CD12EA136001005C900211CFE94E98B /* AsyncSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = D492A4F4C8823EF5F8FD15EE440B17F6 /* AsyncSubject.swift */; }; + 0D640640FA9D1B4482CA33E46B8743C2 /* Decode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B6735FA55A112868233A7BE8A4598EC /* Decode.swift */; }; + 0D7B6FF8C492D77C003609B68CFABA1E /* UISearchController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDA09D4DA3ECDCB54E45AAFC08D8147B /* UISearchController+Rx.swift */; }; + 0E2175FB4DD0643FBB8F5D5D7CB9F147 /* Generate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B9D9EB1126CE65BA42FF82F540A7118 /* Generate.swift */; }; + 0E689699DDB0F5631C1CCF237933C457 /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65077E38D343E839D85898159746659D /* Platform.Darwin.swift */; }; + 0E87B5E9F6569B046DD0652322C46279 /* CredentialsPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB9CAA1455F01B340433FE4F3E9F589E /* CredentialsPlugin.swift */; }; + 0EA3AF3097A389F725266E49CFA3BF20 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = EEC66579C5F1F02826BF9C1686D8707F /* Filter.swift */; }; + 0ED8FBFD9A86D21BF69137EC9350E575 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD6A2A103866F700D2F5EFE0C40C5F29 /* SessionDelegate.swift */; }; + 0EE49DF1A1C225B173626E165176A2AA /* AsMaybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A5DF48D6E7CD671EE35E0D241373838 /* AsMaybe.swift */; }; + 0EE5A0BDAF2A6D43CBFD7F41E24A2A51 /* TakeLast.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A78D39CAF5E8150E51853B464A467EF /* TakeLast.swift */; }; + 0F4037DBF307AC8058BD0A3D35C7E7E9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 0F48EC5835C3C592C6A07D14CE935261 /* MultiTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3426599AB11430B37B98F0E69967BFFC /* MultiTarget.swift */; }; + 0F75B8C82523266A3DF606A5974073AA /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = B90A4C19F4821338EA608C13C37A8508 /* Platform.Linux.swift */; }; + 0FC4194C941768DB962F68B1410CC124 /* WithUnretained.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E779763D50449B806C0A9FBFC784ABD /* WithUnretained.swift */; }; + 10B82BCDE6EC0E1A9153E77646831796 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1695F344E1AD50D652D2C7ECE880BF38 /* PriorityQueue.swift */; }; + 115034FBC616595242B47DAB3E42F7CA /* Single+Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48A710424A0771F196A89889DAF0EBC8 /* Single+Response.swift */; }; + 1185A2B40E14F2FCBC761FC99777CAD8 /* ExtensionHelpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35FB164A2990DD8A693140CE761004CC /* ExtensionHelpers.swift */; }; + 11B6D721BE781276825B1BAEF7DAD3EC /* UISwipeGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 704FFF3C269815512F3CD567EB177777 /* UISwipeGestureRecognizer+RxGesture.swift */; }; + 122980E44B15C64CF0B14DC94D7EB5C9 /* Kingfisher-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E772BF09ABA1EDA1E4E042812B2C0258 /* Kingfisher-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 138D566063B2D34BFA6D6CD2DEC58E23 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 455E5D5D61859DE2E77651A9CD786341 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */; }; + 144DA93A55A598F5197F10C729FBDD69 /* UILayoutSupport+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7ACF1269BD96B3EAEA81EBF7FBFCBB40 /* UILayoutSupport+Extensions.swift */; }; + 14D2C2DC6532CC4AAD73F205B9211DB8 /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = A48D3D24C3E035B78A9C0C5437F09105 /* RecursiveLock.swift */; }; + 14D4FA8B23D1301DB865C67BF07D7567 /* Pods-Instagram-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3E294F95CCA803990D0BE9DD45034009 /* Pods-Instagram-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 15465B97E1B031BE054EBBB8320B105D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 155D953401DF644E75F2ACE729D00DF2 /* Infallible+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B432C1475F39FE88D12A5FB09F2001E /* Infallible+Bind.swift */; }; + 15D5D77E68C8B6AF20B7056602F7AEBF /* RxPickerViewAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58DAEE3C52EA8857E6C446D7170ADB35 /* RxPickerViewAdapter.swift */; }; + 15DBDB7F1C5C59C4007E976ECD006B33 /* SkipUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED3A64C1E2529428946B355FCB6B5FC4 /* SkipUntil.swift */; }; + 1604745CEC98C0D4E82466B59ED2D444 /* AsyncLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB121071E6042ACACF52DE92E8CD117 /* AsyncLock.swift */; }; + 161856AC63FAA2C3D8164A7500E14CB8 /* UITableView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B24DCF789FFC218C25E3C9DDC21ABAD3 /* UITableView+Rx.swift */; }; + 16EB1EAEF9D5FF0D6E4B221ECB397D63 /* RxCollectionViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40C0F47441D83FDA8E5C373CF3B8FB7D /* RxCollectionViewDataSourceProxy.swift */; }; + 171A21B0155EA10267C1DE165A6E1500 /* NSButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 276553CFC5B43BCB9A72FA9F2F15F200 /* NSButton+Rx.swift */; }; + 173E89679BB2215AD20A84F9B297953C /* ReplayRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2CD9DE184CCD638DD4B8739E9C6ACEA1 /* ReplayRelay.swift */; }; + 17A54AD23D0A61E3D0579ECFCA892C4D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 17BCA724981FE7659E28876A94BF3DB3 /* Completable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBC2777FD00F1236536EAD1E3D796543 /* Completable.swift */; }; + 17BE0F4E51B0FB968125F1A520607FD8 /* ConstraintMultiplierTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0525B54CE10AF67DD5AFC4952F16A01C /* ConstraintMultiplierTarget.swift */; }; + 190772BF92832611B1D90040A88C7B20 /* AnonymousObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = F151CB6133D7074B28F0B937BF2D79F7 /* AnonymousObserver.swift */; }; + 1952485AFF7A1BCCA4D4B142E82FE627 /* AnimatedImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88457CE7F9C1492C792B1B2B6EACF059 /* AnimatedImageView.swift */; }; + 1976BB7D7E26A12E29283E71154B63B3 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50357999C33BA3E2E89C9C2A41731B81 /* SessionDelegate.swift */; }; + 19A89C7C2B8BAC76E28E34329A0F7314 /* AtomicInt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0C63F96FE70BA103DB34F0340AE17FF3 /* AtomicInt.swift */; }; + 1A4144924DA9C5B52C9183F8734C1426 /* View.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD55DB7D81D9F399AC629E33E687F565 /* View.swift */; }; + 1A4A4E8A8ACB42F6A81F4016259A253E /* PublishRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 611262C4C2D79421F9C1B2EFCCE5ADB1 /* PublishRelay.swift */; }; + 1AA89F327105C026976BF6E831B193A2 /* ImageBinder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AC03C75907407F406DC19966A8A36CD /* ImageBinder.swift */; }; + 1AD93376D403A851F152D1B804F7BFC0 /* Signal+Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E335D889D28E55E8D929BD42511A03D /* Signal+Subscription.swift */; }; + 1AF3BF0EDE10F429386594F787838C1B /* _RX.h in Headers */ = {isa = PBXBuildFile; fileRef = 50B97292A8C82756424F9C6B2F4DC59D /* _RX.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1B402AACD54B2064A7BC86857F2769DD /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8B948FAA50AEBD08AAC3AD63911F259 /* InfiniteSequence.swift */; }; + 1BC946CC8206EA6BA50FFD4160227AB6 /* Enumerated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 108C446699F1D322590C1F290F678B3C /* Enumerated.swift */; }; + 1C3516A111D0A3B5CA8E27A2F92FCCD9 /* SerialDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E96DC07853329455B1443B5CA85106C /* SerialDisposable.swift */; }; + 1C4E9C18A55F3CCDA79208C0E83E19A6 /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3297E45A1DB160CD768619C82170CC9 /* RecursiveLock.swift */; }; + 1CC920B8076749A74AD2989F7695E04C /* TransformGestureRecognizers.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF0EBF26E7189B58BDACA5ACDEF015C1 /* TransformGestureRecognizers.swift */; }; + 1D4E72C30099C999C0D2E9B96AAFA8A6 /* URL+Moya.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA84C6A812BF3CA2DBF1C72DE1CF51AD /* URL+Moya.swift */; }; + 1E62FF14503C0DC0A53245EFE22907AC /* RequestTypeWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FE994ABC2B8CCEBF9198EF423F7CFED9 /* RequestTypeWrapper.swift */; }; + 1E6B14528A108BDEB1649B42846AA947 /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF449EA8D58112E521A67DE60691A6E8 /* DispatchQueue+Extensions.swift */; }; + 1E9033562EACB851BBAB74F033194B48 /* RxPickerViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91FBE650EAE160EA0D6DF9725771C858 /* RxPickerViewDataSourceType.swift */; }; + 1E9EEA756F2774D73347F1660EEFE3E9 /* ConstraintView+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F4D63F4A5FF5E557345D35D4459A0F7 /* ConstraintView+Extensions.swift */; }; + 1EA05281C1C6451EBA2F59E921C60826 /* Pulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2252602278DDB4033E4BE2F9A4A6C190 /* Pulse.swift */; }; + 1EB7E1D7E280C499941E198EA4A49707 /* SynchronizedDisposeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6EEFA7B098C64A3E54665DA5B7AC04AD /* SynchronizedDisposeType.swift */; }; + 1EE44196E7BCE57AD96A2C751651EF40 /* AlamofireExtended.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BDC476091BAE50413137ECA06DE051C /* AlamofireExtended.swift */; }; + 1EFE2F1A2A2CFDF8153F93A089AC5EDF /* Disposables.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50AD84071DA07339CE213DE4F8E05C9E /* Disposables.swift */; }; + 1F05B157CBBAF8A1CE7490B7FECDB11B /* Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B4A3B5AF08E12A6FD047158300D1373 /* Create.swift */; }; + 1F5E1906349B2C59404ED16EA0B28D4F /* Observable+Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8D99107F111E432502DED0FC55A8E2C /* Observable+Response.swift */; }; + 1F8FF60887DCA1E8DF3E3B626EDA6656 /* RxGesture-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 543BB1069988B702235690D776B23A79 /* RxGesture-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1FD2928BC156D990D68B105F518C60B6 /* MemoryStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2511B6F7755F9A4E77152E118410FA5A /* MemoryStorage.swift */; }; + 1FE693B5ACC6AD7320CEFC20B64546E4 /* KingfisherManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33B2B5311FB10AB78E14E0FB45696C35 /* KingfisherManager.swift */; }; + 1FEE89BF952BE7ACA46E642DA2E48CA2 /* DiskStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A5356F5B410BD23C8CAAD90E67848DA /* DiskStorage.swift */; }; + 210E6BE763C894C38888F5B166A2EA64 /* PublishRelay+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = D620593C1A3E157D3524974BEE253211 /* PublishRelay+Signal.swift */; }; + 22216C300C763044344B9DBF97317E63 /* RetryStrategy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10BBA38786E93A4B9DDC9FCF798E941B /* RetryStrategy.swift */; }; + 22BD1346F66BFCB129AAA44EEF322AC9 /* Resource.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2557918BF9933D64091643D162DB95C /* Resource.swift */; }; + 2300F8E8F32BCCE26337C738B02ED98C /* ConcurrentMainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D2DD9EB9AF5950BC94C0A365C3EBF29 /* ConcurrentMainScheduler.swift */; }; + 238C4A1EC8BA1D3A575ADA67F68CD09C /* ControlTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08E6707FEB2B55EEF99BEED68B7BD084 /* ControlTarget.swift */; }; + 243D7CFE1D56ED80ACB2B3E71B4CB603 /* AuthenticationChallengeResponsable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A5631D8B9153B5B3B1ECBCD93F2E544 /* AuthenticationChallengeResponsable.swift */; }; + 24C44D889CCC3570C277EB1C3CE505F4 /* UIButton+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FE61624AE942D76D3A8E6E374DCD7F2 /* UIButton+Rx.swift */; }; + 25FC036BEA33CAB5D80F5A41644535D3 /* Storage.swift in Sources */ = {isa = PBXBuildFile; fileRef = B760FF7C7B19BB5B6CBEADB979FE22B6 /* Storage.swift */; }; + 2603BA8D552039E5770602DD95995659 /* Zip+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7C52BE8AC815365504F738459DCB223 /* Zip+Collection.swift */; }; + 262AAEA875904A500756DA242AFA7A62 /* SchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDC026FE611683BEE3072436ACF9D373 /* SchedulerType.swift */; }; + 2722C9B25CF57D3AE89825729DEA9BED /* DelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B850E0D8BD5B353D053FF720363039C /* DelegateProxy.swift */; }; + 2732A27AB774CD0F68A525A4BBFF9927 /* InvocableScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = F871A38E83037454EDA2124CE4157868 /* InvocableScheduledItem.swift */; }; + 274DF0E2BF04F6F4F9F1E70CF513A4F2 /* ConstraintLayoutSupportDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = D15FAA4F90F7AD831758A2F69641A4C0 /* ConstraintLayoutSupportDSL.swift */; }; + 27B335F40523F9049965BE842D8D0EBA /* Range.swift in Sources */ = {isa = PBXBuildFile; fileRef = B94ABE564B84480D5BAE681C439BB36A /* Range.swift */; }; + 27BC3DB81F91000DFD12AC396DED9B01 /* MoyaProvider+Internal.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE067B1A38C0DA39392BF8A68FBC144D /* MoyaProvider+Internal.swift */; }; + 28D5D9EEAE845C76C8079BD1C77BFE82 /* RxCollectionViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1190A6A2A2F89878E51F8CC441E76038 /* RxCollectionViewDelegateProxy.swift */; }; + 28DDBE36EE067086F4925C830D668FBA /* KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71669F9D3760D8D05B1A754C11E35042 /* KVORepresentable.swift */; }; + 296200FAE1005C14B67C12FF29C72E0B /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F7998E837CF9AAF85854D4E0946012D /* Observable.swift */; }; + 29B06983FBBC60AB9EDACE5ADCDC2407 /* MoyaProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0B275F3F304C54F6617F701441270BD /* MoyaProvider.swift */; }; + 29FF13E23FD52E46D30530549410AD7C /* ImageTransition.swift in Sources */ = {isa = PBXBuildFile; fileRef = D51333F3D72EB02247887DBAC0FCA5A8 /* ImageTransition.swift */; }; + 2AF6DE6D69708E18BF76D4C27D9BA134 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5F7BD01E7D9E70B18A5AEB5FC79210A /* Event.swift */; }; + 2B1EA5B23F60D4F1FE0C1A7066ABBEDC /* UIPinchGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A6E56F21CF22D8FD74E691494EF68CA /* UIPinchGestureRecognizer+RxGesture.swift */; }; + 2BE89C24BFD3FB663E37C607C289B3B6 /* RedirectHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17070EEA602A1029BC8176E81089E7B9 /* RedirectHandler.swift */; }; + 2C0141C1C2725C242097CE0A4B3400D2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 2C64E385669A619F264F7556914DF205 /* UISlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 424D0EF96A3DD51D9ECD565C6C4156C8 /* UISlider+Rx.swift */; }; + 2CBE3651CA006E19F5D64A2DE9B9A028 /* CachedResponseHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D8E9A4D302DEB814075F0D2BC3F214D /* CachedResponseHandler.swift */; }; + 2CCD13099063CD560E3067BD132914FA /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 44103DC8921F9B0D12A650C484B00DD9 /* Notifications.swift */; }; + 2D9E2E0C1206BAC949860807E0B78FD9 /* TouchDownGestureRecognizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = BD3628ECEBB6023F3FF7E46563003B60 /* TouchDownGestureRecognizer.swift */; }; + 2EE6A94025612FA162A28B5EB7B7DC94 /* ImmediateSchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7236C80DFDC481BE672BF29BCC5A810 /* ImmediateSchedulerType.swift */; }; + 2F91CE9BE364679267AA2270C33500B4 /* CompositeDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B05979775F280DFB75408EC07A02BC0 /* CompositeDisposable.swift */; }; + 300591878E7DA5A6A710C94955D7436F /* Infallible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AF776FE8DC3EB33F2FB61E2CEE651B9 /* Infallible.swift */; }; + 3091F1A82E0FD6ABA766EBC91D4E5DE6 /* Then.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB2B2D6096DB34F76569778B1476724C /* Then.swift */; }; + 31F0D187BC76DAB3C2DEE8B2CABB0535 /* RxTableViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 078D1607A2C46DCF07DD9819807BA4D4 /* RxTableViewDelegateProxy.swift */; }; + 334640CCE2573EDD0217A4E3CB7626AB /* UIHoverGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = C926CB7774778E85AE7C7D6B41962A9A /* UIHoverGestureRecognizer+RxGesture.swift */; }; + 33A7D0F2D03004CE256A75E03DF33C70 /* RetryPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1D14FE2AA8C4036D145678A0C73B1DC /* RetryPolicy.swift */; }; + 33D821411F7A1F7F2A59F7C1B9C6A9A7 /* Task.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E4A42B187167A0767443AF440D5F8B6 /* Task.swift */; }; + 342BF0CCAD16C7EFBC040A6CB81C5388 /* Deferred.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71A163AD9A3C051D525B474642015F12 /* Deferred.swift */; }; + 388E3FFF3E2897178517F3DA89DD4A92 /* BehaviorSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5D6245BE197BE0939BF18614974BD8C /* BehaviorSubject.swift */; }; + 38D0534EDDC37793282AD797DF3CF4B0 /* Observable+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = C492E8F0A255F9A40FCD491F42C58D2C /* Observable+Bind.swift */; }; + 3AD5DBB915C2623991F7DBACD173BBB4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 3AEFB3AC87DAAAEB20A0EDA6C3C27831 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 25606CCA69C76154E053B8092EDC57D8 /* Error.swift */; }; + 3AF7DB9AEFF47F1F7F91AF28440E4AC6 /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CCDD8A108083FF2F0B9858561C25A12 /* Filter.swift */; }; + 3AFEA39C21C700AAB86C4ACD9436D357 /* RxCocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = 62BCAD9032EF5F985C5F78928911BE2B /* RxCocoa.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3B60C02F6E42FD06B128473E00A94224 /* ConstraintLayoutSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = A86A27F8EA7BD456BCEC19A094B8312C /* ConstraintLayoutSupport.swift */; }; + 3B692F7A2EB6F12F65269BDAABD6D193 /* Producer.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC8041F95DD624E38B8E571F8DF5448B /* Producer.swift */; }; + 3B82FB00AD02652E1801233E5684DB1D /* NSControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D77720AC93C54E6C47A02827FEBF0B49 /* NSControl+Rx.swift */; }; + 3C4059621E23842C19D4EB5D35B41989 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9172C07FE08CB7F3DA48AFAF048081C6 /* Validation.swift */; }; + 3C87A90F223EBCAE205DCAF21526BE6C /* Multicast.swift in Sources */ = {isa = PBXBuildFile; fileRef = C7B8335F7A7B84C0DE3E2DD8FA03B3DF /* Multicast.swift */; }; + 3CD5FAFC746A76D73C3F501734199DFF /* Typealiases.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4713DDE01D30B1FE666EEDA31C258F3 /* Typealiases.swift */; }; + 3D313DCC67D3D1CC99C4ACB0723EFCBD /* ObserverType.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA5A2563E7B810ADA234E0F8784489DE /* ObserverType.swift */; }; + 3D42C9D3EEBE1EAD7E365276753FE99E /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4467F965592B5BDECFD17CFB2B9183 /* Queue.swift */; }; + 3D445FD9D8FFBDD79E0D04BDFE96B0BB /* Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62ACF6787A6FF09ADC707B120319724C /* Signal.swift */; }; + 3DD9694A6D1F5035C6C400C6912B9E36 /* RxCollectionViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7383795D6F008DBFFA5074D9124BB972 /* RxCollectionViewReactiveArrayDataSource.swift */; }; + 3DEDFA52B3A196F6D3E1F0937617628A /* ConstraintLayoutGuide+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 035BBA7F0C50B291DA414CA6612C56EF /* ConstraintLayoutGuide+Extensions.swift */; }; + 3F454CD41D4CBC88E5DAAF1DA45F553D /* PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0AF0711C0A4C036D557F3E511BB8BD16 /* PrimitiveSequence.swift */; }; + 420C200A05BB29E1D299D1BADE9139D2 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26F6917775ACF0C52B3F34585C195A23 /* CFNetwork.framework */; }; + 422CFC7C2D21CDDAC4C2A0E25F55D399 /* MoyaProvider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6C7E905CFCA4B4B31DFC57EA1B1006F /* MoyaProvider+Rx.swift */; }; + 4375F9795EFC6B7394B0A2699507AD15 /* IdentityHashable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B954917DA26CF3AE989B1FD572BEC7B9 /* IdentityHashable.swift */; }; + 43863B6D6A0E47B6648BB7B469736EDD /* LayoutConstraint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 503ED005B9AE7D545EB866AADC1557E5 /* LayoutConstraint.swift */; }; + 43A8FD3D7F7EE38920166043263A990A /* SingleAsync.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19273E9DCC416179DC321C9C50A8F708 /* SingleAsync.swift */; }; + 4447AC7B8BBF4BACCD7D30777D059BFF /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20FCA5D664D198000FEBBCA7AAE4FF21 /* Window.swift */; }; + 44AEBB2D29B9FB87530556A0CEC170F7 /* RxNavigationControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E2597B61971EA69438CD54A41B83858 /* RxNavigationControllerDelegateProxy.swift */; }; + 4521F30AAAC2F4B3B5E2AC8E8EA999C3 /* CompactMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4D12DA223970541894D02B014A0B65 /* CompactMap.swift */; }; + 457BE444ED617FA7D6851D6DAA9D7234 /* Delegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9B2492996E165BFC534464E236D156B /* Delegate.swift */; }; + 461BB8DA60E694608C7B4305264682B5 /* NetworkLoggerPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DFE96EC690EB58606025C205D52FAD9 /* NetworkLoggerPlugin.swift */; }; + 46A64A43AFA057B6B63C8F0C12F509B4 /* Combine.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FAD8CE633AFB9FF03E96CD40F26ED33 /* Combine.swift */; }; + 47B48B7531CE161773DEF0B851D08037 /* ControlProperty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71945E4542079157E5F2F124CF5FE18D /* ControlProperty.swift */; }; + 4838B3C8759DACF738F61BF91100379A /* RxTabBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A379D3D30E693B07910C345D5C1B4C /* RxTabBarDelegateProxy.swift */; }; + 4878A6C8BDEF6FCC155719CA93BA9586 /* _RXDelegateProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4AC21468215D4244C158C6508665EAEF /* _RXDelegateProxy.m */; }; + 48C4CA9512FBBD095D70554BF6179723 /* CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = B95DB6F1BCBF3D9ED91957FF8E0EFD0E /* CombineLatest+arity.swift */; }; + 491C26C7B25974FA7F7769AD46449B28 /* Sample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 709C0F50CA56FB1126B4D65F85744F58 /* Sample.swift */; }; + 4923112E4D1DB16DCCC3DBBED01FB257 /* GenericRxGestureRecognizerDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C9AE95BF3A43C0592E1001882D724DF /* GenericRxGestureRecognizerDelegate.swift */; }; + 4994F1CABB9926703D82BA0D9D66321C /* RxCocoaRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = CD5E1FE29B3E23A481F267E970AF9949 /* RxCocoaRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 49AB3FB8C6CC71161F5D4B2A782AC05A /* WeakMapTable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8EEAAE3A79F78BC3A9CA3F26F1A9876 /* WeakMapTable.swift */; }; + 4B745396FD1223BA8532DFE2216E043C /* NSTextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38C184324C8E05E2FB4D372904DD27CD /* NSTextField+Rx.swift */; }; + 4CA13A0527BC57DE2C54A0F3B5ED8652 /* LayoutConstraintItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79637718523EA481A8B8AFE8FFE9DE3D /* LayoutConstraintItem.swift */; }; + 4CC2DB49B90AC7888BD71D414D6AE51F /* RxOptional-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D597F5F713453A46A29917FD7C9105D1 /* RxOptional-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4DBC8939E5F09B3E09B2C866199A2EDD /* Timer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FB1C44863D4FCAA531431F224671E7E /* Timer.swift */; }; + 4DCA9775E5CCF599460BDB46E77F6FA4 /* Kingfisher-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 09F88BAC7A8CD34F98202BD73B034260 /* Kingfisher-dummy.m */; }; + 4E83AD08C7197B65F61DF0D828FA92A7 /* IdentityEquatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2F7C06EC6A3318142553E67EB92D329 /* IdentityEquatable.swift */; }; + 4EB4328C78B36211BF7D50529327FD7C /* UINavigationController+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 262561B38533297CE95B5C3B0D735EA2 /* UINavigationController+Rx.swift */; }; + 4EE0F2D2112CE993AEA24549F5DB19BF /* UIControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D531FA6FE4C29E0979CA038B9B9941C /* UIControl+Rx.swift */; }; + 4EFD31D7DB8D26D9D031A2225A0C6AEC /* UIApplication+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F45B2D5AB9FF6D88F21C47028E52D536 /* UIApplication+Rx.swift */; }; + 4F345BB6F455F5C46B0359B4FC4C6079 /* PublishSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCF4AFD32307195FA9E088A3062AB25D /* PublishSubject.swift */; }; + 4F37E521D341C47CE73DDCF21BA95A52 /* KingfisherError.swift in Sources */ = {isa = PBXBuildFile; fileRef = D822A4ABEBFEA36EAA337BC37258CF09 /* KingfisherError.swift */; }; + 4F3C78A0CA3316BB450257B355B753A3 /* Maybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7819AB2F7969D9DB7C663DFFE247397B /* Maybe.swift */; }; + 4F5A2FA715741C0C9B4B79ADF62711CC /* ReactorKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B0C7EF2B646794CE0926743FA902F0BA /* ReactorKit-dummy.m */; }; + 4F744303AF9B5E7CEF8C3A9327E852B9 /* ControlEvent+Signal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A8817F530C753F4B4A64B2D4B34A94F /* ControlEvent+Signal.swift */; }; + 4FC27FF6DF0328A134393A57E735977B /* RxTextStorageDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43F3A208636AEC1C05F36D6861E4392D /* RxTextStorageDelegateProxy.swift */; }; + 506128E1CC424E40E2691546D9547549 /* Placeholder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7654B30D77E69027FBCF0AAABD7981B4 /* Placeholder.swift */; }; + 50681D70D26BA315A5DDC1365B4CF0BB /* KVORepresentable+CoreGraphics.swift in Sources */ = {isa = PBXBuildFile; fileRef = D19164811CAA48A9F27D4F68A0A5CEF4 /* KVORepresentable+CoreGraphics.swift */; }; + 509490FB1D30FEC59AE4BC21AEEBB7BB /* RequestModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE6B0D13D69707C400846003291B2335 /* RequestModifier.swift */; }; + 50FE4CE6824467676B1B63FA8AD027B7 /* AnyEncodable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9175BFBDC844DF1D035A03205A23506B /* AnyEncodable.swift */; }; + 51A4A1046676D304410544EB56732A49 /* Constraint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C28F52DA4A64A7CD4A2548C62820BFE /* Constraint.swift */; }; + 51C984425C777CF8B613C230DCE2DB65 /* UIGestureRecognizer+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD079C5223B838C223C950CD53095A12 /* UIGestureRecognizer+Rx.swift */; }; + 5244765926F2AFA433770F660FA35366 /* Cancellable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3D2E8C137AA52DC5F0BFD889415E5BE /* Cancellable.swift */; }; + 5291A92FB6C7E3FB265DC22EDD908884 /* Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = FFDFCCEDCA159CF8D62E07EF62C98EA5 /* Driver.swift */; }; + 529BDA5E8CE104C4B384017447D0DC60 /* _RXObjCRuntime.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B288DFA22961A9BA702ECAA453CEEFE /* _RXObjCRuntime.m */; }; + 532009D87AAB7C815FB0A173F8157773 /* CurrentThreadScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8151B7FD34F1C1C621A517E04D7D2FAC /* CurrentThreadScheduler.swift */; }; + 536B0C4E14A1F494386C5EA18CFC906E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 53E0B37CDF91621A0D39A7CD8CCA5EC2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5B15BDA51BDC454532ED2D9A1907C74 /* UIKit.framework */; }; + 548B9145185925F281D9B1951379E6D1 /* RxTabBarControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31F887EB9028E0FCB0701BC2718F58A4 /* RxTabBarControllerDelegateProxy.swift */; }; + 54A2DBB2F62F239D4B7255B7E367E9E9 /* UILongPressGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B86DBE62EC1A7AB2690A43A3C57E759 /* UILongPressGestureRecognizer+RxGesture.swift */; }; + 553E36E03B9B3B2EC2C8131FC9A1E6C3 /* Exports.swift in Sources */ = {isa = PBXBuildFile; fileRef = 755D9E9846EF618B2E66AE08C22A62A1 /* Exports.swift */; }; + 55AABB1FB38F61A3369ACC555FF3046D /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F33FAE2E56710751F5B05532A873307 /* Alamofire-dummy.m */; }; + 5747D1582265A2BC9406614A468AC8CA /* ObservableConvertibleType+Infallible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7315360DB0B7B0DCFE360FFDD881F4CE /* ObservableConvertibleType+Infallible.swift */; }; + 578F143C5BCF1F8A98F976B341B0D4A0 /* ReactorKitRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = 0487B08F474AF08AD173F0BC60D5C4B4 /* ReactorKitRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 57FC31B14C753B5C63CEF00560F8A6EF /* SizeExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA6B4786941D601225E096DEB55204F3 /* SizeExtensions.swift */; }; + 58129CDBA7F20265F0ADFD992563261B /* HistoricalSchedulerTimeConverter.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4F6CA5E6817E11248EE348A2948A32C /* HistoricalSchedulerTimeConverter.swift */; }; + 582D59E0D2EF62E0575933C99B393704 /* GraphicsContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EE2939092B79510CD7B3E5BFC5A1A8E /* GraphicsContext.swift */; }; + 58466295514BD20CA85BD93CC51BD705 /* DelaySubscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = C780A6D2482C87B06501DB5B85C9CD98 /* DelaySubscription.swift */; }; + 591252BC76F21696E81C8F2A18784958 /* TailRecursiveSink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 10805C1556699DE8ED7316AD2DC6945D /* TailRecursiveSink.swift */; }; + 5922975F9AB12F02C7B75CB1C6986E15 /* PrimitiveSequence+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 152862AEECDDC42B8443A9F79685B23C /* PrimitiveSequence+Zip+arity.swift */; }; + 59691189B7A014BB0230561AC0A489A6 /* RxCocoa-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CBB849D087658992E5F15CD70550A915 /* RxCocoa-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 59BC9047F4BEBBC06235608D974E230D /* NSTextAttachment+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55CCEE2687834AE988548F473BDBB728 /* NSTextAttachment+Kingfisher.swift */; }; + 59F11466767102E275209E89F9148297 /* ObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC2115B37BDF88CFCFE5541F7F7DAFC7 /* ObservableType.swift */; }; + 5ADB30DD9A03859018550A999ACB0652 /* KFImageOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C11EA82F87C8F1DB28BCE8D504636F9E /* KFImageOptions.swift */; }; + 5C1993A1C4AA8AAEA8980D711B5807DB /* Reactor+Pulse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F588190C2E7D5B271DF830489459106 /* Reactor+Pulse.swift */; }; + 5D9AC06F45A57E97775BF007D9262B29 /* ShareReplayScope.swift in Sources */ = {isa = PBXBuildFile; fileRef = 019CA5BB2FD887434BEDD9702F75F7F6 /* ShareReplayScope.swift */; }; + 5DBF04C7465493AC774C51973AEF0177 /* Stub.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A1CF70DE0BF6F46E0D34007C9834B58 /* Stub.swift */; }; + 5E27DD292D3A55657712DD7AFA7B8FCA /* KFImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = FFEF85AF403B7B977C4FCECCAFA1254A /* KFImage.swift */; }; + 5E3BF2B719B3A034C173D16B3ABF682E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 5E551F408D37341F119A1CB0108039E4 /* SubscriptionDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D94368B83EF6780A0831DD0EF5BAFC7F /* SubscriptionDisposable.swift */; }; + 5E6A9C63E9DE8920681E86D0142AA700 /* SharedSequence+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCF146EB75E35C581A80660A0EEFD3DB /* SharedSequence+Occupiable.swift */; }; + 5E8BA529DFB4529006967624044FEC1C /* ConstraintViewDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = 534ABEFA9FB4D62CC2180C01BB915306 /* ConstraintViewDSL.swift */; }; + 5F7DCF2F9AFC1DE091799DA40331320D /* SharedTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = B10438718EEDFE0E9F5469DBDE030E84 /* SharedTypes.swift */; }; + 5F852F38CBC282496CCBE37C51324B2F /* ImageProgressive.swift in Sources */ = {isa = PBXBuildFile; fileRef = A067C758E4A03A992987150CE7E10687 /* ImageProgressive.swift */; }; + 613C37D636FCE80E25014F0DE8AA1112 /* VirtualTimeScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E4187131843216545646A7831F25FB8 /* VirtualTimeScheduler.swift */; }; + 62BE791CF8D9D7A6D0A98B71E2F2ADE7 /* ForceTouchGestureRecognizer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 96B9ED41A3BDE8CDEB32C40205C9279E /* ForceTouchGestureRecognizer.swift */; }; + 62F299B4704A7C95FB5866C6CDE2E2FD /* ConstraintOffsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 944F73B71BFF61E31E6A2FE8B4DC9C0A /* ConstraintOffsetTarget.swift */; }; + 6300060B63725D113F578392F2396061 /* RxSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 99B4612F9D30BBA790EB1536438134C7 /* RxSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 634C22D17F9F39F86927D4242389F7CB /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB36473D5DDEBE7E88811700A4C74977 /* Errors.swift */; }; + 64702E011ADECD00DF0BEC45AFDC95B9 /* ReactorKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7781987FAC23D10DE34FF2EBEC2581EF /* ReactorKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 66C437209EDE502CD51D757F742CFF8B /* ActionSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 41A25ABF63DC1DDD40B00378B095B9C5 /* ActionSubject.swift */; }; + 675082B2D964CAF78F434C48DF283826 /* ObserverBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1E992D3E2DEB3D1C1D835F65CD6035E /* ObserverBase.swift */; }; + 68623BC382EACE93D53213D1D5AAAD3C /* NSTextView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D31CD0F25CD659C218DF24EB9D34E254 /* NSTextView+Rx.swift */; }; + 68FB2DCB4C77DBCAF9A6037E470F2BDE /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 164AAD0967986B2A1C04EDE8D0F951D9 /* ParameterEncoding.swift */; }; + 69537EEBAEE542798C9630CB8F96DF8D /* NotificationCenter+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01F4A5561B2991217B59B4309D9A7056 /* NotificationCenter+Rx.swift */; }; + 69AD430BD659D2EEC0409C1EEE2F0431 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 6A1BFBEEEFA402CDC912388329D454D3 /* OptionalType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 398A52D8E7870847178B2C759A580CAE /* OptionalType.swift */; }; + 6A724EAA8C19E10474BC804590873B41 /* DistinctUntilChanged.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08AA7BD9CD95B6A82C50BE5ABF511D3B /* DistinctUntilChanged.swift */; }; + 6B340A62A16B5699EC7E3EE955DCCBF6 /* First.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1909DB8BDB3BB35EC7F7057CFCB666B7 /* First.swift */; }; + 6CF05C1B79FDB92618F71F4D61C2D097 /* Atomic.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A97AC69D321929364C3D5E833DED97D /* Atomic.swift */; }; + 6D8CDC66C950346874056F3F45FAB0FC /* NSView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C33FC01EFA08410BC3C7B7ABC57286E /* NSView+Rx.swift */; }; + 6E126F5AB809E5652ADF817747DF4C50 /* SkipWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 946AF4A789BFD08291E492E2E59ABC14 /* SkipWhile.swift */; }; + 6E34F0262560CD517DA11A965B3E3C01 /* Never.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB47BB53121B268CCD0B8839686E9097 /* Never.swift */; }; + 6E822563C3FB47152AAC0AAD2E77789B /* StateRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F09340553726BD1D3B1AE501648DBE3 /* StateRelay.swift */; }; + 6EF08EB326353E1D4AF227B2B8A68CBF /* Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4EC30E4E057BAE7942DA492B444D188 /* Optional.swift */; }; + 70527867C4C4C965053E4283F3778986 /* RxCocoa-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F81AF160025ED89BC00E65979CAA57A /* RxCocoa-dummy.m */; }; + 70A41125865DDF878FC4CBD646349805 /* UIScrollView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCFA88846D6E26F398D9EF2DC9267058 /* UIScrollView+Rx.swift */; }; + 70FEC06F54286257E1BA1ECA0C99198D /* Image.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD189668F73C4478C262146C7DAC1379 /* Image.swift */; }; + 71D5BDF4D210C1DC54AB197B1D2E9D13 /* ControlEvent.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1442ED345A63D5216F13BF4E15750D04 /* ControlEvent.swift */; }; + 71F8FE6657A31D837311FCE8E9B02200 /* RxKeyboard-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D3624A4E950327F709E047EACB520788 /* RxKeyboard-dummy.m */; }; + 7209750E3A84D592A7FE7D2CBBC60C62 /* MoyaProvider+Defaults.swift in Sources */ = {isa = PBXBuildFile; fileRef = 066E914C8B66464BFAD0B2887ADD1F7A /* MoyaProvider+Defaults.swift */; }; + 7283809296CD8928705E54582370BA5C /* ObserveOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = EF71D1A257411BD265F92CEEB67B5BA0 /* ObserveOn.swift */; }; + 7306D324AB9F0A5702A90F1069801968 /* AsSingle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 062B9C99FDB3338CFBB1A47A5AEF09AA /* AsSingle.swift */; }; + 7483E5327027263F7E4B94A2997191C4 /* AuthenticationInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A1503432FD486EEE0978026FC7A5D24 /* AuthenticationInterceptor.swift */; }; + 74FEC7C4E1892BFDDDDAAC3A6680F1D3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 7580FAAB1BDA52F5A969E5571D1A5973 /* ConstraintAttributes.swift in Sources */ = {isa = PBXBuildFile; fileRef = ADD813AEE8A6C1CCC99F44A5C8CFF720 /* ConstraintAttributes.swift */; }; + 75966A9262648D4647D764E3E76BC6AC /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = E45933F627929FAE9B1703FD90DA0A5A /* Response.swift */; }; + 759C14209969BE8BD4BBB367662C4EB1 /* UIPanGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1905B18C86B83DCD7217F328C639689B /* UIPanGestureRecognizer+RxGesture.swift */; }; + 7690723AD4C8AEDE23A38E32C172FDDC /* Skip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53AEC852F71F8C02939EF72983A9B8A1 /* Skip.swift */; }; + 76E488F32A6E70932D009AA90C139CE5 /* Pods-Instagram-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 42661978F54785D418E22E10D06E1088 /* Pods-Instagram-dummy.m */; }; + 7764AA5F6BBFC6ECE43959923DD007D3 /* ConstraintDirectionalInsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7021850CDD27EA17913A5F2BF6BCEF00 /* ConstraintDirectionalInsetTarget.swift */; }; + 780FAD3D68CFB718DD43D4EB3F4D6608 /* ScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645CFBF86EE3549D5E75C630392B6626 /* ScheduledItem.swift */; }; + 788C277536B0710B2CDE749E1CF3138B /* Merge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97E554E60E64B6520044383AF89D1B25 /* Merge.swift */; }; + 7930C94414B4C661867AC4FBE82E996C /* URLEncodedFormEncoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = C320DB64CB8D608FFB4640272802BC0A /* URLEncodedFormEncoder.swift */; }; + 7965646D92CB36464695AC6D5F3E6524 /* ScheduledDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 186BB8974E1F03F45F096256B855AA30 /* ScheduledDisposable.swift */; }; + 7984DC08DE542AFE6AD5472569B18D85 /* ReactorKitRuntime.m in Sources */ = {isa = PBXBuildFile; fileRef = 4E7C606832931FC459E99A657F948097 /* ReactorKitRuntime.m */; }; + 7B068137A8925891446203B5D3D6A4ED /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26F6917775ACF0C52B3F34585C195A23 /* CFNetwork.framework */; }; + 7B9601EB6FDFB15AD75160B9A2C9C6E3 /* Date+Dispatch.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2D782664FD21E470A7CDC63737D937C /* Date+Dispatch.swift */; }; + 7BEF420E8F9099C5079845A9BE4DCA63 /* RxWKNavigationDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = A25F0605398FBE5DB283E859525B7D6A /* RxWKNavigationDelegateProxy.swift */; }; + 7BFC4501EF1DA084B0C9F1B72EA5BDF9 /* DisposeBag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2CD524495A0BD40C84FE09E7B63C3D7C /* DisposeBag.swift */; }; + 7C0DC741562A17F09F60EB9329DDA7CD /* ControlEvent+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C9BC6725DABD37DFEFEF62A4A9336BE /* ControlEvent+Driver.swift */; }; + 7C64479986A394F5F41852E8BA236C9B /* Lock.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7AB3139E84272AF514B893318F96FBC /* Lock.swift */; }; + 7C7418FF01DD7BB909719682B634A8A5 /* SessionDataTask.swift in Sources */ = {isa = PBXBuildFile; fileRef = F75FE74FFEA7A12D8086AE0B51C46438 /* SessionDataTask.swift */; }; + 7D162CC73ADBE4C4DE864E4418759939 /* Endpoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = FB7C0A4C6CFA8B75BD43073740823051 /* Endpoint.swift */; }; + 7D84AD055575B3BD3208636AA14C4E08 /* Infallible+CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01460C645C1BCA11742D4D08D7A4AE87 /* Infallible+CombineLatest+arity.swift */; }; + 7DC0A166A4DA3BBC0FCB3206500E78E7 /* Materialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FD90A281C7139EDB6D732FE2A8291EE /* Materialize.swift */; }; + 7E02F5B62BE00E97847DF549FFED2490 /* HTTPHeaders.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6299B86B15A578088239716671D46286 /* HTTPHeaders.swift */; }; + 7E3402342205B2DC03468A7FD95F61A9 /* NSTextStorage+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2963C968454064C663ADC2DC9659CC75 /* NSTextStorage+Rx.swift */; }; + 7EEED39CE5F3611AB4D7205FD038021E /* NSObject+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E46F87C22EAB653B3844AF6D19434DC /* NSObject+Rx.swift */; }; + 7F1BB526AAE3ECDCE90127D9D0E10261 /* StringEncoding+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 811762FE40D51B3CCE3F77CFC2481AC4 /* StringEncoding+Alamofire.swift */; }; + 7F223F7DBDA21A5A05B21EC055E9F0A9 /* Empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5438E37FBD2B0B13FBE46037B56E4F8F /* Empty.swift */; }; + 7F60B371FE78073E7DFDD621FFC482CE /* URLSession+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C078BC0EC521E2F0449FAFA47A4EC6E /* URLSession+Rx.swift */; }; + 7FCD9D54DCE63D77FFE94968188DE8A0 /* Sequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = A95E9B19D12B87DE8B820D6D18991700 /* Sequence.swift */; }; + 7FE695DA8EE7FF1286556E06B692009B /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B0257139B6E64A02708B98678F8FD5A /* MultipartFormData.swift */; }; + 7FFE4021A4F14124342AD41CE1117B3E /* KFAnimatedImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F073E5A83D58C040522BD24669783C7 /* KFAnimatedImage.swift */; }; + 80738D8956C9987CCCEDF551961E5069 /* ImageDataProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07BD503C9EBEA2C72E43D2BC3B4FCBB8 /* ImageDataProcessor.swift */; }; + 808C960C82D708FC1A42C581D6CB4940 /* URLSessionConfiguration+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37E9A3B4705C6F8315A850E2AD971F58 /* URLSessionConfiguration+Alamofire.swift */; }; + 81A394201D240F032A6108ED479B427A /* UITextField+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A8F16B86EFBCF671E2DE4E8851CB1F1 /* UITextField+Rx.swift */; }; + 81B8D2B7CEB25C2448B0BC9B33591A65 /* Session.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62F59685D7FBE3C7ABC147FBF4128823 /* Session.swift */; }; + 824D816B1EE404F2DD400EE678695CBE /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9586510E37B5681FB6AADF92BA9D7F9 /* ResponseSerialization.swift */; }; + 825062025906CE93C5D124E1FD9A811E /* ConstraintMakerExtendable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 799F132C574F9599C1F8B8DD19FC83C6 /* ConstraintMakerExtendable.swift */; }; + 83C1F93C68B743C9575E2E3282AD4019 /* ConcurrentDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDB8368E589367DB669D3A56A1F8BA9F /* ConcurrentDispatchQueueScheduler.swift */; }; + 841FBD1EB10F9112D309BB28BD10CF1D /* SharedSequence+Operators+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = D27192295DC207A5613F79F66DD6FDC0 /* SharedSequence+Operators+arity.swift */; }; + 8449EB1DFD43E222D687D5A8D2088D2D /* ConstraintLayoutGuideDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = CCE60291356B1317A9E8935414533531 /* ConstraintLayoutGuideDSL.swift */; }; + 847304ACB4F1D931B9705746F5876CFA /* GroupBy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AAF72A8E08C59275F48610B889BD2DC /* GroupBy.swift */; }; + 866BD04597383AB5BDCED54EF92213DC /* ReplaySubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A9B9625E3E6572C2C00386B411E5AC9 /* ReplaySubject.swift */; }; + 881A35B28D93C56E46E305F6138B1A76 /* ImageDownloaderDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00C009399C87EEE19427D6F9357A7D70 /* ImageDownloaderDelegate.swift */; }; + 88B1214335FED8C16535368924EF1D4F /* DispatchQueueConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D84D50BCB4E7BBF59481C307AE4173C /* DispatchQueueConfiguration.swift */; }; + 894BF76C4272C38C9E17385110BF4A41 /* _RXKVOObserver.m in Sources */ = {isa = PBXBuildFile; fileRef = CD55DB924DA0F0F9BB41695D80E0587C /* _RXKVOObserver.m */; }; + 8986096B5E02129208A4475D37F8CC91 /* Throttle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 524ADAB99BE1524FE954224A67BD9078 /* Throttle.swift */; }; + 8A6A986AC031B0A7B323BD3F69AADCD2 /* ScheduledItemType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0720C11E81B5E1ECBC305F51DE42C8EB /* ScheduledItemType.swift */; }; + 8AEF0775CDF920AC2DBE0C725B59EC96 /* UIStepper+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1F8A8EBE1469F81E5DAAE48C7781ED3 /* UIStepper+Rx.swift */; }; + 8B38876E8C9C9BC75EA281D37E2BAE42 /* Do.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE21B5ED730084531226545C08113246 /* Do.swift */; }; + 8B59EA998B0305E525A9E1103863B4C6 /* LockOwnerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48D24EA8F5AA10AA94ECDA82C81E767C /* LockOwnerType.swift */; }; + 8B7686A732E13434E997809196B15955 /* UIRefreshControl+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BE1B5C99C3A0EC0E75F89A7DD98BFB0 /* UIRefreshControl+Rx.swift */; }; + 8BD3744E000D91D0F86F672B8D2E78A5 /* URLRequest+Encoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1B3A94D6528A8F0222712D65C7DE134 /* URLRequest+Encoding.swift */; }; + 8C2010530AD85CA470E28D7AEE11CB72 /* ElementAt.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE161522C23575B91DDC594B441B7BD4 /* ElementAt.swift */; }; + 8C6546C1EF4F153DF3795CC6FE189E5B /* ConstraintInsets.swift in Sources */ = {isa = PBXBuildFile; fileRef = A06B01F1FBCB1A7BA23BEF7ED068E6DF /* ConstraintInsets.swift */; }; + 8CA97A230D877B2B8E1AA646A0078592 /* RxKeyboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0695D1C29C6138C11D724CF53ACC9AA /* RxKeyboard.swift */; }; + 8CC43B5C2DC7F9A888D6BCAF85BFC1F7 /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = B981D8AE0793C177B202F365042B4635 /* InfiniteSequence.swift */; }; + 8CF30E45F68813C74C39193C63E3E626 /* TargetType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A083734FEF1C10485D44E4610AE6E8E /* TargetType.swift */; }; + 8D75FC8D7476C9674234F39F1A820D8C /* URLConvertible+URLRequestConvertible.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69DAE2B7780909ED70B47E71065EA37C /* URLConvertible+URLRequestConvertible.swift */; }; + 8EA5CC7EF28B004A8A813925E4F17F93 /* WKWebView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B35B61E1E801B2B08597A5C2B578194 /* WKWebView+Rx.swift */; }; + 8FD9CD608C4EAAFDE6AC7B8B9EF0FF5E /* ConstraintDescription.swift in Sources */ = {isa = PBXBuildFile; fileRef = D657BD1BDA248292B42421FFE2FB30B3 /* ConstraintDescription.swift */; }; + 8FE0BD68EA39B931E49D9C038BE80B65 /* UIDatePicker+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = F829D4BEF0BD6BB6BE9DE2154F5033AC /* UIDatePicker+Rx.swift */; }; + 909343241B239B72221A0CAE606956F9 /* SynchronizedUnsubscribeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22D71F3985853E94EBBC2A122B8EEA1C /* SynchronizedUnsubscribeType.swift */; }; + 90FD5AE525E138A473723FD79AF73273 /* ConstraintDSL.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0A75933EDED7A4F4045EA25F43705C1 /* ConstraintDSL.swift */; }; + 938B46EF411204D0BEE0A56A7D584D51 /* RxCollectionViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 978AB9CF138873A1F9580865AB13CE52 /* RxCollectionViewDataSourcePrefetchingProxy.swift */; }; + 945DBBCB62542CD24B29F83FAFEF13B1 /* NSObject+Rx+KVORepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 575C80D06860D4AACF80A271AC52C1D1 /* NSObject+Rx+KVORepresentable.swift */; }; + 94918BE2F87C41D7DC850BE05B06B7A8 /* RxKeyboard-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A538468EC500669191DEDB8C488820A /* RxKeyboard-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 95181366D610146E29AD34636DB9EFB7 /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCF5D9A8EBFC3DA2024D6BAE3CC4E5A8 /* Platform.Darwin.swift */; }; + 95A8B1A86AC7AA5FCC0E6BA6B4CA7948 /* Reduce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2422214CA4087AD5BC976ECDE1D247A1 /* Reduce.swift */; }; + 9603A3C04ED7D6D13E90B5779E2822FC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 9616BED59141C69DF724AF751AE9B579 /* GestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1CDFC9D7A9444618D362EE72CC0409C /* GestureRecognizer+RxGesture.swift */; }; + 963B2D97589EDCEB9F312E2C04685CCC /* GroupedObservable.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF670FA5A4A33CCE57668799B81CA103 /* GroupedObservable.swift */; }; + 968B4874A9F12D67C8B901136C9C8157 /* SnapKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8310AE15F075C3E7489072290E10DDF /* SnapKit-dummy.m */; }; + 97D0CF847854D3BF7B55473E94B24338 /* InvocableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91C457A77256FB47AB4317BC6FD7E15D /* InvocableType.swift */; }; + 9850A80051F5259DF4BD9060DEFE783F /* BehaviorRelay+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = A4B39DA908C3312A8016B7824CC11AB1 /* BehaviorRelay+Driver.swift */; }; + 99D058E53EFEE3AC4857CDE3DBA5C004 /* ParameterEncoder.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED53DE91F4C272E6FB0370FFA9E796B8 /* ParameterEncoder.swift */; }; + 9A40ABC03C7699BC7C9749DA2EF57862 /* Observable+Bind.swift in Sources */ = {isa = PBXBuildFile; fileRef = 600EE0BFF98611F12B6B6978C39FEAB6 /* Observable+Bind.swift */; }; + 9AFC8AB7A45A8BF4139F6C026F60B895 /* Amb.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E713DD71F597D2C3F0FFCBA03758EC3 /* Amb.swift */; }; + 9B0A78AC22E7EDA755F51D86527E2D9C /* Source.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7DEE8EE2F6E59BDF2F6E0817056CF92 /* Source.swift */; }; + 9B3FD723742B11C8C826ED04531B5266 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + 9B6D684A7CCF9470B92E10267E3987CA /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 898F21A3E3ADAB60B82D309A867C3E8E /* DispatchQueue+Extensions.swift */; }; + 9C9030DEDB0DF955B16FE08C50892D57 /* Concurrency.swift in Sources */ = {isa = PBXBuildFile; fileRef = D903B428E096757A532006748B58A733 /* Concurrency.swift */; }; + 9D34B78F03AD84AC58DB4F2C519200AA /* Zip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0845E6A83B2845A92B470F5721C4EC0F /* Zip.swift */; }; + 9DB4A288E7875E7346EAB537875222D8 /* SharedSequence+Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 396ED5B9591BB403E6416F27A30573AB /* SharedSequence+Operators.swift */; }; + 9ED4CFD2473CE8CBA0E720BB077A133E /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = C5530E9168BC92AE68A39D1C899ABDC8 /* MultipartFormData.swift */; }; + 9F5FE22DA95B66B8DC21CB13BE25EC9B /* WKInterfaceImage+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66F81450D04B365AC02E1389ED1A3F02 /* WKInterfaceImage+Kingfisher.swift */; }; + 9FCBC718B6764D88CBA6AD43A24CF60C /* Binder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04BC6A9293D8618859C3F258CD341E5B /* Binder.swift */; }; + A0D5E7C251734AFCDB8EF693ADA3450D /* WeakMapTable-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CE652E871C7195FEBFE580C690CE676 /* WeakMapTable-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A0F754C88A64972A40A9008B0AD52109 /* ConstraintDirectionalInsets.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1EA49A72E64A1BDFE1F43C44C832D3F /* ConstraintDirectionalInsets.swift */; }; + A1194BE78FCE2929CDA65C95CA310EAF /* RxPickerViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 65DB5287928A68D874A7EA824CD69B32 /* RxPickerViewDataSourceProxy.swift */; }; + A1985C2CC5030AB984FFA33B94E1E39D /* ControlProperty+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 867561C483C174516C45401655F41092 /* ControlProperty+Driver.swift */; }; + A29100AA1876DDEFF6F54694A51FDB0E /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 360B9167848655444F85D5A0F34718AD /* NetworkReachabilityManager.swift */; }; + A2F7FF2AEFF21D78671543FA8CB6A8B3 /* NSObject+Rx+RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 769A0E2C7188C728B1D999DD0BE0B2FC /* NSObject+Rx+RawRepresentable.swift */; }; + A316388A35648CB2987E761771456087 /* KFOptionsSetter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71CFCD1FCA18BAFAF9ED1AA5D28AC351 /* KFOptionsSetter.swift */; }; + A3423ADEDFB20D72E2C608221A26D3C6 /* UICollectionView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0586A843F34E357B328D2435C1A013F /* UICollectionView+Rx.swift */; }; + A37D3661369446F3AA978C8FD342A83A /* UIActivityIndicatorView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A25CAF801071554A6D72F31BE2F1224 /* UIActivityIndicatorView+Rx.swift */; }; + A39D3555EC8B45B7D6B9505DDAF0F117 /* Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21E9550ECD5D71F0C792172C470FEEF5 /* Kingfisher.swift */; }; + A3A94DBE2A3BD5D03217FC44FADADDD6 /* VirtualTimeConverterType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1402B751BDDF320D303F8497C99D4E2 /* VirtualTimeConverterType.swift */; }; + A3C68CAEEE2D596DFCB8119A7FB03408 /* SerialDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FE60A4C443C1F83909E26CCC702C03B /* SerialDispatchQueueScheduler.swift */; }; + A435E4B3FF0B326E880502C6FD3FC987 /* KVORepresentable+Swift.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95B69903BFC36F1E4D71B1DFABACF25E /* KVORepresentable+Swift.swift */; }; + A4467357581E8345DD348683CC4111AF /* SnapKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 417AE7B7778466DB76BB64F16AFC0E4E /* SnapKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A53BDE589BDD6483F3EEDCE5EA1DCCD3 /* Protected.swift in Sources */ = {isa = PBXBuildFile; fileRef = 426F234E89E871EB5492BDE445950884 /* Protected.swift */; }; + A53D3AF15CE8D348306EF11619C5D166 /* ConstraintMakerEditable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59C5F009C51417723067B7C08F197687 /* ConstraintMakerEditable.swift */; }; + A5EC63ABC1733DD97EB81F74941FDE91 /* Moya-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C83CD12EF1D11A40BC7D1CBC379A96E /* Moya-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5F70FDB2A71B1650723371A098E3CB8 /* Debug.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4602D0498BCF7A3E03E652F8B782F9C7 /* Debug.swift */; }; + A62DEC8C9AF4D11282A2AC3CE3C0B877 /* SingleAssignmentDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 743CCDB05750853CFD7C71B5C9713D2D /* SingleAssignmentDisposable.swift */; }; + A88A844D5356E1690E445024CB796E09 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D37EC27D99BCCF8EB5BE161CAB0FD6A /* Result.swift */; }; + A892A3F92A4B151AD508CFCD080082A4 /* Then-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 81F6F4FC5877400F57221E5571E26914 /* Then-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A998FC39FFD7B539711E128F85B081FE /* MoyaError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649C47587BFC9BE8A7D846A3027EA5EC /* MoyaError.swift */; }; + AA7BBD3390AF2ECAFA1AD576BB69CE15 /* RxScrollViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61B9E41F30AFDF922932765BAF33E4CB /* RxScrollViewDelegateProxy.swift */; }; + AB4875CA5028C3C32274EC2CCDFE9066 /* NSSlider+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = E8587E662D9BB586058FD7B01BE2D6CE /* NSSlider+Rx.swift */; }; + ABBF7674A0A45E268B4CAA46DA73CCA6 /* StartWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 169A9CA539B0F49EA4E2239BD62CF156 /* StartWith.swift */; }; + AC984311D31DE8E9FDB1630A16A35D07 /* SchedulerServices+Emulation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08F8967558B3EEDE4A74B824D1404BDE /* SchedulerServices+Emulation.swift */; }; + AD239A5A0431DB7156DC3623F9C03365 /* SubjectType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61A944A0DDA272F38D2D831B29AB1E7C /* SubjectType.swift */; }; + AD2A033B0B8BFA8C27E0A624B8048630 /* WithLatestFrom.swift in Sources */ = {isa = PBXBuildFile; fileRef = 213E500D638C91A93184A530ADD45E16 /* WithLatestFrom.swift */; }; + AF5D8096AA12A7C99A9273DCCB366DA4 /* Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E7728788680A90D85AD3FC28A20085A /* Occupiable.swift */; }; + B20CE8A04328293FE27C2DF47923EF46 /* DefaultIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07F70BFA05B5DD21D31B4ACDC36D2867 /* DefaultIfEmpty.swift */; }; + B25E07EA645911443A38DA1E68166156 /* Box.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29094B5546D47F167C46D26D59A1DF5F /* Box.swift */; }; + B283E0B7BB5A5910188B1B4C7B15FF53 /* ObservableConvertibleType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = D39D4EBDD7EE373E1B27288097AEE642 /* ObservableConvertibleType+SharedSequence.swift */; }; + B3658C29BBDE1033F6269A92E612CB30 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 696589C09F19D2E5A55BE4231D440221 /* Request.swift */; }; + B40DAB402D9F6AB1B1552AC907746EDF /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C688DCAAEB684B86FF2F1A29892D1B5 /* Utils.swift */; }; + B48ED01EFBC1AECCF10A7C41D6EEC628 /* Timeout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72071B97E13F663057C172BAFB151951 /* Timeout.swift */; }; + B51D5FAD4FCCFC116A85830B82166B87 /* OperationQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80889D70DD1A934B130DA76B777C3A17 /* OperationQueueScheduler.swift */; }; + B543FD108C1C6AF6129CB4991553218B /* ConstraintConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE9BAB1320614B692B20CF0BA7D7F076 /* ConstraintConfig.swift */; }; + B5A0D8ADA555C7E902B69F17BC2209F1 /* RecursiveScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 77CA4CDFE9AF8496260BB29CA166F6C3 /* RecursiveScheduler.swift */; }; + B704B198B9B520D449260877E300D821 /* ServerTrustEvaluation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FDA92254767A662C021F79C7EBBF9C2 /* ServerTrustEvaluation.swift */; }; + B8E27E8D24CBE6DB22F38E06FFBDB710 /* _RX.m in Sources */ = {isa = PBXBuildFile; fileRef = AAD5C9138AAC8CDF223AF617A9071219 /* _RX.m */; }; + BB75BCF76F22254E3302085A5A6A4B48 /* SchedulerType+SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7E514832148389E324E11FA75B5E01E /* SchedulerType+SharedSequence.swift */; }; + BC01158DBACA1E7B2F649F3156BAE8EA /* Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E792445D835EA2565340C71A423B2C /* Rx.swift */; }; + BC0321C370C921D0A6CC1EE1AE296D02 /* Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 731BA767D4014C8428A1620E3808762A /* Zip+arity.swift */; }; + BC0ECA8F22DEDE8886E189CD0EAA1197 /* URLRequest+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 61B182ABB7B73D4D1A87BA4C8456BF52 /* URLRequest+Alamofire.swift */; }; + BD333CDBCF5D2FD55920336FC271DF33 /* ConstraintItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = CAACE2BEA00686E5FFEB4C8D07AC78B4 /* ConstraintItem.swift */; }; + BD382E78580D295D10100678D4F66A76 /* String+MD5.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF0FC63FA73C8E4FDB3DB11EA6DA1C5A /* String+MD5.swift */; }; + BEBF920FEB959B46A76BAADF22E5CD15 /* ConstraintInsetTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC3565F7226AE8E36660F3E74A8C0FE1 /* ConstraintInsetTarget.swift */; }; + BEC58440099797D91F67EDFFB7DBDB42 /* SwiftSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6ED974BA16EB9285C91F54B416F60030 /* SwiftSupport.swift */; }; + BECAE5E69D8316DF1B7627D789FEDDE1 /* CombineLatest+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8B137794E9128EA9DDD1C118B80C251 /* CombineLatest+Collection.swift */; }; + BEFE617EABAE8B434A580CCD4179C04E /* TextInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1D0FE00E0A36DFB2EB07566DABA13FF7 /* TextInput.swift */; }; + C180345A092060E8E1348B73B7258776 /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6528D460B75569F0CFE9BE4D3FFA8142 /* Map.swift */; }; + C3733DE49714AFFBDC17317570D42ED3 /* AnyObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF1A720E4B22FD9E8DC61C7E804D8501 /* AnyObserver.swift */; }; + C4D350D569A2B6567E087ED515A93EE2 /* RxTableViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 88394A06D161E2889342C39761299ADE /* RxTableViewDataSourceType.swift */; }; + C51C6D9D83B111D3C3F1615898F038C8 /* Plugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CA999E166ABBC67E1B0CC5B63FABA7B /* Plugin.swift */; }; + C52197E4E2FDBEB335C814829208908B /* ObservableConvertibleType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDDDAE2AB3150E7160F64CD9E04C8108 /* ObservableConvertibleType.swift */; }; + C56A14C84CF05A1A96D8B92E16E0CBFB /* SectionedViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7393910085A13A640E3DEF86BC7305E /* SectionedViewDataSourceType.swift */; }; + C605A06D501EE732BC2B1912480D2B5E /* Cancelable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8793DCB9447424B8DD078DCB3ADA852 /* Cancelable.swift */; }; + C61D3BC32A28A405C934C00039AD2583 /* ConstraintConstantTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE2BB49DB71EFBDD2EBB14D92144BF8F /* ConstraintConstantTarget.swift */; }; + C66C4E3E67C26B960FABBC8F1B0C056A /* RxTextViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = D744159E37264908783DE0F1DDF27773 /* RxTextViewDelegateProxy.swift */; }; + C80E3F77D7E742ACED0BE820F1241B11 /* HistoricalScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = B84D003E4CAD07F8A2F2BDA9D897FD09 /* HistoricalScheduler.swift */; }; + C8EA1308DC7629DD1A426605D5609A71 /* Infallible+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 711220E69BA6788F924715DDFC9AA233 /* Infallible+Zip+arity.swift */; }; + CAEF0A82855FA23ADA53ECBD00CE0E84 /* AddRef.swift in Sources */ = {isa = PBXBuildFile; fileRef = 766FB3CFACDD61AFEACD948FAA45EE8B /* AddRef.swift */; }; + CB194156C900B767B0160AF72EDF354D /* ConstraintMaker.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3F021C5C3C2580ACD8E5BA358CF573E /* ConstraintMaker.swift */; }; + CB4543817637AABD1E9B2FDAE287023B /* UIRotationGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = B32563BB64EB7C7E015B985AB2269B68 /* UIRotationGestureRecognizer+RxGesture.swift */; }; + CB8E4BF0D710970BE2CB4C87ED1043E4 /* ConstraintMakerRelatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BE54076C6F6D3CBAA6DF6CD1A673031 /* ConstraintMakerRelatable.swift */; }; + CBCD6A61DCDEF2EBE16FA5AB5EF9F687 /* Catch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E07FD7CD1AC3694EC4DBF178E172BF7 /* Catch.swift */; }; + CC6BC8DE4B4BDDD9F0960FDCD332340A /* AccessTokenPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 000430863471C9B443DEAFF505628B87 /* AccessTokenPlugin.swift */; }; + CCA22C9F421C9E8C13009947816D8C82 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + CD1F563EDFE013A1CD13D04753F4917C /* Infallible+Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2C676318093FBCFB2246067631A58EF /* Infallible+Create.swift */; }; + CD7AC3E1C98EA54F7C05C36C52805220 /* CacheSerializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8AFF3E45CCB7E3B9CB0563744F7404AD /* CacheSerializer.swift */; }; + CE46B9454211FC227543E4BDF0AD293B /* Debounce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 098AAB08ECAE12B0F2775A729D244C76 /* Debounce.swift */; }; + CEBFFEED65D877702B2F36102528CF6D /* EventMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 311A17018022B0DB9FEDAD6D746F6E24 /* EventMonitor.swift */; }; + CF9DAAEC618DE435A7DF19579DE30AA2 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB4BFD376E4184DCE6B00DCB82A33C4F /* PriorityQueue.swift */; }; + CFA926C34CFC97A9406A139DFFF697EA /* SynchronizedOnType.swift in Sources */ = {isa = PBXBuildFile; fileRef = B58E7E85088483755816AC1E162DDEF2 /* SynchronizedOnType.swift */; }; + D05116642C20C568B926B4025B6EF995 /* UISwitch+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13DB966C46198F45BBA553F7D62EBC83 /* UISwitch+Rx.swift */; }; + D0EA90FBF83350C49E6EF6C8A98D6F00 /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = C73C7FED0DF030FBF0B00573C4B0E42C /* AFError.swift */; }; + D13D417B236E736EEAE7217B5CE3EC5C /* ConstraintMakerFinalizable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D91D45C2B98662F4477F1EF8406D49C /* ConstraintMakerFinalizable.swift */; }; + D1DE14077A54174F00E887101A48AE8A /* RxTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2217A4E4CA165D860BCAE722CCB0798E /* RxTarget.swift */; }; + D2882D04B52870A20CE9902A2BE29BFE /* Buffer.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3D32973BA034A931C64724E9CC829DB /* Buffer.swift */; }; + D2B3BB1510E2277E9371785035A6F935 /* ObservableType+PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6009B2A6EC93BF66A3D46C61737BF30 /* ObservableType+PrimitiveSequence.swift */; }; + D2C118847B84B441149687539FA9C2EF /* Observable+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 341B949E5823A75F7194B636CC6CB65C /* Observable+Optional.swift */; }; + D354E7FE851291C02813B18DCFEBE549 /* SwitchIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9629DA3FCA854F210E2AFA0AA06DF8E /* SwitchIfEmpty.swift */; }; + D42DCD41E2BC58936194363DC3E827F2 /* Using.swift in Sources */ = {isa = PBXBuildFile; fileRef = D02BE6BFB52A616E1C25C1DD988CB501 /* Using.swift */; }; + D4BC07F35E116F20A7491DBE42F0B03A /* RxRelay-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 55518D35AC2EEF791F9CBF1698733D35 /* RxRelay-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D5029F6B66070901FBC1FADB8AB1C0FB /* NopDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A6CB1B9312CD06503A2B64FD2F1693A /* NopDisposable.swift */; }; + D583F8FC3BFE7CE7368F5FE75679F388 /* RxTableViewDataSourceProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57835B52463EFD5E88EDDEE8192BCC25 /* RxTableViewDataSourceProxy.swift */; }; + D59C2826AD288ECFF576B2AFA312716C /* ConstraintRelation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63C5760D4FE2F162E49026EC655FEE68 /* ConstraintRelation.swift */; }; + D5B878B093F5D459195F2986B1D2FB6E /* RxMutableBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30553E2BD5A19159B76F7ACCA9D21457 /* RxMutableBox.swift */; }; + D603AA58EF97D461A57B2B1BCB883868 /* AVAssetImageDataProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 633AE66DC06472DBBA8C586AFFB65FAC /* AVAssetImageDataProvider.swift */; }; + D6B4751CED01D53E4A1B6A571AAA2F83 /* HTTPMethod.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0778183A242806F91ACC29A39CBAF8E6 /* HTTPMethod.swift */; }; + D709A58FF6A694878122F7D24B4A9913 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC84512D0DDD4881AFCBFA883B4A2576 /* Bag.swift */; }; + D755B217DD90E4AF0C300FEF6E64810E /* StoryboardView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34B94ADE356F10E6FFB87EB7AD85F8F1 /* StoryboardView.swift */; }; + D78346A7DAEB90F71457BE4B260E86D8 /* Repeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2620E19540F1574EB94858071B5B38B6 /* Repeat.swift */; }; + D8A4FE44301CF797B3E9655FA9F80FA6 /* _RXObjCRuntime.h in Headers */ = {isa = PBXBuildFile; fileRef = 21AC075E5B15FDE72E14809D750F9BC5 /* _RXObjCRuntime.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D936EF159A167C7E4C5E5764C22F458F /* Then-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8833F416785EB37346707B2A9284B773 /* Then-dummy.m */; }; + DA34899BEF0668D76CBCE8C4CE47B97B /* RequestTaskMap.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFA56849F5DE994B5018FC1D2AF92A79 /* RequestTaskMap.swift */; }; + DAFC6CE6321395CF4523DD66DADBB9BA /* ImageDrawing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 845C813599F1FD6C64FE76C160011587 /* ImageDrawing.swift */; }; + DB1DD69843D2778FEA52DAF486D1E82E /* SharedSequence+Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2CB38B4E8B463DCD48991F0B1A2E1B19 /* SharedSequence+Optional.swift */; }; + DBAB64D890891FFB6B6A51D0D0ED9FA8 /* RxRelay-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DE3EF7F5045501A42098CAC3AE58FE99 /* RxRelay-dummy.m */; }; + DBB8088E14A2ADEDB1CD840BAC835267 /* CPListItem+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E4EA5D2AF939426E7DE570A84559469 /* CPListItem+Kingfisher.swift */; }; + DC4B090E7AEC6FF642B306215E99E494 /* RxOptional-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B93FE95B2EE279B172F4CA1EEBA67BDB /* RxOptional-dummy.m */; }; + DD724165EF3D8F209BD6EA6EEAA7EA0A /* RxSearchBarDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21470ADDB21E91DC70C62D3BE5B47E5F /* RxSearchBarDelegateProxy.swift */; }; + DD72DC30CF19FFC81AB19CD0B074000D /* ImageDownloader.swift in Sources */ = {isa = PBXBuildFile; fileRef = A4722260193AE8267A529057B10DCD2A /* ImageDownloader.swift */; }; + DD860D17967CACCF6DFD4BEBF44CE794 /* RxGesture-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E9AA7247DCF2B96CF9E63CBF836647B6 /* RxGesture-dummy.m */; }; + DD902FE8D6824681C929D028655AE121 /* RequestInterceptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA59903AD3A3526D13DE998E598C38D0 /* RequestInterceptor.swift */; }; + DDEF2B45CC47E733C9FCCD38F0BF6857 /* UIPickerView+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35540BE66B6B442084C87D9C407FFAE6 /* UIPickerView+Rx.swift */; }; + DDF8AAC17E42031FE95E620D003D01F2 /* SubscribeOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE311C39ABEE1C0FB78F2E24C491F725 /* SubscribeOn.swift */; }; + DE532EF7D50A9CF68587DAD4C1A02BD7 /* FormatIndicatedCacheSerializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EB9D3E901CD6958621DC0F4F08B808C /* FormatIndicatedCacheSerializer.swift */; }; + DF4563832C19B8582C810BF502A5CA29 /* KF.swift in Sources */ = {isa = PBXBuildFile; fileRef = 139D77421F9173B0B0768909901F240E /* KF.swift */; }; + DF54E3E569087E6DEB241BA2DF7B7CE0 /* Sink.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2F587E8A774BA992DD6D6E709B19F6D /* Sink.swift */; }; + DF6875859187E9520F743F28E2D1001A /* RefCountDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F2769015C650C76E25E739B660B3841 /* RefCountDisposable.swift */; }; + DFCDE4638265B4CCD494ECA5D560DBEE /* Indicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4560FB2D62A52B48ABA668C2D52B0FA /* Indicator.swift */; }; + DFD30F96D602E6476B57BB16FF1785D2 /* SharedSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC0BB34EF34FBCBB1C078AD77235F23E /* SharedSequence.swift */; }; + E0B0A4E70360F02AB54F35FF65396560 /* Take.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58FA6EB1F898086CC736EC5D0A502FE4 /* Take.swift */; }; + E0C4050BF1FE06B46A493535142CC075 /* Observable+Occupiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDF4F1A8C907E650FF6E14AC44224879 /* Observable+Occupiable.swift */; }; + E0F72E7ECCDF2391E6001C3B41C4B740 /* Concat.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6C085FFE831E810B0F1D5FFFF422594 /* Concat.swift */; }; + E36244E8BF4AC941E82DAF16DDF4BBC2 /* ConstraintPriorityTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8D1834BBA5468347091803F0D49C093 /* ConstraintPriorityTarget.swift */; }; + E3CD0B3B3CD0EA27C3CBCB1A839982C0 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0E4DDE26C2CBD92890F0119FFF60159 /* Response.swift */; }; + E40AABA4EC7F2C936EA1B2911788591E /* Completable+AndThen.swift in Sources */ = {isa = PBXBuildFile; fileRef = AA42BD1F053CF49D832A5A463220E407 /* Completable+AndThen.swift */; }; + E54654D504A42C24F284A68F87F7671D /* OperationQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB022452187D41E7F42D0948E7434A8F /* OperationQueue+Alamofire.swift */; }; + E5B664771063F1A9A372519A8466860B /* ImageView+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = A195F5DF277D9C7C43A99CD0FAC950E1 /* ImageView+Kingfisher.swift */; }; + E5DDDA2CDBFFB7BC51393948862D8A86 /* Delay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C38CC7F7BEF387C78EB95CFAFB9B1A7 /* Delay.swift */; }; + E63CF5B15629395E891B541B14DEAEC2 /* DisposeBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8EE0288D4711C1B2D0895B94FC519CD9 /* DisposeBase.swift */; }; + E6A1BF57511CE77AE62E000F61A5F48F /* _RXDelegateProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = D3E2F1A5882AD6FB9F9C9946BB5CEED3 /* _RXDelegateProxy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E6D6C7D5E458A05CC736C340F853E9F6 /* ImageFormat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 512EADF883445DBC728A13EED3B8DDBB /* ImageFormat.swift */; }; + E6DF3A3AA1B0196B04C7C3A011D07CD2 /* WeakMapTable-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BCC23757231191B04315BB7D91C4F6A9 /* WeakMapTable-dummy.m */; }; + E6EE36E667D8AA10159DDD2116D2D571 /* Dematerialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB112BE6D790F2BDA7E8A704C2C11A47 /* Dematerialize.swift */; }; + E719A3B025B9DACE693130120BD9B927 /* Accelerate.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA7C1AC9E714BE70A11AA06F199AE741 /* Accelerate.framework */; }; + E8658B452530F6FD862ADF5EBDD04D12 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */; }; + E87D89CFF81FFAE17143EE40AEA95047 /* BooleanDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F3C90D56176225B4FAA0DC43055F9DF8 /* BooleanDisposable.swift */; }; + E8EAADACF3BAE33BDECBC7214EAE9CD2 /* ConstraintRelatableTarget.swift in Sources */ = {isa = PBXBuildFile; fileRef = D1A244A9A69D44430E272EE3F935CEA7 /* ConstraintRelatableTarget.swift */; }; + E9B4C89E7EB3B27D46AFCA452C3D426F /* MultipartUpload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 81F7DE293C3E6A35A8559075373D63F2 /* MultipartUpload.swift */; }; + EB212DB4FBE0BE4698F0CFED192B8374 /* TakeWithPredicate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277C3A6FCD597864D0A5F326AE4DE25A /* TakeWithPredicate.swift */; }; + EB276B66D2562F17B084C0D83B9D8F27 /* UISearchBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80077D4E830DA3CB56BA4B122E9CF144 /* UISearchBar+Rx.swift */; }; + EBB32304E8DD4BA115454E0050D47DED /* Runtime.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C0A207BF1BCB135002A61BD63BF5808 /* Runtime.swift */; }; + EC27987BAFBD7B07651DB7A13A3DD8F3 /* GestureFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02E3893090E9D274B53FBA44829589AB /* GestureFactory.swift */; }; + EC8BE39F20D9021607D31A7EFEF616A2 /* Reactor.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8A582419F97A5E1F7E520A3478819E1 /* Reactor.swift */; }; + ECD058939035C3C01A0CA23D17F1511C /* BehaviorRelay.swift in Sources */ = {isa = PBXBuildFile; fileRef = F142DDE132EF8A5EBCF46D6ACDA01F6D /* BehaviorRelay.swift */; }; + ED0C8BA7560D7324587B353E0960479F /* ImageCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 26777925C0D19D7A815BC398E797F355 /* ImageCache.swift */; }; + ED27A1FFB900903EF1D27C1291551501 /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A52B0E4C315B369B3ACA5466E30E8E7 /* Platform.Linux.swift */; }; + ED501AAB94B51BC2D7F746DB5889330F /* View+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9392EFA81635D1AC09CD32A925B8D2A1 /* View+RxGesture.swift */; }; + EE6C364198A763EBBF49237035D86439 /* ConstraintLayoutGuide.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB4049FE89DA90B917F1FCCF8FB47262 /* ConstraintLayoutGuide.swift */; }; + EE80E1376D7F9E22682AE05EE3054388 /* UITabBar+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAB461B4EBF324AF601660F07C2BCCC3 /* UITabBar+Rx.swift */; }; + EEC150B66BCCD6C80FDA7E4D1975166B /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1AF91BF648BEED0CFB46BD741220EB6 /* DispatchQueue+Alamofire.swift */; }; + EF9C4588CDA85AED8BBCF77451B2A35B /* ImageProcessor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B613566F989E8550569279A288BFBC2C /* ImageProcessor.swift */; }; + EFA62B5D833E803B125D1DAB72E923D3 /* ObservableType+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3C3F00DD951042C7A877B0236DB49339 /* ObservableType+Extensions.swift */; }; + F059BB2BD4F7B156353739A55AEBE2A3 /* ObservableConvertibleType+Driver.swift in Sources */ = {isa = PBXBuildFile; fileRef = B98F3175CE05C24ECB21764FFA0A919A /* ObservableConvertibleType+Driver.swift */; }; + F05ADB235969AD8B593AE2A6AD1581EF /* Bag+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9197729420500CE22ADE259FE73335B /* Bag+Rx.swift */; }; + F0B6385DB5D48F634836849087071089 /* RxSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B168A715D98F61EDDC960CB5C62C8405 /* RxSwift-dummy.m */; }; + F0EB5C948D4559333D4E71031B3CEF40 /* Disposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 13E22D87101C3A54B4A22AC5B3CEF0AF /* Disposable.swift */; }; + F10586462FB54CEA169A1A7A469A926D /* Debugging.swift in Sources */ = {isa = PBXBuildFile; fileRef = D69C89CCEB4D687229179B3E18376A0E /* Debugging.swift */; }; + F17A4CA4664CABB331D39FE902E06843 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8567067712EBDBAB27FBBA396BE8A35D /* Alamofire.swift */; }; + F17B1F8F2B6580343025237455A29D61 /* TVMonogramView+Kingfisher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A8EF2CFF0B197A350ACCBB5C7578843 /* TVMonogramView+Kingfisher.swift */; }; + F1DA873728D70AB358E831F18AF284ED /* RxPickerViewDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33BA0251DFA07251C5EB9A95A7FB99A0 /* RxPickerViewDelegateProxy.swift */; }; + F219C2A0B49D73B93CEC939FEF1E7AB2 /* RxSearchControllerDelegateProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45A0899448B72D93EA95FA74DC682018 /* RxSearchControllerDelegateProxy.swift */; }; + F23796BA5D840136FC306D2D1A166D8F /* Switch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 127CFD8700048450F369BFB14863F904 /* Switch.swift */; }; + F24021BDE9B42D604E3341CAD8E34759 /* GIFAnimatedImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7FC3376E007142721F9DA68136378BF /* GIFAnimatedImage.swift */; }; + F24D06C23DAB2F52A30C886A7A8177C7 /* ConstraintView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D011DDC8D06A46C95192BCA4BEAFF49B /* ConstraintView.swift */; }; + F294A8A1588485BACF1639D0CD3F5A51 /* Just.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF514E93F2B1B04A571217FB14AF0BC6 /* Just.swift */; }; + F2C817C166B2DE613222C41015A586C9 /* ConstraintMakerPriortizable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C818975D61056F186C919FC85EB61D7E /* ConstraintMakerPriortizable.swift */; }; + F343BA4E457FFDB0165492AECAEF0BCC /* ConstraintPriority.swift in Sources */ = {isa = PBXBuildFile; fileRef = AF03C11C43CFFABC93BC018C4F4837F6 /* ConstraintPriority.swift */; }; + F387475B1EC3C098254F62698129B612 /* RxCocoaObjCRuntimeError+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14215D6229C32AB1BEF3383EE8C7F4A4 /* RxCocoaObjCRuntimeError+Extensions.swift */; }; + F393F2C76AE9184CB67982F970F63BFB /* Scan.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2852EF8647633A0BE43CFC65940A0534 /* Scan.swift */; }; + F499B29379725FD27CD254A11BD49DE3 /* BinaryDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6666A1435CE3F8ACCD1F6C0C219DCB05 /* BinaryDisposable.swift */; }; + F4DD0C5221AF830DC87E871FA52C20B3 /* RxOptionalError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 84DBAF49746DF6BF7832B96A059EC403 /* RxOptionalError.swift */; }; + F5414F8A5B40521D0E4AEEB28378CB49 /* ImageContext.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BBA53C1B2560BFA23A8E70EBF6C80BF /* ImageContext.swift */; }; + F54DE563418B1783D6EC491A0C3A05DB /* ImageModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = 473E682BDBC0C0F8CDB56F3F2C407969 /* ImageModifier.swift */; }; + F6901A216FB4591A6FD94E2E6E0F2351 /* Infallible+Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8697D028E4067A296C98222C39EFD80 /* Infallible+Operators.swift */; }; + F6E1B45243EF2546837B9099C53770E2 /* RxTableViewReactiveArrayDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E77385002C7B2357879B1C6E6D33928 /* RxTableViewReactiveArrayDataSource.swift */; }; + F6F9C34492E47A611E31D2D63F476F13 /* ItemEvents.swift in Sources */ = {isa = PBXBuildFile; fileRef = CBDFC81F0EAA142D8ABBEF87B4166634 /* ItemEvents.swift */; }; + F72564D7015E0DFA8A79AA3A613F7ADD /* RetryWhen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 837F1DAE2365DC18456103B7DE325095 /* RetryWhen.swift */; }; + F89C351693522F78C6E85B6AAF7B76C4 /* RxCollectionViewDataSourceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7A7C144282684316D1EF957F5E799CC /* RxCollectionViewDataSourceType.swift */; }; + F8D9859750012C5A1422864B774567D6 /* Moya-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E838281C4C03BB768D2ECBECC82A045 /* Moya-dummy.m */; }; + F9537B023E24AC4A724E301F7E372491 /* KFImageProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1B042844DDF1688A9B9152F53C7257A /* KFImageProtocol.swift */; }; + F95BFF89557ED9C88C2C7DDE732319B1 /* ValidationType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97D58F81DBEB9274EA35F8B684E8D802 /* ValidationType.swift */; }; + F96DF36075F6499833B0487F05445097 /* ConnectableObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AD7C75EE9060D64E413E4D08190FE30 /* ConnectableObservableType.swift */; }; + FB83B2C1F3C46E735737A05B64D965A5 /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4211FE213FFC5A3B69BEC31DCC071440 /* Queue.swift */; }; + FDB6B50F3AF189818D8962D74E37D552 /* RxTableViewDataSourcePrefetchingProxy.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3460105B04739E33F351BE647E034B7 /* RxTableViewDataSourcePrefetchingProxy.swift */; }; + FF09824309346665E2F1F7F5A45FB10F /* CallbackQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8273BEE7717FD457243087C6FEFE00A5 /* CallbackQueue.swift */; }; + FF966238984BCE5025AA45F2A829B590 /* UITapGestureRecognizer+RxGesture.swift in Sources */ = {isa = PBXBuildFile; fileRef = E681413DEA7C965F98B1079942B03B2D /* UITapGestureRecognizer+RxGesture.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 0D09013980C9D88E0D87974F933637A3 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; - proxyType = 1; - remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; - remoteInfo = RxSwift; - }; - 10CC2ECB5B8BA934E1691DC24A754F0B /* PBXContainerItemProxy */ = { + 0398B53269AB51FFFC5CAC17BF69CABF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EAAA1AD3A8A1B59AB91319EE40752C6D; remoteInfo = Alamofire; }; - 16C5F4061588297B895898DFE7A8EF6F /* PBXContainerItemProxy */ = { + 07818E46817988D2F66DCFDF72A17411 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; - remoteInfo = RxSwift; + remoteGlobalIDString = 19622742EBA51E823D6DAE3F8CDBFAD4; + remoteInfo = SnapKit; }; - 1F2277E5349A00FE6AD22398C938C3FB /* PBXContainerItemProxy */ = { + 0E8F2F126FE35E82D5198625FA50C85B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 3D8B1104C8B4F5AD74F600289D7A12AD; - remoteInfo = RxOptional; + remoteGlobalIDString = C17AEFC79E770A2906EFAAB1A3757406; + remoteInfo = Then; }; - 2FF9A365A096F7E0B6E8ADD0863CD538 /* PBXContainerItemProxy */ = { + 1124B1C31001F52415D6F636D717381E /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; remoteInfo = RxCocoa; }; - 380D1228B98E4161FF16D73BC89CF373 /* PBXContainerItemProxy */ = { + 31A149576E6D1B339E7CC55A7EEDFF94 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 1E798429DCFA7906F6625CCFC1088744; - remoteInfo = SwiftGen; + remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; + remoteInfo = RxSwift; }; - 396EB3988F7BF5B676188358B9B96004 /* PBXContainerItemProxy */ = { + 39397BEB8FFAE2D871382C0CED5E912B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = D77CA6E20D3F659D26E05339EBA33B59; - remoteInfo = RxGesture; + remoteGlobalIDString = 4622BFEF3DC16E8BD15EEFC30D4D0084; + remoteInfo = RxRelay; }; - 3C69081EC581DF58EC92845839EDD418 /* PBXContainerItemProxy */ = { + 39A9AB2AAB5446135888DD68C1D5FCB4 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; - remoteInfo = RxCocoa; + remoteGlobalIDString = E8022D22FAA6690B5E1C379C1BCE1491; + remoteInfo = Kingfisher; }; - 5203DC8A374BC9CC0CAFB2E8E033BE54 /* PBXContainerItemProxy */ = { + 3C1D4596B02261AE6F07723B670DBD76 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; remoteInfo = RxSwift; }; - 56810D1343583C9215BB68CDA01CAD22 /* PBXContainerItemProxy */ = { + 40961CF53B8534D502FFFF50122299A7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 46E48C41E3556F8E41D231C8FD9B7471; remoteInfo = RxKeyboard; }; - 63BB178C5E0EB191F8775F561F10A1E3 /* PBXContainerItemProxy */ = { + 658732B7FDD48E584B27BFBC08CD5D7B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 19622742EBA51E823D6DAE3F8CDBFAD4; - remoteInfo = SnapKit; + remoteGlobalIDString = EAAA1AD3A8A1B59AB91319EE40752C6D; + remoteInfo = Alamofire; }; - 7E2C66A289DEDD8EF98A69CFC55C2436 /* PBXContainerItemProxy */ = { + 6FA4711BFE4A8A46AF681675604D68BD /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 4622BFEF3DC16E8BD15EEFC30D4D0084; - remoteInfo = RxRelay; + remoteGlobalIDString = FDAD00A3F94FDF0C9810CDD8F98A86EF; + remoteInfo = WeakMapTable; + }; + 7A6CDBE3DEB09F0051652AD127EE6416 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; + remoteInfo = RxCocoa; }; - 8A4EF57A7882DA9FC4ACB185CFC2C123 /* PBXContainerItemProxy */ = { + 7C9F4D07D0CEEABA33FD357D72CC28E7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; remoteInfo = RxSwift; }; - 983A167CDF928A74EBAE0F3150929C8A /* PBXContainerItemProxy */ = { + 85F1678F0A4F89B630692A99844426B5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; remoteInfo = RxSwift; }; - 9B7E80934896B45677635139087FEAF7 /* PBXContainerItemProxy */ = { + 8899917D04F99A8D06A96AB5D73259CA /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; remoteInfo = RxSwift; }; - ABD0D844BC0ADA27FFB7FB6AAD7BA4FF /* PBXContainerItemProxy */ = { + 8B50CF132D3D48C073A073E76ACE8F97 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; remoteInfo = RxCocoa; }; - AE10439D75B127CB36B39AF1865026A8 /* PBXContainerItemProxy */ = { + 8CFF80D3501C63B530D199CF2C830602 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; - remoteInfo = RxCocoa; + remoteGlobalIDString = D77CA6E20D3F659D26E05339EBA33B59; + remoteInfo = RxGesture; }; - C47F3B6C62AF7676DCD714D0C0DBF544 /* PBXContainerItemProxy */ = { + 9CC1FB8401E379E3F7B6E935688E10FA /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; remoteInfo = RxSwift; }; - C5D35D3DC63F339EDC849BD6AC4A2B4E /* PBXContainerItemProxy */ = { + 9EFD61FACE0259FAF50127971B4FBD6B /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 17F9141D333DA1A7BE5937F227221070; - remoteInfo = Moya; + remoteGlobalIDString = 4622BFEF3DC16E8BD15EEFC30D4D0084; + remoteInfo = RxRelay; }; - C8C56C78AB89114A5CBDE4F9F4EC4D8F /* PBXContainerItemProxy */ = { + A0085E3CC9864C86C695F7E384004355 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = EAAA1AD3A8A1B59AB91319EE40752C6D; - remoteInfo = Alamofire; + remoteGlobalIDString = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6; + remoteInfo = RxCocoa; }; - C8CE201FFE85C562FB224B9BC4236627 /* PBXContainerItemProxy */ = { + A86DA4686E2B37AC14CC20ED744D0D48 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 4622BFEF3DC16E8BD15EEFC30D4D0084; - remoteInfo = RxRelay; + remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; + remoteInfo = RxSwift; }; - D1EBCE030B2DA6046F6BC9F68547F2D3 /* PBXContainerItemProxy */ = { + B291DD5CF3825A4AFF5BB20D5B3C9ACD /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; - remoteInfo = RxSwift; + remoteGlobalIDString = 1E798429DCFA7906F6625CCFC1088744; + remoteInfo = SwiftGen; }; - D22C30A7AA3A0CEA9F75668B76C234DA /* PBXContainerItemProxy */ = { + D17C008D5D6299080BFD4B355694FEC0 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = A1203CD3729E2B15A69645AB5CB42157; - remoteInfo = ReactorKit; + remoteGlobalIDString = 17F9141D333DA1A7BE5937F227221070; + remoteInfo = Moya; }; - D78FAD4D63A61B65760EBA0BDB799DA2 /* PBXContainerItemProxy */ = { + E0A7CDCA81FF34A4BC4431C8352BE9CF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = C17AEFC79E770A2906EFAAB1A3757406; - remoteInfo = Then; + remoteGlobalIDString = A1203CD3729E2B15A69645AB5CB42157; + remoteInfo = ReactorKit; }; - D83D6DCAA7E84923D030B8AFE906923C /* PBXContainerItemProxy */ = { + EB0E6B1BC82C6D8F5613B0092C732BD6 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; remoteGlobalIDString = FDAD00A3F94FDF0C9810CDD8F98A86EF; remoteInfo = WeakMapTable; }; - DE6FF2BE98E1D2084E5C63FC11DA9629 /* PBXContainerItemProxy */ = { + F36A38AC906AC4D1688EAA630D07AC0C /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = FDAD00A3F94FDF0C9810CDD8F98A86EF; - remoteInfo = WeakMapTable; + remoteGlobalIDString = EA9EA43B3B503823EE36C60D9C8A865F; + remoteInfo = RxSwift; + }; + F8809BED81C59C873BAD5E817DB6841C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3D8B1104C8B4F5AD74F600289D7A12AD; + remoteInfo = RxOptional; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 007E552A45E73395AEAC18513C160905 /* AsyncLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncLock.swift; path = RxSwift/Concurrency/AsyncLock.swift; sourceTree = ""; }; - 00EB4C86DE6A5E15E805584E28D60AC6 /* Moya+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Moya+Alamofire.swift"; path = "Sources/Moya/Moya+Alamofire.swift"; sourceTree = ""; }; - 015B65503A023CD4DD62EABA640825B6 /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; - 02FFD491AD10A0F01151E7D764974AFF /* RxKeyboard-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxKeyboard-dummy.m"; sourceTree = ""; }; - 044AF73F9F83C65BEC98C62BEFF0305B /* Infallible+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Bind.swift"; path = "RxCocoa/Common/Infallible+Bind.swift"; sourceTree = ""; }; - 0469742C52358EADCD2F40E1A0852BDB /* CombineLatest+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+Collection.swift"; path = "RxSwift/Observables/CombineLatest+Collection.swift"; sourceTree = ""; }; - 04C66455493282BE29DE06B48237DCD3 /* RxGesture.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxGesture.debug.xcconfig; sourceTree = ""; }; - 05235A5139BBF4300568845DE299BA4B /* ControlEvent+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlEvent+Driver.swift"; sourceTree = ""; }; - 054339B84DDE440F012B13DD799A801B /* Amb.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Amb.swift; path = RxSwift/Observables/Amb.swift; sourceTree = ""; }; - 054A735A3A0C480025558FA06BA3BD0C /* ConstraintInsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintInsetTarget.swift; path = Source/ConstraintInsetTarget.swift; sourceTree = ""; }; - 055385E069112238C9323DC710B98508 /* RxCocoa.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxCocoa.release.xcconfig; sourceTree = ""; }; - 05F7295783D92F6B903183E16406444A /* Single+Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Single+Response.swift"; path = "Sources/RxMoya/Single+Response.swift"; sourceTree = ""; }; - 067DE6AAD1F944BBD4DA09DEE5B4732C /* DelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxy.swift; path = RxCocoa/Common/DelegateProxy.swift; sourceTree = ""; }; - 06AFFFBD95E62B02E6DBCD3E6769465B /* Zip+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+Collection.swift"; path = "RxSwift/Observables/Zip+Collection.swift"; sourceTree = ""; }; - 08470FDE73B735D3A47BC949B79927DC /* ConstraintDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDSL.swift; path = Source/ConstraintDSL.swift; sourceTree = ""; }; - 087D7AA4D01FCEF78D17984A40E1EEF5 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; - 08D5424B32A74E8215AEE4F389E08CD8 /* Alamofire.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.debug.xcconfig; sourceTree = ""; }; - 093BDF9F1AC680D3A9C73C616FEA4A53 /* Infallible+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Zip+arity.swift"; path = "RxSwift/Traits/Infallible/Infallible+Zip+arity.swift"; sourceTree = ""; }; - 0947800A80195DFB1FC0358A1B7AD23B /* NSControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSControl+Rx.swift"; path = "RxCocoa/macOS/NSControl+Rx.swift"; sourceTree = ""; }; - 09526484ED4A46250C50E639B9E57CC4 /* SwiftSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwiftSupport.swift; path = RxSwift/SwiftSupport/SwiftSupport.swift; sourceTree = ""; }; - 0B3142520F72B10908E882AE8FF5D3EE /* DisposeBag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBag.swift; path = RxSwift/Disposables/DisposeBag.swift; sourceTree = ""; }; - 0B9EF744A821266E54487FB9F446E9AB /* Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Driver.swift; path = RxCocoa/Traits/Driver/Driver.swift; sourceTree = ""; }; - 0D3D1855FFEDCCE10C5CDE04EEB28100 /* Sample.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sample.swift; path = RxSwift/Observables/Sample.swift; sourceTree = ""; }; - 0D8E4FF54D79503F8FA5EF6EAF09CCB6 /* Moya-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Moya-umbrella.h"; sourceTree = ""; }; - 0DA70304057D21E13447A3FE4A94BBD2 /* ForceTouchGestureRecognizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ForceTouchGestureRecognizer.swift; path = Pod/Classes/iOS/ForceTouchGestureRecognizer.swift; sourceTree = ""; }; - 0DDCC76320905B3676860FBF9C2EFFDB /* NSObject+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx.swift"; path = "RxCocoa/Foundation/NSObject+Rx.swift"; sourceTree = ""; }; - 0E88BC2A924CEECCD35DF5A753B2C4A8 /* RxNavigationControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxNavigationControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxNavigationControllerDelegateProxy.swift; sourceTree = ""; }; - 0EAF452A43D490D8FDCFE6ABAD0A4005 /* OptionalType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OptionalType.swift; path = Sources/RxOptional/OptionalType.swift; sourceTree = ""; }; - 0EE8FC3916F17B77E838C4A166E7F252 /* ConstraintOffsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintOffsetTarget.swift; path = Source/ConstraintOffsetTarget.swift; sourceTree = ""; }; - 0F486FD647BFEF34D98CAF2B5EDCE4B5 /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; - 0F593D0E8AC59D2DF8CC401589F6A307 /* Infallible+Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Create.swift"; path = "RxSwift/Traits/Infallible/Infallible+Create.swift"; sourceTree = ""; }; - 0F599884A3AD86866687FCB8A3122E65 /* UISlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISlider+Rx.swift"; path = "RxCocoa/iOS/UISlider+Rx.swift"; sourceTree = ""; }; - 0F6694B4A1D13D77A553024BA24540CF /* RxSearchControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchControllerDelegateProxy.swift; sourceTree = ""; }; - 0F79519BBB6CCE3649B62B38E7ED5D26 /* RxRelay.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxRelay.debug.xcconfig; sourceTree = ""; }; - 0FD6A0CA7404220A63ED59E2401866A3 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; - 10249DD536C1876BF77A28AF8AC21725 /* _RXKVOObserver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXKVOObserver.m; path = RxCocoa/Runtime/_RXKVOObserver.m; sourceTree = ""; }; - 10738C938E8ACD9B1BAFB49AD0A6C47E /* RxGesture-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxGesture-umbrella.h"; sourceTree = ""; }; - 11008A58ACAC831C59A486BAFD6B3B07 /* Merge.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Merge.swift; path = RxSwift/Observables/Merge.swift; sourceTree = ""; }; - 11AC398CC589E4C338A16FC75ACDF299 /* AnyObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyObserver.swift; path = RxSwift/AnyObserver.swift; sourceTree = ""; }; - 11BCF2C00923455E64C2CC036BE1CE2E /* NSView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSView+Rx.swift"; path = "RxCocoa/macOS/NSView+Rx.swift"; sourceTree = ""; }; - 123B65E510C6563668C227BCFA354222 /* Maybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Maybe.swift; path = RxSwift/Traits/PrimitiveSequence/Maybe.swift; sourceTree = ""; }; - 127DE17A1CEFA087654D1E2F684D9BED /* Throttle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Throttle.swift; path = RxSwift/Observables/Throttle.swift; sourceTree = ""; }; - 14AA57AB1C28BC366A2D8F3CE2E0A626 /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = ""; }; - 14AE00BF4007D19AEC1541E8ABE60F4D /* NSTextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextView+Rx.swift"; path = "RxCocoa/macOS/NSTextView+Rx.swift"; sourceTree = ""; }; - 14EABD36049BE9D07F798AE9543EF734 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - 15027DF69A52107B9CA80BA314B51DD8 /* ReactorKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ReactorKit-umbrella.h"; sourceTree = ""; }; - 151B4932FB5A4CF4543D3537C59B416E /* LockOwnerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LockOwnerType.swift; path = RxSwift/Concurrency/LockOwnerType.swift; sourceTree = ""; }; - 15408AECF0A4578A87267F591199ADE0 /* Event.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Event.swift; path = RxSwift/Event.swift; sourceTree = ""; }; - 15987D8F398459EEA22D7970304AEF53 /* TouchDownGestureRecognizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TouchDownGestureRecognizer.swift; path = Pod/Classes/iOS/TouchDownGestureRecognizer.swift; sourceTree = ""; }; - 16947BCE24FE1861ADB9F664210B47BA /* ConstraintDirectionalInsets.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDirectionalInsets.swift; path = Source/ConstraintDirectionalInsets.swift; sourceTree = ""; }; - 16A62D3B3DB5F4D590F49A38779CD36F /* ParameterEncoder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoder.swift; path = Source/ParameterEncoder.swift; sourceTree = ""; }; - 177FD66B50A2BF3FF90C3534EBDED55B /* UITableView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITableView+Rx.swift"; path = "RxCocoa/iOS/UITableView+Rx.swift"; sourceTree = ""; }; - 17F3F8D362F83879FDABA99EBB72401C /* NopDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NopDisposable.swift; path = RxSwift/Disposables/NopDisposable.swift; sourceTree = ""; }; - 180A9FFBEEDB4F77DB91C274C992AC13 /* ControlTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlTarget.swift; path = RxCocoa/Common/ControlTarget.swift; sourceTree = ""; }; - 182E45D5F2080C753B57B6887B8BAF68 /* Atomic.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Atomic.swift; path = Sources/Moya/Atomic.swift; sourceTree = ""; }; - 18FA131B44440DFBA8430016D1E28609 /* NSTextStorage+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextStorage+Rx.swift"; path = "RxCocoa/iOS/NSTextStorage+Rx.swift"; sourceTree = ""; }; - 1C78D312B5BC420CFEB199D50E6ED48B /* UIHoverGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIHoverGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIHoverGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - 1D0493D1B0F34D1354A5803D9148F559 /* RxTextStorageDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextStorageDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextStorageDelegateProxy.swift; sourceTree = ""; }; - 1D221F39AD650982E88458C82AFA1EEA /* Timer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timer.swift; path = RxSwift/Observables/Timer.swift; sourceTree = ""; }; - 1D64F8722E4B5C4EDEF4F10197C1D2B6 /* ConstraintInsets.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintInsets.swift; path = Source/ConstraintInsets.swift; sourceTree = ""; }; - 1D86C8854B820674E97A284B32C620E9 /* _RXKVOObserver.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXKVOObserver.h; path = RxCocoa/Runtime/include/_RXKVOObserver.h; sourceTree = ""; }; - 1DD12F155FC564179AD208AD1831FD36 /* SynchronizedUnsubscribeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedUnsubscribeType.swift; path = RxSwift/Concurrency/SynchronizedUnsubscribeType.swift; sourceTree = ""; }; - 1E3483B8019F0DBC85AA0166E9F7588C /* AlamofireExtended.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AlamofireExtended.swift; path = Source/AlamofireExtended.swift; sourceTree = ""; }; + 000430863471C9B443DEAFF505628B87 /* AccessTokenPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AccessTokenPlugin.swift; path = Sources/Moya/Plugins/AccessTokenPlugin.swift; sourceTree = ""; }; + 00C009399C87EEE19427D6F9357A7D70 /* ImageDownloaderDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDownloaderDelegate.swift; path = Sources/Networking/ImageDownloaderDelegate.swift; sourceTree = ""; }; + 01460C645C1BCA11742D4D08D7A4AE87 /* Infallible+CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+CombineLatest+arity.swift"; path = "RxSwift/Traits/Infallible/Infallible+CombineLatest+arity.swift"; sourceTree = ""; }; + 019CA5BB2FD887434BEDD9702F75F7F6 /* ShareReplayScope.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ShareReplayScope.swift; path = RxSwift/Observables/ShareReplayScope.swift; sourceTree = ""; }; + 01F4A5561B2991217B59B4309D9A7056 /* NotificationCenter+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NotificationCenter+Rx.swift"; path = "RxCocoa/Foundation/NotificationCenter+Rx.swift"; sourceTree = ""; }; + 02E3893090E9D274B53FBA44829589AB /* GestureFactory.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GestureFactory.swift; path = Pod/Classes/GestureFactory.swift; sourceTree = ""; }; + 035BBA7F0C50B291DA414CA6612C56EF /* ConstraintLayoutGuide+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ConstraintLayoutGuide+Extensions.swift"; path = "Source/ConstraintLayoutGuide+Extensions.swift"; sourceTree = ""; }; + 0487B08F474AF08AD173F0BC60D5C4B4 /* ReactorKitRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ReactorKitRuntime.h; path = Sources/ReactorKitRuntime/include/ReactorKitRuntime.h; sourceTree = ""; }; + 04BC6A9293D8618859C3F258CD341E5B /* Binder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Binder.swift; path = RxSwift/Binder.swift; sourceTree = ""; }; + 0525B54CE10AF67DD5AFC4952F16A01C /* ConstraintMultiplierTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMultiplierTarget.swift; path = Source/ConstraintMultiplierTarget.swift; sourceTree = ""; }; + 05E776AA2BA79C2856CC460CB57CA1E1 /* MainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MainScheduler.swift; path = RxSwift/Schedulers/MainScheduler.swift; sourceTree = ""; }; + 062B9C99FDB3338CFBB1A47A5AEF09AA /* AsSingle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsSingle.swift; path = RxSwift/Observables/AsSingle.swift; sourceTree = ""; }; + 066E914C8B66464BFAD0B2887ADD1F7A /* MoyaProvider+Defaults.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Defaults.swift"; path = "Sources/Moya/MoyaProvider+Defaults.swift"; sourceTree = ""; }; + 0720C11E81B5E1ECBC305F51DE42C8EB /* ScheduledItemType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItemType.swift; path = RxSwift/Schedulers/Internal/ScheduledItemType.swift; sourceTree = ""; }; + 0778183A242806F91ACC29A39CBAF8E6 /* HTTPMethod.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPMethod.swift; path = Source/HTTPMethod.swift; sourceTree = ""; }; + 078D1607A2C46DCF07DD9819807BA4D4 /* RxTableViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDelegateProxy.swift; sourceTree = ""; }; + 07BD503C9EBEA2C72E43D2BC3B4FCBB8 /* ImageDataProcessor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDataProcessor.swift; path = Sources/Networking/ImageDataProcessor.swift; sourceTree = ""; }; + 07F70BFA05B5DD21D31B4ACDC36D2867 /* DefaultIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DefaultIfEmpty.swift; path = RxSwift/Observables/DefaultIfEmpty.swift; sourceTree = ""; }; + 0845E6A83B2845A92B470F5721C4EC0F /* Zip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Zip.swift; path = RxSwift/Observables/Zip.swift; sourceTree = ""; }; + 08A379D3D30E693B07910C345D5C1B4C /* RxTabBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarDelegateProxy.swift; sourceTree = ""; }; + 08AA7BD9CD95B6A82C50BE5ABF511D3B /* DistinctUntilChanged.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DistinctUntilChanged.swift; path = RxSwift/Observables/DistinctUntilChanged.swift; sourceTree = ""; }; + 08E6707FEB2B55EEF99BEED68B7BD084 /* ControlTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlTarget.swift; path = RxCocoa/Common/ControlTarget.swift; sourceTree = ""; }; + 08F8967558B3EEDE4A74B824D1404BDE /* SchedulerServices+Emulation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerServices+Emulation.swift"; path = "RxSwift/Schedulers/SchedulerServices+Emulation.swift"; sourceTree = ""; }; + 098AAB08ECAE12B0F2775A729D244C76 /* Debounce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debounce.swift; path = RxSwift/Observables/Debounce.swift; sourceTree = ""; }; + 09CBAFF286078D613091191FDC43D123 /* RxRelay-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxRelay-prefix.pch"; sourceTree = ""; }; + 09F88BAC7A8CD34F98202BD73B034260 /* Kingfisher-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Kingfisher-dummy.m"; sourceTree = ""; }; + 0AF0711C0A4C036D557F3E511BB8BD16 /* PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PrimitiveSequence.swift; path = RxSwift/Traits/PrimitiveSequence/PrimitiveSequence.swift; sourceTree = ""; }; + 0B86DBE62EC1A7AB2690A43A3C57E759 /* UILongPressGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UILongPressGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UILongPressGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + 0C63F96FE70BA103DB34F0340AE17FF3 /* AtomicInt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AtomicInt.swift; path = Platform/AtomicInt.swift; sourceTree = ""; }; + 0D0D44D007E8BA47EE9185CFC9F78391 /* _RXKVOObserver.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXKVOObserver.h; path = RxCocoa/Runtime/include/_RXKVOObserver.h; sourceTree = ""; }; + 0D37EC27D99BCCF8EB5BE161CAB0FD6A /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Sources/Utility/Result.swift; sourceTree = ""; }; + 0D531FA6FE4C29E0979CA038B9B9941C /* UIControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIControl+Rx.swift"; path = "RxCocoa/iOS/UIControl+Rx.swift"; sourceTree = ""; }; + 0D84D50BCB4E7BBF59481C307AE4173C /* DispatchQueueConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DispatchQueueConfiguration.swift; path = RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift; sourceTree = ""; }; + 0DFE96EC690EB58606025C205D52FAD9 /* NetworkLoggerPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkLoggerPlugin.swift; path = Sources/Moya/Plugins/NetworkLoggerPlugin.swift; sourceTree = ""; }; + 0E46F87C22EAB653B3844AF6D19434DC /* NSObject+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx.swift"; path = "RxCocoa/Foundation/NSObject+Rx.swift"; sourceTree = ""; }; + 0ED94543B0EE0CB3DED4A4E1E00FD684 /* Moya-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Moya-Info.plist"; sourceTree = ""; }; + 0F073E5A83D58C040522BD24669783C7 /* KFAnimatedImage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFAnimatedImage.swift; path = Sources/SwiftUI/KFAnimatedImage.swift; sourceTree = ""; }; + 0F09340553726BD1D3B1AE501648DBE3 /* StateRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StateRelay.swift; path = Sources/ReactorKit/StateRelay.swift; sourceTree = ""; }; + 0F4D63F4A5FF5E557345D35D4459A0F7 /* ConstraintView+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ConstraintView+Extensions.swift"; path = "Source/ConstraintView+Extensions.swift"; sourceTree = ""; }; + 10805C1556699DE8ED7316AD2DC6945D /* TailRecursiveSink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TailRecursiveSink.swift; path = RxSwift/Observers/TailRecursiveSink.swift; sourceTree = ""; }; + 108C446699F1D322590C1F290F678B3C /* Enumerated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Enumerated.swift; path = RxSwift/Observables/Enumerated.swift; sourceTree = ""; }; + 108E6D3AFD31C5AF2A8F5B11CEAE97A1 /* SnapKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnapKit-prefix.pch"; sourceTree = ""; }; + 10BBA38786E93A4B9DDC9FCF798E941B /* RetryStrategy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryStrategy.swift; path = Sources/Networking/RetryStrategy.swift; sourceTree = ""; }; + 1190A6A2A2F89878E51F8CC441E76038 /* RxCollectionViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDelegateProxy.swift; sourceTree = ""; }; + 127CFD8700048450F369BFB14863F904 /* Switch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Switch.swift; path = RxSwift/Observables/Switch.swift; sourceTree = ""; }; + 132BAEBF58B7A389DBBFA12EB571F738 /* RxSwift-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxSwift-Info.plist"; sourceTree = ""; }; + 132E12E2A3AFCC2B08F930254022C725 /* Kingfisher.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Kingfisher.release.xcconfig; sourceTree = ""; }; + 139D77421F9173B0B0768909901F240E /* KF.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KF.swift; path = Sources/General/KF.swift; sourceTree = ""; }; + 13C6B07DE24FF5446411E04B5036013C /* RxCocoa.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCocoa.swift; path = RxCocoa/RxCocoa.swift; sourceTree = ""; }; + 13DB966C46198F45BBA553F7D62EBC83 /* UISwitch+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISwitch+Rx.swift"; path = "RxCocoa/iOS/UISwitch+Rx.swift"; sourceTree = ""; }; + 13E22D87101C3A54B4A22AC5B3CEF0AF /* Disposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposable.swift; path = RxSwift/Disposable.swift; sourceTree = ""; }; + 14215D6229C32AB1BEF3383EE8C7F4A4 /* RxCocoaObjCRuntimeError+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "RxCocoaObjCRuntimeError+Extensions.swift"; path = "RxCocoa/Common/RxCocoaObjCRuntimeError+Extensions.swift"; sourceTree = ""; }; + 1442ED345A63D5216F13BF4E15750D04 /* ControlEvent.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlEvent.swift; path = RxCocoa/Traits/ControlEvent.swift; sourceTree = ""; }; + 152862AEECDDC42B8443A9F79685B23C /* PrimitiveSequence+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PrimitiveSequence+Zip+arity.swift"; path = "RxSwift/Traits/PrimitiveSequence/PrimitiveSequence+Zip+arity.swift"; sourceTree = ""; }; + 164AAD0967986B2A1C04EDE8D0F951D9 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = ""; }; + 1695F344E1AD50D652D2C7ECE880BF38 /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; + 169A9CA539B0F49EA4E2239BD62CF156 /* StartWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StartWith.swift; path = RxSwift/Observables/StartWith.swift; sourceTree = ""; }; + 17070EEA602A1029BC8176E81089E7B9 /* RedirectHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RedirectHandler.swift; path = Sources/Networking/RedirectHandler.swift; sourceTree = ""; }; + 186BB8974E1F03F45F096256B855AA30 /* ScheduledDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledDisposable.swift; path = RxSwift/Disposables/ScheduledDisposable.swift; sourceTree = ""; }; + 1905B18C86B83DCD7217F328C639689B /* UIPanGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPanGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIPanGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + 1909DB8BDB3BB35EC7F7057CFCB666B7 /* First.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = First.swift; path = RxSwift/Observables/First.swift; sourceTree = ""; }; + 19273E9DCC416179DC321C9C50A8F708 /* SingleAsync.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAsync.swift; path = RxSwift/Observables/SingleAsync.swift; sourceTree = ""; }; + 1A5631D8B9153B5B3B1ECBCD93F2E544 /* AuthenticationChallengeResponsable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AuthenticationChallengeResponsable.swift; path = Sources/Networking/AuthenticationChallengeResponsable.swift; sourceTree = ""; }; + 1A8EF2CFF0B197A350ACCBB5C7578843 /* TVMonogramView+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "TVMonogramView+Kingfisher.swift"; path = "Sources/Extensions/TVMonogramView+Kingfisher.swift"; sourceTree = ""; }; + 1AD7C75EE9060D64E413E4D08190FE30 /* ConnectableObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConnectableObservableType.swift; path = RxSwift/ConnectableObservableType.swift; sourceTree = ""; }; + 1BBA53C1B2560BFA23A8E70EBF6C80BF /* ImageContext.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageContext.swift; path = Sources/SwiftUI/ImageContext.swift; sourceTree = ""; }; + 1C33FC01EFA08410BC3C7B7ABC57286E /* NSView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSView+Rx.swift"; path = "RxCocoa/macOS/NSView+Rx.swift"; sourceTree = ""; }; + 1C83CD12EF1D11A40BC7D1CBC379A96E /* Moya-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Moya-umbrella.h"; sourceTree = ""; }; + 1C9AE95BF3A43C0592E1001882D724DF /* GenericRxGestureRecognizerDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GenericRxGestureRecognizerDelegate.swift; path = Pod/Classes/GenericRxGestureRecognizerDelegate.swift; sourceTree = ""; }; + 1C9BC6725DABD37DFEFEF62A4A9336BE /* ControlEvent+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlEvent+Driver.swift"; sourceTree = ""; }; + 1D0FE00E0A36DFB2EB07566DABA13FF7 /* TextInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextInput.swift; path = RxCocoa/Common/TextInput.swift; sourceTree = ""; }; + 1E07FD7CD1AC3694EC4DBF178E172BF7 /* Catch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Catch.swift; path = RxSwift/Observables/Catch.swift; sourceTree = ""; }; 1F24F78E4B3B8B635E466D4E45C6F000 /* Pods-Instagram-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Instagram-frameworks.sh"; sourceTree = ""; }; - 1F3014CFF77BF32C095A8E9478F6026D /* AsyncSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncSubject.swift; path = RxSwift/Subjects/AsyncSubject.swift; sourceTree = ""; }; - 1F4FAFE56D1FD22685012D37CDACABB3 /* NotificationCenter+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NotificationCenter+Rx.swift"; path = "RxCocoa/Foundation/NotificationCenter+Rx.swift"; sourceTree = ""; }; - 1F77A77CF19FACD44D268BB5988F6B2C /* RxOptional-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-umbrella.h"; sourceTree = ""; }; - 1FA859BE6C9482EAD1E7D5F3CD1835FF /* RxMutableBox.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxMutableBox.swift; path = RxSwift/RxMutableBox.swift; sourceTree = ""; }; - 201AB1CB2F04D650AC6F2639C0C0C27D /* IdentityEquatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IdentityEquatable.swift; path = Sources/ReactorKit/IdentityEquatable.swift; sourceTree = ""; }; - 206F7B7FD7B10F1DCA20895E32AF6890 /* ConstraintViewDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintViewDSL.swift; path = Source/ConstraintViewDSL.swift; sourceTree = ""; }; - 20BFE5C48A074B4DABCCE1D4103A4B1E /* Binder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Binder.swift; path = RxSwift/Binder.swift; sourceTree = ""; }; - 21355156E8E865C8BD2B0DB892461151 /* MultiTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultiTarget.swift; path = Sources/Moya/MultiTarget.swift; sourceTree = ""; }; - 21D2344D3B30B2244EF52687FDCEF6E9 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Sources/Moya/Response.swift; sourceTree = ""; }; - 21F1E402DAEF7F79F5FAE19C4FE79530 /* Debounce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debounce.swift; path = RxSwift/Observables/Debounce.swift; sourceTree = ""; }; - 22D6B3C1120FDEF2EA976CFA769266CA /* SynchronizedDisposeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedDisposeType.swift; path = RxSwift/Concurrency/SynchronizedDisposeType.swift; sourceTree = ""; }; - 23008DB1376D11B8A40A9B9B617147A2 /* ReactorKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ReactorKit.release.xcconfig; sourceTree = ""; }; - 2382E1791FBE01D89B01196D3AEB8A62 /* SwitchIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwitchIfEmpty.swift; path = RxSwift/Observables/SwitchIfEmpty.swift; sourceTree = ""; }; - 23B0F8DC3E94CC43EC1984381539D106 /* RxGesture-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxGesture-Info.plist"; sourceTree = ""; }; - 246D49991DD0D2038D3E36B7A4955792 /* Concat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concat.swift; path = RxSwift/Observables/Concat.swift; sourceTree = ""; }; - 25554B9B8FD0F09D4151348CDA2CB403 /* SnapKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SnapKit.debug.xcconfig; sourceTree = ""; }; - 260C97BE5BF1E40D2A16E2E5074F34C8 /* UITextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextView+Rx.swift"; path = "RxCocoa/iOS/UITextView+Rx.swift"; sourceTree = ""; }; - 26D0462104222D5901006BFF2A0D4147 /* SnapKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnapKit-prefix.pch"; sourceTree = ""; }; - 275AFB46D96EA97D9E7D0FBE10D4969D /* OperationQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OperationQueueScheduler.swift; path = RxSwift/Schedulers/OperationQueueScheduler.swift; sourceTree = ""; }; - 28574D7CCD44D201D60FB08A4D11343A /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Sources/Moya/MultipartFormData.swift; sourceTree = ""; }; - 2879542042267BE5A80D866660666E79 /* RxTableViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxTableViewDataSourceType.swift; sourceTree = ""; }; - 2941A45F9AD3154E522274EE4149EE00 /* RxOptional.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxOptional.modulemap; sourceTree = ""; }; - 29484A2ED86E75CEB5AA49D7B3929AB5 /* Moya-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Moya-dummy.m"; sourceTree = ""; }; - 296AEA5E34BAC8F338D180C27493080D /* DisposeBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBase.swift; path = RxSwift/Disposables/DisposeBase.swift; sourceTree = ""; }; - 2BAB4B18D0586BD78DF9873323C66233 /* URLEncodedFormEncoder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URLEncodedFormEncoder.swift; path = Source/URLEncodedFormEncoder.swift; sourceTree = ""; }; - 2BD5D60ADD2E9496395B7244399D89B4 /* SubscribeOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscribeOn.swift; path = RxSwift/Observables/SubscribeOn.swift; sourceTree = ""; }; - 2C072944164CCD7846B1B91A58DA56CD /* Infallible+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Operators.swift"; path = "RxSwift/Traits/Infallible/Infallible+Operators.swift"; sourceTree = ""; }; - 2C146685C2BAD74E75E3199DB158D6F4 /* Completable+AndThen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Completable+AndThen.swift"; path = "RxSwift/Traits/PrimitiveSequence/Completable+AndThen.swift"; sourceTree = ""; }; - 2C42F3900862C51BF56CC8F5BE28B44F /* ObserverType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverType.swift; path = RxSwift/ObserverType.swift; sourceTree = ""; }; - 2C96425E17FA65E564E3827B3F06D4B5 /* MoyaError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MoyaError.swift; path = Sources/Moya/MoyaError.swift; sourceTree = ""; }; - 2CE4B2F6B3AD87DC31399128CDEE5A9D /* ConcurrentDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentDispatchQueueScheduler.swift; path = RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift; sourceTree = ""; }; - 2EB073CB20085ADFA06CEA755F06ADBC /* RxOptionalError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxOptionalError.swift; path = Sources/RxOptional/RxOptionalError.swift; sourceTree = ""; }; - 2EDA9FCC111BF000BC7305BB7A67FEA5 /* SnapKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SnapKit.release.xcconfig; sourceTree = ""; }; - 2F4792D16FABC140BE3B475AFB61F011 /* ConstraintDirectionalInsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDirectionalInsetTarget.swift; path = Source/ConstraintDirectionalInsetTarget.swift; sourceTree = ""; }; - 2FB418F643C65BD4F326FA3384803360 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = ""; }; - 300232FC414A1EE7676E7ACA1C9860D8 /* RefCountDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RefCountDisposable.swift; path = RxSwift/Disposables/RefCountDisposable.swift; sourceTree = ""; }; - 300E4E3EC4EDA9529BB46DAEC8EC108B /* Then-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Then-dummy.m"; sourceTree = ""; }; - 310A12D8750783762D5D9FE270707A1D /* RequestTypeWrapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestTypeWrapper.swift; path = Sources/Moya/RequestTypeWrapper.swift; sourceTree = ""; }; - 3128177CA402A50F67C41CD0FBF2D27D /* Disposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposable.swift; path = RxSwift/Disposable.swift; sourceTree = ""; }; - 31485807E4591D41B3AE84AABC684EC9 /* Moya-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Moya-Info.plist"; sourceTree = ""; }; - 3181F60DE4F24941A0BBAF666B4D37F8 /* _RX.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RX.m; path = RxCocoa/Runtime/_RX.m; sourceTree = ""; }; - 3235B93C452F27ADE31D5CA92C609E01 /* ControlProperty+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlProperty+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlProperty+Driver.swift"; sourceTree = ""; }; + 1F2769015C650C76E25E739B660B3841 /* RefCountDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RefCountDisposable.swift; path = RxSwift/Disposables/RefCountDisposable.swift; sourceTree = ""; }; + 1FD90A281C7139EDB6D732FE2A8291EE /* Materialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Materialize.swift; path = RxSwift/Observables/Materialize.swift; sourceTree = ""; }; + 1FE61624AE942D76D3A8E6E374DCD7F2 /* UIButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Rx.swift"; path = "RxCocoa/iOS/UIButton+Rx.swift"; sourceTree = ""; }; + 209B9E5EEE3F3E580588EEFA94928EEC /* Moya+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Moya+Alamofire.swift"; path = "Sources/Moya/Moya+Alamofire.swift"; sourceTree = ""; }; + 20FCA5D664D198000FEBBCA7AAE4FF21 /* Window.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Window.swift; path = RxSwift/Observables/Window.swift; sourceTree = ""; }; + 213E500D638C91A93184A530ADD45E16 /* WithLatestFrom.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithLatestFrom.swift; path = RxSwift/Observables/WithLatestFrom.swift; sourceTree = ""; }; + 21470ADDB21E91DC70C62D3BE5B47E5F /* RxSearchBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchBarDelegateProxy.swift; sourceTree = ""; }; + 21AC075E5B15FDE72E14809D750F9BC5 /* _RXObjCRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXObjCRuntime.h; path = RxCocoa/Runtime/include/_RXObjCRuntime.h; sourceTree = ""; }; + 21E9550ECD5D71F0C792172C470FEEF5 /* Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Kingfisher.swift; path = Sources/General/Kingfisher.swift; sourceTree = ""; }; + 2217A4E4CA165D860BCAE722CCB0798E /* RxTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTarget.swift; path = RxCocoa/Common/RxTarget.swift; sourceTree = ""; }; + 2252602278DDB4033E4BE2F9A4A6C190 /* Pulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Pulse.swift; path = Sources/ReactorKit/Pulse.swift; sourceTree = ""; }; + 22D71F3985853E94EBBC2A122B8EEA1C /* SynchronizedUnsubscribeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedUnsubscribeType.swift; path = RxSwift/Concurrency/SynchronizedUnsubscribeType.swift; sourceTree = ""; }; + 2422214CA4087AD5BC976ECDE1D247A1 /* Reduce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reduce.swift; path = RxSwift/Observables/Reduce.swift; sourceTree = ""; }; + 2511B6F7755F9A4E77152E118410FA5A /* MemoryStorage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MemoryStorage.swift; path = Sources/Cache/MemoryStorage.swift; sourceTree = ""; }; + 2541BDCB96717DCC520B80160852681F /* ImagePrefetcher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImagePrefetcher.swift; path = Sources/Networking/ImagePrefetcher.swift; sourceTree = ""; }; + 25606CCA69C76154E053B8092EDC57D8 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = RxSwift/Observables/Error.swift; sourceTree = ""; }; + 25CC1FFB99E0F290EEA489BCA4B606C5 /* Reactive.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactive.swift; path = RxSwift/Reactive.swift; sourceTree = ""; }; + 2620E19540F1574EB94858071B5B38B6 /* Repeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Repeat.swift; path = RxSwift/Observables/Repeat.swift; sourceTree = ""; }; + 262561B38533297CE95B5C3B0D735EA2 /* UINavigationController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UINavigationController+Rx.swift"; path = "RxCocoa/iOS/UINavigationController+Rx.swift"; sourceTree = ""; }; + 26777925C0D19D7A815BC398E797F355 /* ImageCache.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageCache.swift; path = Sources/Cache/ImageCache.swift; sourceTree = ""; }; + 26F6917775ACF0C52B3F34585C195A23 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; }; + 276553CFC5B43BCB9A72FA9F2F15F200 /* NSButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSButton+Rx.swift"; path = "RxCocoa/macOS/NSButton+Rx.swift"; sourceTree = ""; }; + 277C3A6FCD597864D0A5F326AE4DE25A /* TakeWithPredicate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeWithPredicate.swift; path = RxSwift/Observables/TakeWithPredicate.swift; sourceTree = ""; }; + 27C8235DC5A5DAB6D33F887A1E4CA248 /* RxSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxSwift.modulemap; sourceTree = ""; }; + 2852EF8647633A0BE43CFC65940A0534 /* Scan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Scan.swift; path = RxSwift/Observables/Scan.swift; sourceTree = ""; }; + 29094B5546D47F167C46D26D59A1DF5F /* Box.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Box.swift; path = Sources/Utility/Box.swift; sourceTree = ""; }; + 2963C968454064C663ADC2DC9659CC75 /* NSTextStorage+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextStorage+Rx.swift"; path = "RxCocoa/iOS/NSTextStorage+Rx.swift"; sourceTree = ""; }; + 29C4E795BCA9D772A76E2DD9B8A532B1 /* KFImageRenderer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFImageRenderer.swift; path = Sources/SwiftUI/KFImageRenderer.swift; sourceTree = ""; }; + 2A6CB1B9312CD06503A2B64FD2F1693A /* NopDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NopDisposable.swift; path = RxSwift/Disposables/NopDisposable.swift; sourceTree = ""; }; + 2A98D3DF1A8A862B48F8BB6EAF44B6C2 /* Then.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Then.modulemap; sourceTree = ""; }; + 2B05979775F280DFB75408EC07A02BC0 /* CompositeDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompositeDisposable.swift; path = RxSwift/Disposables/CompositeDisposable.swift; sourceTree = ""; }; + 2B850E0D8BD5B353D053FF720363039C /* DelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxy.swift; path = RxCocoa/Common/DelegateProxy.swift; sourceTree = ""; }; + 2CB38B4E8B463DCD48991F0B1A2E1B19 /* SharedSequence+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Optional.swift"; path = "Sources/RxOptional/SharedSequence+Optional.swift"; sourceTree = ""; }; + 2CD524495A0BD40C84FE09E7B63C3D7C /* DisposeBag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBag.swift; path = RxSwift/Disposables/DisposeBag.swift; sourceTree = ""; }; + 2CD9DE184CCD638DD4B8739E9C6ACEA1 /* ReplayRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplayRelay.swift; path = RxRelay/ReplayRelay.swift; sourceTree = ""; }; + 2CE652E871C7195FEBFE580C690CE676 /* WeakMapTable-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeakMapTable-umbrella.h"; sourceTree = ""; }; + 2E7728788680A90D85AD3FC28A20085A /* Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Occupiable.swift; path = Sources/RxOptional/Occupiable.swift; sourceTree = ""; }; + 2F48B31793C788DEC632BD7E3FDD93C9 /* RxOptional-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxOptional-Info.plist"; sourceTree = ""; }; + 2F797A424679E095895999BDC1B14C09 /* Moya-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Moya-prefix.pch"; sourceTree = ""; }; + 2FDE6183155B4A171E8D976818DD92EC /* Then-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Then-prefix.pch"; sourceTree = ""; }; + 30553E2BD5A19159B76F7ACCA9D21457 /* RxMutableBox.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxMutableBox.swift; path = RxSwift/RxMutableBox.swift; sourceTree = ""; }; + 311A17018022B0DB9FEDAD6D746F6E24 /* EventMonitor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EventMonitor.swift; path = Source/EventMonitor.swift; sourceTree = ""; }; + 315A4FCD9BDA3A59891B7922F090721C /* RxCocoa.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxCocoa.debug.xcconfig; sourceTree = ""; }; + 31F887EB9028E0FCB0701BC2718F58A4 /* RxTabBarControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarControllerDelegateProxy.swift; sourceTree = ""; }; + 320B1608B3C82E5CBFD77B8DB4E71A5F /* NSButton+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSButton+Kingfisher.swift"; path = "Sources/Extensions/NSButton+Kingfisher.swift"; sourceTree = ""; }; 324DFA74B682F43DE38EACC291EEA94E /* Pods-Instagram-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Instagram-acknowledgements.markdown"; sourceTree = ""; }; - 32A8A8A05F9F8AE24499299C9F6767B4 /* Window.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Window.swift; path = RxSwift/Observables/Window.swift; sourceTree = ""; }; - 333AAB78732FA0DC450964427E5E4FA3 /* RxOptional.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxOptional.debug.xcconfig; sourceTree = ""; }; - 33F261EC6B8C9A4E1327CE0A39CC3360 /* RxTableViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxTableViewReactiveArrayDataSource.swift; sourceTree = ""; }; - 34C40CD8E178BDB139BE093564B9BC4F /* ReactorKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ReactorKit.modulemap; sourceTree = ""; }; - 34EE2315461BE4B9A644447F7BB4C911 /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; - 352EEC90DD337163A0828FD712662EEC /* OperationQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "OperationQueue+Alamofire.swift"; path = "Source/OperationQueue+Alamofire.swift"; sourceTree = ""; }; - 35EF881970D1AC76F70879BA7BC0336B /* RxCollectionViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; - 36EDE5982176089CDC9F2FB7FF136740 /* Reactor+Pulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Reactor+Pulse.swift"; path = "Sources/ReactorKit/Reactor+Pulse.swift"; sourceTree = ""; }; + 33B2B5311FB10AB78E14E0FB45696C35 /* KingfisherManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherManager.swift; path = Sources/General/KingfisherManager.swift; sourceTree = ""; }; + 33BA0251DFA07251C5EB9A95A7FB99A0 /* RxPickerViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDelegateProxy.swift; sourceTree = ""; }; + 341B949E5823A75F7194B636CC6CB65C /* Observable+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Optional.swift"; path = "Sources/RxOptional/Observable+Optional.swift"; sourceTree = ""; }; + 3426599AB11430B37B98F0E69967BFFC /* MultiTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultiTarget.swift; path = Sources/Moya/MultiTarget.swift; sourceTree = ""; }; + 34B94ADE356F10E6FFB87EB7AD85F8F1 /* StoryboardView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StoryboardView.swift; path = Sources/ReactorKit/StoryboardView.swift; sourceTree = ""; }; + 35540BE66B6B442084C87D9C407FFAE6 /* UIPickerView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPickerView+Rx.swift"; path = "RxCocoa/iOS/UIPickerView+Rx.swift"; sourceTree = ""; }; + 35FB164A2990DD8A693140CE761004CC /* ExtensionHelpers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExtensionHelpers.swift; path = Sources/Utility/ExtensionHelpers.swift; sourceTree = ""; }; + 360B9167848655444F85D5A0F34718AD /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = ""; }; 3756A9BBE41ABEE8DCBF5BCA6972C4DA /* Moya */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Moya; path = Moya.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 388B09C72906EEDB8165B01B5347684D /* RxOptional.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxOptional.release.xcconfig; sourceTree = ""; }; + 37E9A3B4705C6F8315A850E2AD971F58 /* URLSessionConfiguration+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLSessionConfiguration+Alamofire.swift"; path = "Source/URLSessionConfiguration+Alamofire.swift"; sourceTree = ""; }; 38B05587552A2C1CC56A9560B7556ADD /* RxKeyboard */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxKeyboard; path = RxKeyboard.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 38F23C602549E81E76800F670B0C616C /* RequestInterceptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestInterceptor.swift; path = Source/RequestInterceptor.swift; sourceTree = ""; }; - 39098764C905D7D5418BCA8FBAD9199E /* RxGesture.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxGesture.modulemap; sourceTree = ""; }; - 39C9078112BAF359BB63A26ADD3605AC /* RxSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxSwift.modulemap; sourceTree = ""; }; - 3D93D3434120BD7DB00C6FAB48FC0330 /* Dematerialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Dematerialize.swift; path = RxSwift/Observables/Dematerialize.swift; sourceTree = ""; }; + 38C184324C8E05E2FB4D372904DD27CD /* NSTextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextField+Rx.swift"; path = "RxCocoa/macOS/NSTextField+Rx.swift"; sourceTree = ""; }; + 396ED5B9591BB403E6416F27A30573AB /* SharedSequence+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators.swift"; sourceTree = ""; }; + 398A52D8E7870847178B2C759A580CAE /* OptionalType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OptionalType.swift; path = Sources/RxOptional/OptionalType.swift; sourceTree = ""; }; + 3A1503432FD486EEE0978026FC7A5D24 /* AuthenticationInterceptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AuthenticationInterceptor.swift; path = Source/AuthenticationInterceptor.swift; sourceTree = ""; }; + 3A25CAF801071554A6D72F31BE2F1224 /* UIActivityIndicatorView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIActivityIndicatorView+Rx.swift"; path = "RxCocoa/iOS/UIActivityIndicatorView+Rx.swift"; sourceTree = ""; }; + 3AAF72A8E08C59275F48610B889BD2DC /* GroupBy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupBy.swift; path = RxSwift/Observables/GroupBy.swift; sourceTree = ""; }; + 3BF6C165DC1A977A2145D73934951985 /* Kingfisher-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Kingfisher-Info.plist"; sourceTree = ""; }; + 3C3F00DD951042C7A877B0236DB49339 /* ObservableType+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+Extensions.swift"; path = "RxSwift/ObservableType+Extensions.swift"; sourceTree = ""; }; + 3D696111C894C979A29EBD5A4FA8FC5F /* RxRelay.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxRelay.debug.xcconfig; sourceTree = ""; }; + 3D91D45C2B98662F4477F1EF8406D49C /* ConstraintMakerFinalizable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerFinalizable.swift; path = Source/ConstraintMakerFinalizable.swift; sourceTree = ""; }; 3E294F95CCA803990D0BE9DD45034009 /* Pods-Instagram-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Instagram-umbrella.h"; sourceTree = ""; }; - 3E4FB9C27170779E2531C5F64EDB0618 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = ""; }; - 3E63D0D0781A46309194AC1DD804277E /* Observable+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Bind.swift"; path = "RxRelay/Observable+Bind.swift"; sourceTree = ""; }; - 3E9DEC36CED0B83BB8558D4EC4AFFBC7 /* MultipartUpload.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartUpload.swift; path = Source/MultipartUpload.swift; sourceTree = ""; }; - 3EBA303BFD41D246F5C094B3F44BA28E /* WKWebView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "WKWebView+Rx.swift"; path = "RxCocoa/iOS/WKWebView+Rx.swift"; sourceTree = ""; }; - 3EE70159B6A082247520DD4AE7F5C60A /* _RXObjCRuntime.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXObjCRuntime.m; path = RxCocoa/Runtime/_RXObjCRuntime.m; sourceTree = ""; }; - 40F16C949AEC0CA65AC099EB1B985C17 /* AtomicInt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AtomicInt.swift; path = Platform/AtomicInt.swift; sourceTree = ""; }; + 3E4187131843216545646A7831F25FB8 /* VirtualTimeScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeScheduler.swift; path = RxSwift/Schedulers/VirtualTimeScheduler.swift; sourceTree = ""; }; + 3E4EA5D2AF939426E7DE570A84559469 /* CPListItem+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CPListItem+Kingfisher.swift"; path = "Sources/Extensions/CPListItem+Kingfisher.swift"; sourceTree = ""; }; + 3FDA92254767A662C021F79C7EBBF9C2 /* ServerTrustEvaluation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustEvaluation.swift; path = Source/ServerTrustEvaluation.swift; sourceTree = ""; }; + 40C0F47441D83FDA8E5C373CF3B8FB7D /* RxCollectionViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourceProxy.swift; sourceTree = ""; }; + 417AE7B7778466DB76BB64F16AFC0E4E /* SnapKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnapKit-umbrella.h"; sourceTree = ""; }; + 41A25ABF63DC1DDD40B00378B095B9C5 /* ActionSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ActionSubject.swift; path = Sources/ReactorKit/ActionSubject.swift; sourceTree = ""; }; + 4211FE213FFC5A3B69BEC31DCC071440 /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; + 424D0EF96A3DD51D9ECD565C6C4156C8 /* UISlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISlider+Rx.swift"; path = "RxCocoa/iOS/UISlider+Rx.swift"; sourceTree = ""; }; 42661978F54785D418E22E10D06E1088 /* Pods-Instagram-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Instagram-dummy.m"; sourceTree = ""; }; - 42992AE3E4FAB2BAE69FCEFB0261C251 /* Cancellable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancellable.swift; path = Sources/Moya/Cancellable.swift; sourceTree = ""; }; - 42A137E136B6E28C4054B9AA55C042DC /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = ""; }; - 43011D74D0DF9C0F1686A2FC6896F0C5 /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = RxSwift/Observables/Filter.swift; sourceTree = ""; }; - 4335216CFD3A15BE90C273EA4D93CDB6 /* ActionSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ActionSubject.swift; path = Sources/ReactorKit/ActionSubject.swift; sourceTree = ""; }; - 438A36BDCAA26D13D3CBA74F8BFBC18F /* URLSessionConfiguration+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLSessionConfiguration+Alamofire.swift"; path = "Source/URLSessionConfiguration+Alamofire.swift"; sourceTree = ""; }; - 43E48D43BE26A80ABB64A5E3C417EF6E /* Then-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Then-prefix.pch"; sourceTree = ""; }; - 442FB4FF606BACDCA03236B76F49A6D1 /* RetryWhen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryWhen.swift; path = RxSwift/Observables/RetryWhen.swift; sourceTree = ""; }; - 4571E1713BEBBF538815DE13FFCC9AFF /* URLSession+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLSession+Rx.swift"; path = "RxCocoa/Foundation/URLSession+Rx.swift"; sourceTree = ""; }; - 46C7E7E7F9CC214C6CB70B849522749A /* RxTableViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDelegateProxy.swift; sourceTree = ""; }; - 46FAA81EEC08800D5D93C737B3FD95D2 /* AuthenticationInterceptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AuthenticationInterceptor.swift; path = Source/AuthenticationInterceptor.swift; sourceTree = ""; }; - 4727B6CF7FF03A9292C82EA8A2599317 /* UISwipeGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISwipeGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UISwipeGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - 47D2A670E0EA9908F4F9540C9C83A5F2 /* RxKeyboard-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxKeyboard-umbrella.h"; sourceTree = ""; }; - 4869D8080C04575E7ADADE3038139A79 /* Plugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Plugin.swift; path = Sources/Moya/Plugin.swift; sourceTree = ""; }; - 4903E853AA93BEA45DDB4AA5CBF1B6E4 /* RxTabBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarDelegateProxy.swift; sourceTree = ""; }; - 4918618AB8F3AA96C76D54650D58EBF5 /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; - 49AF3F74C4ADE4EC4E0334063397EE92 /* UIScrollView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScrollView+Rx.swift"; path = "RxCocoa/iOS/UIScrollView+Rx.swift"; sourceTree = ""; }; - 4A791CA2159D314414C51A57BC09D26E /* LayoutConstraintItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LayoutConstraintItem.swift; path = Source/LayoutConstraintItem.swift; sourceTree = ""; }; - 4B493452C8541838E7C8161C08836B18 /* Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+arity.swift"; path = "RxSwift/Observables/Zip+arity.swift"; sourceTree = ""; }; - 4C3B7D272BBC0253CEE203945825E238 /* ObservableConvertibleType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/ObservableConvertibleType+SharedSequence.swift"; sourceTree = ""; }; + 426F234E89E871EB5492BDE445950884 /* Protected.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Protected.swift; path = Source/Protected.swift; sourceTree = ""; }; + 43F3A208636AEC1C05F36D6861E4392D /* RxTextStorageDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextStorageDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextStorageDelegateProxy.swift; sourceTree = ""; }; + 44103DC8921F9B0D12A650C484B00DD9 /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = ""; }; + 455E5D5D61859DE2E77651A9CD786341 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreenEdgePanGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIScreenEdgePanGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + 45A0899448B72D93EA95FA74DC682018 /* RxSearchControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchControllerDelegateProxy.swift; sourceTree = ""; }; + 45EAD8EB891EE3C0E2773B4EAE79B23B /* DelegateProxyType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxyType.swift; path = RxCocoa/Common/DelegateProxyType.swift; sourceTree = ""; }; + 45EAFD01DFDB00A9FFA0EE2F4E034929 /* RxCocoa.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxCocoa.modulemap; sourceTree = ""; }; + 4602D0498BCF7A3E03E652F8B782F9C7 /* Debug.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debug.swift; path = RxSwift/Observables/Debug.swift; sourceTree = ""; }; + 473E682BDBC0C0F8CDB56F3F2C407969 /* ImageModifier.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageModifier.swift; path = Sources/Networking/ImageModifier.swift; sourceTree = ""; }; + 4790961C8494FF6F5E7F4476D9F50833 /* WeakMapTable-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeakMapTable-prefix.pch"; sourceTree = ""; }; + 48A710424A0771F196A89889DAF0EBC8 /* Single+Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Single+Response.swift"; path = "Sources/RxMoya/Single+Response.swift"; sourceTree = ""; }; + 48D24EA8F5AA10AA94ECDA82C81E767C /* LockOwnerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LockOwnerType.swift; path = RxSwift/Concurrency/LockOwnerType.swift; sourceTree = ""; }; + 490FEBD1563BE525E773001E48CB4266 /* Kingfisher-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Kingfisher-prefix.pch"; sourceTree = ""; }; + 4A52B0E4C315B369B3ACA5466E30E8E7 /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; + 4A5356F5B410BD23C8CAAD90E67848DA /* DiskStorage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DiskStorage.swift; path = Sources/Cache/DiskStorage.swift; sourceTree = ""; }; + 4A78D39CAF5E8150E51853B464A467EF /* TakeLast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeLast.swift; path = RxSwift/Observables/TakeLast.swift; sourceTree = ""; }; + 4A8F16B86EFBCF671E2DE4E8851CB1F1 /* UITextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextField+Rx.swift"; path = "RxCocoa/iOS/UITextField+Rx.swift"; sourceTree = ""; }; + 4A97AC69D321929364C3D5E833DED97D /* Atomic.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Atomic.swift; path = Sources/Moya/Atomic.swift; sourceTree = ""; }; + 4AC21468215D4244C158C6508665EAEF /* _RXDelegateProxy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXDelegateProxy.m; path = RxCocoa/Runtime/_RXDelegateProxy.m; sourceTree = ""; }; + 4B0257139B6E64A02708B98678F8FD5A /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = ""; }; + 4B35B61E1E801B2B08597A5C2B578194 /* WKWebView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "WKWebView+Rx.swift"; path = "RxCocoa/iOS/WKWebView+Rx.swift"; sourceTree = ""; }; + 4BE1B5C99C3A0EC0E75F89A7DD98BFB0 /* UIRefreshControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIRefreshControl+Rx.swift"; path = "RxCocoa/iOS/UIRefreshControl+Rx.swift"; sourceTree = ""; }; + 4C28F52DA4A64A7CD4A2548C62820BFE /* Constraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Constraint.swift; path = Source/Constraint.swift; sourceTree = ""; }; + 4C4467F965592B5BDECFD17CFB2B9183 /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; 4C7573034822F093BCAF13EC6B7B8454 /* RxGesture */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxGesture; path = RxGesture.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 4C7C7F55182F22A8DBBF36814C1D5FC9 /* NSTextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextField+Rx.swift"; path = "RxCocoa/macOS/NSTextField+Rx.swift"; sourceTree = ""; }; - 4EF870D672BC32852BEDDE0A769A6355 /* RxSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.release.xcconfig; sourceTree = ""; }; - 4F25A4728BA5FDB512539D66C3D57B3F /* Single.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Single.swift; path = RxSwift/Traits/PrimitiveSequence/Single.swift; sourceTree = ""; }; - 4F80F22AC190D643F58DB39B082F65CB /* RxCollectionViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift; sourceTree = ""; }; - 50CFE539ADB60FF5B7C77719DA379001 /* SharedSequence+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Optional.swift"; path = "Sources/RxOptional/SharedSequence+Optional.swift"; sourceTree = ""; }; - 51210328BF4E7EF7D5F0701BF4E34980 /* RxWKNavigationDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxWKNavigationDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxWKNavigationDelegateProxy.swift; sourceTree = ""; }; - 51C87204562A318CD303726A89763BBB /* Range.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Range.swift; path = RxSwift/Observables/Range.swift; sourceTree = ""; }; - 51D953A7305A047C0757CE66115FC946 /* Typealiases.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Typealiases.swift; path = Source/Typealiases.swift; sourceTree = ""; }; - 523529671442C995D95B58B6C592B7FA /* ReactorKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ReactorKit.debug.xcconfig; sourceTree = ""; }; - 523DA5F51C6DD61306F2B209A67C3D11 /* Protected.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Protected.swift; path = Source/Protected.swift; sourceTree = ""; }; - 5247DAF484473F523ABF4B8C7A131719 /* Never.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Never.swift; path = RxSwift/Observables/Never.swift; sourceTree = ""; }; - 53007CC04FF52976B127CF9E92E462EE /* View+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "View+RxGesture.swift"; path = "Pod/Classes/View+RxGesture.swift"; sourceTree = ""; }; - 5323EF5E179129BC7A873DD30FA07563 /* RxTableViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; - 534C5A4024B8335586BB4DB49613C6F9 /* ConstraintMaker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMaker.swift; path = Source/ConstraintMaker.swift; sourceTree = ""; }; - 543B818DEE8C2E3D525118A2EA9BD05A /* LayoutConstraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LayoutConstraint.swift; path = Source/LayoutConstraint.swift; sourceTree = ""; }; - 54B8BB02E99DD2B4CA3F7D8D7DD0635E /* SharedSequence+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Occupiable.swift"; path = "Sources/RxOptional/SharedSequence+Occupiable.swift"; sourceTree = ""; }; - 54E9A5DCB5D0FCAF9CC26EA8D12D887F /* NSObject+Rx+KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+KVORepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+KVORepresentable.swift"; sourceTree = ""; }; - 557BD12597B8D211B889CA9723DFD4F8 /* VirtualTimeScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeScheduler.swift; path = RxSwift/Schedulers/VirtualTimeScheduler.swift; sourceTree = ""; }; - 55C3E5C329CDDB358F2758B5BF4BB134 /* RxSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.debug.xcconfig; sourceTree = ""; }; - 55CBBA8F20C9FF1FD1A82078CDFD1CC7 /* Delay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Delay.swift; path = RxSwift/Observables/Delay.swift; sourceTree = ""; }; - 55CE8E317EA065775461AF5C2330A097 /* Observable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Observable.swift; path = RxSwift/Observable.swift; sourceTree = ""; }; - 568D2C349984DEF51C52BF5E454E00EB /* RecursiveScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveScheduler.swift; path = RxSwift/Schedulers/RecursiveScheduler.swift; sourceTree = ""; }; - 56B0B17B38E65E3680210795657FD5ED /* MoyaProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MoyaProvider.swift; path = Sources/Moya/MoyaProvider.swift; sourceTree = ""; }; - 56B5822580698E7B2A365E1D55547140 /* ControlProperty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlProperty.swift; path = RxCocoa/Traits/ControlProperty.swift; sourceTree = ""; }; - 56F4E716C0335BA6DA95CD073EC3F01A /* RxCocoa.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxCocoa.modulemap; sourceTree = ""; }; - 577887B1C7DDCAE93626C4D6C9B4D936 /* RequestTaskMap.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestTaskMap.swift; path = Source/RequestTaskMap.swift; sourceTree = ""; }; - 57C2F06F01F24E77201BC003F9016A25 /* Completable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Completable.swift; path = RxSwift/Traits/PrimitiveSequence/Completable.swift; sourceTree = ""; }; - 57D1BB3817361ECBE99D8ECC1D04E889 /* PublishSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishSubject.swift; path = RxSwift/Subjects/PublishSubject.swift; sourceTree = ""; }; - 580C07C20D4B91975EE023495E0E9DB6 /* Sink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sink.swift; path = RxSwift/Observables/Sink.swift; sourceTree = ""; }; - 5860F56668E6C7627A432E64B858C1F8 /* ConstraintMakerRelatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerRelatable.swift; path = Source/ConstraintMakerRelatable.swift; sourceTree = ""; }; - 5932905FCB14781E087A591A86A8A267 /* Materialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Materialize.swift; path = RxSwift/Observables/Materialize.swift; sourceTree = ""; }; - 5964D72BA9BE27A90339A1CD7AE91E4F /* PublishRelay+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PublishRelay+Signal.swift"; path = "RxCocoa/Traits/Signal/PublishRelay+Signal.swift"; sourceTree = ""; }; - 5A459DBE766E9EC7E87150D89DE0D3B6 /* RxCocoa-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-prefix.pch"; sourceTree = ""; }; - 5A4FFA3031844E039BF287CB9A3BED4B /* Infallible+CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+CombineLatest+arity.swift"; path = "RxSwift/Traits/Infallible/Infallible+CombineLatest+arity.swift"; sourceTree = ""; }; - 5A6E160DF18D5C2511569FBF35368AEA /* UIBarButtonItem+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIBarButtonItem+Rx.swift"; path = "RxCocoa/iOS/UIBarButtonItem+Rx.swift"; sourceTree = ""; }; - 5B11B1A6227E06356331FEA3E7EB9DEA /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = ""; }; - 5BFA21C5AAD671B299F8D7B67353D075 /* ItemEvents.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ItemEvents.swift; path = RxCocoa/iOS/Events/ItemEvents.swift; sourceTree = ""; }; - 5C3ED97FD0131D8D21F9021141A50FB1 /* ObservableConvertibleType+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Signal.swift"; path = "RxCocoa/Traits/Signal/ObservableConvertibleType+Signal.swift"; sourceTree = ""; }; - 5CD0A8AA2ADD4B00D82F1601F74A1FD7 /* RxRelay-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxRelay-umbrella.h"; sourceTree = ""; }; - 5CEA3D89FF147A9209D5605F6057C88A /* GroupedObservable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupedObservable.swift; path = RxSwift/GroupedObservable.swift; sourceTree = ""; }; + 4CA999E166ABBC67E1B0CC5B63FABA7B /* Plugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Plugin.swift; path = Sources/Moya/Plugin.swift; sourceTree = ""; }; + 4DFCBA6125C08A7D5CCF56BF0B36190B /* Then-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Then-Info.plist"; sourceTree = ""; }; + 4E7C606832931FC459E99A657F948097 /* ReactorKitRuntime.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ReactorKitRuntime.m; path = Sources/ReactorKitRuntime/ReactorKitRuntime.m; sourceTree = ""; }; + 50357999C33BA3E2E89C9C2A41731B81 /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = ""; }; + 503ED005B9AE7D545EB866AADC1557E5 /* LayoutConstraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LayoutConstraint.swift; path = Source/LayoutConstraint.swift; sourceTree = ""; }; + 50AD84071DA07339CE213DE4F8E05C9E /* Disposables.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposables.swift; path = RxSwift/Disposables/Disposables.swift; sourceTree = ""; }; + 50B97292A8C82756424F9C6B2F4DC59D /* _RX.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RX.h; path = RxCocoa/Runtime/include/_RX.h; sourceTree = ""; }; + 512EADF883445DBC728A13EED3B8DDBB /* ImageFormat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageFormat.swift; path = Sources/Image/ImageFormat.swift; sourceTree = ""; }; + 524ADAB99BE1524FE954224A67BD9078 /* Throttle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Throttle.swift; path = RxSwift/Observables/Throttle.swift; sourceTree = ""; }; + 534ABEFA9FB4D62CC2180C01BB915306 /* ConstraintViewDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintViewDSL.swift; path = Source/ConstraintViewDSL.swift; sourceTree = ""; }; + 537FAB5EABB42903ECE23CD67F3C13EF /* SnapKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SnapKit.modulemap; sourceTree = ""; }; + 53AEC852F71F8C02939EF72983A9B8A1 /* Skip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Skip.swift; path = RxSwift/Observables/Skip.swift; sourceTree = ""; }; + 5438E37FBD2B0B13FBE46037B56E4F8F /* Empty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Empty.swift; path = RxSwift/Observables/Empty.swift; sourceTree = ""; }; + 543BB1069988B702235690D776B23A79 /* RxGesture-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxGesture-umbrella.h"; sourceTree = ""; }; + 548060E13DD325BA5E8D45CCEAC7A487 /* UISegmentedControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISegmentedControl+Rx.swift"; path = "RxCocoa/iOS/UISegmentedControl+Rx.swift"; sourceTree = ""; }; + 55518D35AC2EEF791F9CBF1698733D35 /* RxRelay-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxRelay-umbrella.h"; sourceTree = ""; }; + 55CCEE2687834AE988548F473BDBB728 /* NSTextAttachment+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextAttachment+Kingfisher.swift"; path = "Sources/Extensions/NSTextAttachment+Kingfisher.swift"; sourceTree = ""; }; + 575C80D06860D4AACF80A271AC52C1D1 /* NSObject+Rx+KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+KVORepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+KVORepresentable.swift"; sourceTree = ""; }; + 57835B52463EFD5E88EDDEE8192BCC25 /* RxTableViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourceProxy.swift; sourceTree = ""; }; + 58DAEE3C52EA8857E6C446D7170ADB35 /* RxPickerViewAdapter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewAdapter.swift; path = RxCocoa/iOS/DataSources/RxPickerViewAdapter.swift; sourceTree = ""; }; + 58FA6EB1F898086CC736EC5D0A502FE4 /* Take.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Take.swift; path = RxSwift/Observables/Take.swift; sourceTree = ""; }; + 59C5F009C51417723067B7C08F197687 /* ConstraintMakerEditable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerEditable.swift; path = Source/ConstraintMakerEditable.swift; sourceTree = ""; }; + 5A8817F530C753F4B4A64B2D4B34A94F /* ControlEvent+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Signal.swift"; path = "RxCocoa/Traits/Signal/ControlEvent+Signal.swift"; sourceTree = ""; }; + 5B0FE2D0BC9661FB603E845D878CBC09 /* SwiftGen.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftGen.release.xcconfig; sourceTree = ""; }; + 5B432C1475F39FE88D12A5FB09F2001E /* Infallible+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Bind.swift"; path = "RxCocoa/Common/Infallible+Bind.swift"; sourceTree = ""; }; + 5C38CC7F7BEF387C78EB95CFAFB9B1A7 /* Delay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Delay.swift; path = RxSwift/Observables/Delay.swift; sourceTree = ""; }; + 5D2DD9EB9AF5950BC94C0A365C3EBF29 /* ConcurrentMainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentMainScheduler.swift; path = RxSwift/Schedulers/ConcurrentMainScheduler.swift; sourceTree = ""; }; 5D797E9A5C5782CE845840781FA1CC81 /* Alamofire */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Alamofire; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5E0F058C86E8A380FD10B9DAF8837BF8 /* UISegmentedControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISegmentedControl+Rx.swift"; path = "RxCocoa/iOS/UISegmentedControl+Rx.swift"; sourceTree = ""; }; - 5FF934E8D70F0A013A56535925353276 /* WithUnretained.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithUnretained.swift; path = RxSwift/Observables/WithUnretained.swift; sourceTree = ""; }; - 6029F2D4AAC32E8DA5F4495C055B724B /* Buffer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Buffer.swift; path = RxSwift/Observables/Buffer.swift; sourceTree = ""; }; - 602A4268E46BE38D1E3EAD9A40EF866E /* CompactMap.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompactMap.swift; path = RxSwift/Observables/CompactMap.swift; sourceTree = ""; }; - 60F35EC785BA80C735B4E9B3246A93EC /* Take.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Take.swift; path = RxSwift/Observables/Take.swift; sourceTree = ""; }; - 612E84A141BB52B45ABDC0F44CF8A820 /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = RxSwift/Observables/Map.swift; sourceTree = ""; }; - 61B2EF1B8DD30320C95ACA9F36E6F3A8 /* Zip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Zip.swift; path = RxSwift/Observables/Zip.swift; sourceTree = ""; }; + 5E335D889D28E55E8D929BD42511A03D /* Signal+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Signal+Subscription.swift"; path = "RxCocoa/Traits/Signal/Signal+Subscription.swift"; sourceTree = ""; }; + 5E4A42B187167A0767443AF440D5F8B6 /* Task.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Task.swift; path = Sources/Moya/Task.swift; sourceTree = ""; }; + 5E713DD71F597D2C3F0FFCBA03758EC3 /* Amb.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Amb.swift; path = RxSwift/Observables/Amb.swift; sourceTree = ""; }; + 5F588190C2E7D5B271DF830489459106 /* Reactor+Pulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Reactor+Pulse.swift"; path = "Sources/ReactorKit/Reactor+Pulse.swift"; sourceTree = ""; }; + 5F81AF160025ED89BC00E65979CAA57A /* RxCocoa-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxCocoa-dummy.m"; sourceTree = ""; }; + 600EE0BFF98611F12B6B6978C39FEAB6 /* Observable+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Bind.swift"; path = "RxRelay/Observable+Bind.swift"; sourceTree = ""; }; + 611262C4C2D79421F9C1B2EFCCE5ADB1 /* PublishRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishRelay.swift; path = RxRelay/PublishRelay.swift; sourceTree = ""; }; + 61A944A0DDA272F38D2D831B29AB1E7C /* SubjectType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubjectType.swift; path = RxSwift/Subjects/SubjectType.swift; sourceTree = ""; }; + 61B182ABB7B73D4D1A87BA4C8456BF52 /* URLRequest+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLRequest+Alamofire.swift"; path = "Source/URLRequest+Alamofire.swift"; sourceTree = ""; }; 61B6CCFF300506C38BB04B0C508BE6D8 /* Pods-Instagram */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = "Pods-Instagram"; path = Pods_Instagram.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 61C4F3E9971FCBDBADED1CEDFDECD823 /* VirtualTimeConverterType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeConverterType.swift; path = RxSwift/Schedulers/VirtualTimeConverterType.swift; sourceTree = ""; }; - 61C60480E87FB4A2EBF180BE089F2184 /* WeakMapTable-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeakMapTable-prefix.pch"; sourceTree = ""; }; - 61D9D09E371936C1C816A7015978E90C /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = RxSwift/Errors.swift; sourceTree = ""; }; - 62EF707C342621CD232306A2363592EA /* WeakMapTable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WeakMapTable.debug.xcconfig; sourceTree = ""; }; - 634CF36FA3309A91F25C2B61AF5314A6 /* UILayoutSupport+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UILayoutSupport+Extensions.swift"; path = "Source/UILayoutSupport+Extensions.swift"; sourceTree = ""; }; - 63530B11202248B9BCB428C74C428B06 /* ObservableConvertibleType+Infallible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Infallible.swift"; path = "RxSwift/Traits/Infallible/ObservableConvertibleType+Infallible.swift"; sourceTree = ""; }; - 63F0BACC09C9D17E044FF856B0A89FA2 /* KVORepresentable+Swift.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+Swift.swift"; path = "RxCocoa/Foundation/KVORepresentable+Swift.swift"; sourceTree = ""; }; - 66EABC313F90C337FB4D339D3459CE57 /* MoyaProvider+Internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Internal.swift"; path = "Sources/Moya/MoyaProvider+Internal.swift"; sourceTree = ""; }; - 6824D6196E90AA7CACF4D72567C60598 /* UIRefreshControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIRefreshControl+Rx.swift"; path = "RxCocoa/iOS/UIRefreshControl+Rx.swift"; sourceTree = ""; }; - 68AB2B0D6DD8A4788B318F5C00B0157E /* Reactor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactor.swift; path = Sources/ReactorKit/Reactor.swift; sourceTree = ""; }; - 68F688AE3657DF43517D1862AC4D76EB /* ConstraintRelation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintRelation.swift; path = Source/ConstraintRelation.swift; sourceTree = ""; }; - 6B613994394E0A641B7DB6CDCDEB4434 /* EventMonitor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EventMonitor.swift; path = Source/EventMonitor.swift; sourceTree = ""; }; - 6B890F2BA2C042BC0A7E6B69C65A3F0E /* RxCocoa-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-umbrella.h"; sourceTree = ""; }; - 6C64425A952BD8460A018B0DBF91FCE4 /* TargetType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TargetType.swift; path = Sources/Moya/TargetType.swift; sourceTree = ""; }; - 6D11FE213CD73CD37E250D1C792DBCB1 /* Generate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generate.swift; path = RxSwift/Observables/Generate.swift; sourceTree = ""; }; - 6D2F58A0D323A37BD54B3A6622EBC48D /* ElementAt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ElementAt.swift; path = RxSwift/Observables/ElementAt.swift; sourceTree = ""; }; - 6E15252D095246A98DB0924DC54C66C8 /* SubscriptionDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscriptionDisposable.swift; path = RxSwift/Disposables/SubscriptionDisposable.swift; sourceTree = ""; }; - 6E28D16E906E52A93AA28516EEE01156 /* SnapKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SnapKit-Info.plist"; sourceTree = ""; }; - 6E5B220452318D8DC354F881D7EF1EDC /* ReactorKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ReactorKit-prefix.pch"; sourceTree = ""; }; - 6E8DB5A3756CFC4D57236DC3CF00A58F /* Combine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Combine.swift; path = Source/Combine.swift; sourceTree = ""; }; - 6EAFC99CD228E8742D92B6FC305064C8 /* ConstraintRelatableTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintRelatableTarget.swift; path = Source/ConstraintRelatableTarget.swift; sourceTree = ""; }; - 6EF4C9B8552025190300BFBF9CEC3B61 /* BehaviorSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorSubject.swift; path = RxSwift/Subjects/BehaviorSubject.swift; sourceTree = ""; }; - 6F24BD31B11D9116A4370033B217526D /* SingleAsync.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAsync.swift; path = RxSwift/Observables/SingleAsync.swift; sourceTree = ""; }; - 6F2FB86FCEA141BD90AD9E9EDC4DE70A /* SharedSequence+Operators+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators+arity.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators+arity.swift"; sourceTree = ""; }; - 6F37DCF9DF27DB5A573ABAC96358F4D0 /* Observable+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Bind.swift"; path = "RxCocoa/Common/Observable+Bind.swift"; sourceTree = ""; }; - 6F4EE04F039DC0A68AF0384B6443B8B3 /* Timeout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeout.swift; path = RxSwift/Observables/Timeout.swift; sourceTree = ""; }; - 6F891E1BF2C0C6AA24053C9AD2ECC4CD /* RxKeyboard.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxKeyboard.modulemap; sourceTree = ""; }; - 709171001ACD33D421A0151F4045C555 /* DefaultIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DefaultIfEmpty.swift; path = RxSwift/Observables/DefaultIfEmpty.swift; sourceTree = ""; }; - 7107E6BAA711BF13F476344CDE9EBF6D /* Then-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Then-umbrella.h"; sourceTree = ""; }; - 714D4FE76016C740AED30DE7B968FC25 /* SectionedViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SectionedViewDataSourceType.swift; path = RxCocoa/Common/SectionedViewDataSourceType.swift; sourceTree = ""; }; - 717F2BEA1E7D5ECFFE72B042FC91EB1A /* RxCollectionViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDelegateProxy.swift; sourceTree = ""; }; - 7186CFFCC6DCDA7D9B7BEF86493D6766 /* ReactorKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ReactorKit-Info.plist"; sourceTree = ""; }; - 718FE18DF72D0F8582B39297BC37BDEB /* Driver+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Driver+Subscription.swift"; path = "RxCocoa/Traits/Driver/Driver+Subscription.swift"; sourceTree = ""; }; - 71E41C07F69D8243052807F2E585B8DB /* Then.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Then.debug.xcconfig; sourceTree = ""; }; - 72D2CA26CB640CE0EC9A058D60EDAF7E /* Endpoint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Endpoint.swift; path = Sources/Moya/Endpoint.swift; sourceTree = ""; }; - 73738B0286728AC9941251C1762B6B1B /* SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SharedSequence.swift; path = RxCocoa/Traits/SharedSequence/SharedSequence.swift; sourceTree = ""; }; - 744200EA6035BEABB81572FB4BAB1242 /* RxCocoaObjCRuntimeError+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "RxCocoaObjCRuntimeError+Extensions.swift"; path = "RxCocoa/Common/RxCocoaObjCRuntimeError+Extensions.swift"; sourceTree = ""; }; - 74DD102E8A79BA4E78FF81F57C8DBD13 /* CurrentThreadScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CurrentThreadScheduler.swift; path = RxSwift/Schedulers/CurrentThreadScheduler.swift; sourceTree = ""; }; - 755625A552CB4A4844215BD9E6812CB3 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Alamofire.modulemap; sourceTree = ""; }; - 76E004F108FD4D1B1FDBF678E582C8F7 /* SchedulerType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/SchedulerType+SharedSequence.swift"; sourceTree = ""; }; - 77239CC919A4EDB337A4359D9A1B1462 /* Then.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Then.release.xcconfig; sourceTree = ""; }; - 77362768C448D8FBC4B249A10EDB4C21 /* Debugging.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debugging.swift; path = Source/Debugging.swift; sourceTree = ""; }; - 7737C7C0F804606EF472F97DFB116343 /* CompositeDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompositeDisposable.swift; path = RxSwift/Disposables/CompositeDisposable.swift; sourceTree = ""; }; - 7751D39D2B25528BB946CDAA2F1742C0 /* RxTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTarget.swift; path = RxCocoa/Common/RxTarget.swift; sourceTree = ""; }; - 7770EE79C2BA41EDEECB7FB36B55A104 /* NSObject+Rx+RawRepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+RawRepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+RawRepresentable.swift"; sourceTree = ""; }; - 77A37C6F64BCD888BC66C7F08B2973C4 /* RxKeyboard-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxKeyboard-Info.plist"; sourceTree = ""; }; - 783848DD55EEECA5064484479CFD2D0D /* RxOptional-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxOptional-Info.plist"; sourceTree = ""; }; - 783E3196489A69C00E9C0D32AE13850F /* ConnectableObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConnectableObservableType.swift; path = RxSwift/ConnectableObservableType.swift; sourceTree = ""; }; - 794783FE06553920EB6C294C5B8A5B78 /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; - 796CBF60955D95BE12F4BCFBFF9186FE /* CombineLatest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CombineLatest.swift; path = RxSwift/Observables/CombineLatest.swift; sourceTree = ""; }; - 7BD7FC8594544F611A2FDCA0CA23271C /* DispatchQueueConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DispatchQueueConfiguration.swift; path = RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift; sourceTree = ""; }; - 7D0315940D38D5971DFB71BF13FB6AB9 /* ConstraintMultiplierTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMultiplierTarget.swift; path = Source/ConstraintMultiplierTarget.swift; sourceTree = ""; }; - 7D1C1BAEB2A7B60143A96FA6A211831C /* RxPickerViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDelegateProxy.swift; sourceTree = ""; }; - 7DBA9DE753E193DAF7A7D8FF379CCF4E /* KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KVORepresentable.swift; path = RxCocoa/Foundation/KVORepresentable.swift; sourceTree = ""; }; - 7E2E3F5FDA70AE6B2BFADAA8CD002262 /* UITextField+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextField+Rx.swift"; path = "RxCocoa/iOS/UITextField+Rx.swift"; sourceTree = ""; }; - 7E605BFE9FF02313BFE760837DD3FA2E /* Do.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Do.swift; path = RxSwift/Observables/Do.swift; sourceTree = ""; }; + 61B9E41F30AFDF922932765BAF33E4CB /* RxScrollViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxScrollViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxScrollViewDelegateProxy.swift; sourceTree = ""; }; + 61F1DEFC0411A62A2A94B7EE020EB03E /* Image.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Image.swift; path = Sources/Moya/Image.swift; sourceTree = ""; }; + 6299B86B15A578088239716671D46286 /* HTTPHeaders.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPHeaders.swift; path = Source/HTTPHeaders.swift; sourceTree = ""; }; + 62ACF6787A6FF09ADC707B120319724C /* Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Signal.swift; path = RxCocoa/Traits/Signal/Signal.swift; sourceTree = ""; }; + 62BCAD9032EF5F985C5F78928911BE2B /* RxCocoa.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoa.h; path = RxCocoa/RxCocoa.h; sourceTree = ""; }; + 62F59685D7FBE3C7ABC147FBF4128823 /* Session.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Session.swift; path = Source/Session.swift; sourceTree = ""; }; + 633AE66DC06472DBBA8C586AFFB65FAC /* AVAssetImageDataProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AVAssetImageDataProvider.swift; path = Sources/General/ImageSource/AVAssetImageDataProvider.swift; sourceTree = ""; }; + 63C5760D4FE2F162E49026EC655FEE68 /* ConstraintRelation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintRelation.swift; path = Source/ConstraintRelation.swift; sourceTree = ""; }; + 645CFBF86EE3549D5E75C630392B6626 /* ScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItem.swift; path = RxSwift/Schedulers/Internal/ScheduledItem.swift; sourceTree = ""; }; + 649C47587BFC9BE8A7D846A3027EA5EC /* MoyaError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MoyaError.swift; path = Sources/Moya/MoyaError.swift; sourceTree = ""; }; + 65077E38D343E839D85898159746659D /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; + 6528D460B75569F0CFE9BE4D3FFA8142 /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = RxSwift/Observables/Map.swift; sourceTree = ""; }; + 65296427F14DC611309AECF7906439C5 /* Moya.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Moya.release.xcconfig; sourceTree = ""; }; + 65DB5287928A68D874A7EA824CD69B32 /* RxPickerViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDataSourceProxy.swift; sourceTree = ""; }; + 6666A1435CE3F8ACCD1F6C0C219DCB05 /* BinaryDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BinaryDisposable.swift; path = RxSwift/Disposables/BinaryDisposable.swift; sourceTree = ""; }; + 668C6506D816C542951AA9D159790543 /* Moya.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Moya.debug.xcconfig; sourceTree = ""; }; + 66F81450D04B365AC02E1389ED1A3F02 /* WKInterfaceImage+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "WKInterfaceImage+Kingfisher.swift"; path = "Sources/Extensions/WKInterfaceImage+Kingfisher.swift"; sourceTree = ""; }; + 696589C09F19D2E5A55BE4231D440221 /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = ""; }; + 69DAE2B7780909ED70B47E71065EA37C /* URLConvertible+URLRequestConvertible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLConvertible+URLRequestConvertible.swift"; path = "Source/URLConvertible+URLRequestConvertible.swift"; sourceTree = ""; }; + 6A083734FEF1C10485D44E4610AE6E8E /* TargetType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TargetType.swift; path = Sources/Moya/TargetType.swift; sourceTree = ""; }; + 6A5DF48D6E7CD671EE35E0D241373838 /* AsMaybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsMaybe.swift; path = RxSwift/Observables/AsMaybe.swift; sourceTree = ""; }; + 6A9B9625E3E6572C2C00386B411E5AC9 /* ReplaySubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaySubject.swift; path = RxSwift/Subjects/ReplaySubject.swift; sourceTree = ""; }; + 6AC03C75907407F406DC19966A8A36CD /* ImageBinder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageBinder.swift; path = Sources/SwiftUI/ImageBinder.swift; sourceTree = ""; }; + 6AE6E5305759AB9521A78121B77D8D4B /* ReactorKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ReactorKit.release.xcconfig; sourceTree = ""; }; + 6B6735FA55A112868233A7BE8A4598EC /* Decode.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Decode.swift; path = RxSwift/Observables/Decode.swift; sourceTree = ""; }; + 6BDC476091BAE50413137ECA06DE051C /* AlamofireExtended.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AlamofireExtended.swift; path = Source/AlamofireExtended.swift; sourceTree = ""; }; + 6D4D12DA223970541894D02B014A0B65 /* CompactMap.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompactMap.swift; path = RxSwift/Observables/CompactMap.swift; sourceTree = ""; }; + 6E1FC123E5B276A369C02D8500EECEF9 /* RxRelay-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxRelay-Info.plist"; sourceTree = ""; }; + 6E77385002C7B2357879B1C6E6D33928 /* RxTableViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxTableViewReactiveArrayDataSource.swift; sourceTree = ""; }; + 6E952E20C1DB43518B9D14BDE9AE9418 /* ReactorKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ReactorKit.modulemap; sourceTree = ""; }; + 6E96DC07853329455B1443B5CA85106C /* SerialDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDisposable.swift; path = RxSwift/Disposables/SerialDisposable.swift; sourceTree = ""; }; + 6ED974BA16EB9285C91F54B416F60030 /* SwiftSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwiftSupport.swift; path = RxSwift/SwiftSupport/SwiftSupport.swift; sourceTree = ""; }; + 6EEFA7B098C64A3E54665DA5B7AC04AD /* SynchronizedDisposeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedDisposeType.swift; path = RxSwift/Concurrency/SynchronizedDisposeType.swift; sourceTree = ""; }; + 7021850CDD27EA17913A5F2BF6BCEF00 /* ConstraintDirectionalInsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDirectionalInsetTarget.swift; path = Source/ConstraintDirectionalInsetTarget.swift; sourceTree = ""; }; + 704FFF3C269815512F3CD567EB177777 /* UISwipeGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISwipeGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UISwipeGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + 709C0F50CA56FB1126B4D65F85744F58 /* Sample.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sample.swift; path = RxSwift/Observables/Sample.swift; sourceTree = ""; }; + 711220E69BA6788F924715DDFC9AA233 /* Infallible+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Zip+arity.swift"; path = "RxSwift/Traits/Infallible/Infallible+Zip+arity.swift"; sourceTree = ""; }; + 71669F9D3760D8D05B1A754C11E35042 /* KVORepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KVORepresentable.swift; path = RxCocoa/Foundation/KVORepresentable.swift; sourceTree = ""; }; + 71945E4542079157E5F2F124CF5FE18D /* ControlProperty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlProperty.swift; path = RxCocoa/Traits/ControlProperty.swift; sourceTree = ""; }; + 71A163AD9A3C051D525B474642015F12 /* Deferred.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deferred.swift; path = RxSwift/Observables/Deferred.swift; sourceTree = ""; }; + 71CFCD1FCA18BAFAF9ED1AA5D28AC351 /* KFOptionsSetter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFOptionsSetter.swift; path = Sources/General/KFOptionsSetter.swift; sourceTree = ""; }; + 72071B97E13F663057C172BAFB151951 /* Timeout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeout.swift; path = RxSwift/Observables/Timeout.swift; sourceTree = ""; }; + 7307553D0CCBD91822C27A2B5723DB5C /* RxKeyboard-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxKeyboard-Info.plist"; sourceTree = ""; }; + 7315360DB0B7B0DCFE360FFDD881F4CE /* ObservableConvertibleType+Infallible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Infallible.swift"; path = "RxSwift/Traits/Infallible/ObservableConvertibleType+Infallible.swift"; sourceTree = ""; }; + 731BA767D4014C8428A1620E3808762A /* Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+arity.swift"; path = "RxSwift/Observables/Zip+arity.swift"; sourceTree = ""; }; + 7383795D6F008DBFFA5074D9124BB972 /* RxCollectionViewReactiveArrayDataSource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewReactiveArrayDataSource.swift; path = RxCocoa/iOS/DataSources/RxCollectionViewReactiveArrayDataSource.swift; sourceTree = ""; }; + 743CCDB05750853CFD7C71B5C9713D2D /* SingleAssignmentDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAssignmentDisposable.swift; path = RxSwift/Disposables/SingleAssignmentDisposable.swift; sourceTree = ""; }; + 755D9E9846EF618B2E66AE08C22A62A1 /* Exports.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Exports.swift; path = Sources/ReactorKit/Exports.swift; sourceTree = ""; }; + 7654B30D77E69027FBCF0AAABD7981B4 /* Placeholder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Placeholder.swift; path = Sources/Image/Placeholder.swift; sourceTree = ""; }; + 766FB3CFACDD61AFEACD948FAA45EE8B /* AddRef.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AddRef.swift; path = RxSwift/Observables/AddRef.swift; sourceTree = ""; }; + 769A0E2C7188C728B1D999DD0BE0B2FC /* NSObject+Rx+RawRepresentable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Rx+RawRepresentable.swift"; path = "RxCocoa/Foundation/NSObject+Rx+RawRepresentable.swift"; sourceTree = ""; }; + 7781987FAC23D10DE34FF2EBEC2581EF /* ReactorKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ReactorKit-umbrella.h"; sourceTree = ""; }; + 77CA4CDFE9AF8496260BB29CA166F6C3 /* RecursiveScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveScheduler.swift; path = RxSwift/Schedulers/RecursiveScheduler.swift; sourceTree = ""; }; + 7819AB2F7969D9DB7C663DFFE247397B /* Maybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Maybe.swift; path = RxSwift/Traits/PrimitiveSequence/Maybe.swift; sourceTree = ""; }; + 79637718523EA481A8B8AFE8FFE9DE3D /* LayoutConstraintItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LayoutConstraintItem.swift; path = Source/LayoutConstraintItem.swift; sourceTree = ""; }; + 799F132C574F9599C1F8B8DD19FC83C6 /* ConstraintMakerExtendable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerExtendable.swift; path = Source/ConstraintMakerExtendable.swift; sourceTree = ""; }; + 7A1CF70DE0BF6F46E0D34007C9834B58 /* Stub.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stub.swift; path = Sources/ReactorKit/Stub.swift; sourceTree = ""; }; + 7A438100D724AC79A6B0CAB39BF6A937 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Alamofire.modulemap; sourceTree = ""; }; + 7ACF1269BD96B3EAEA81EBF7FBFCBB40 /* UILayoutSupport+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UILayoutSupport+Extensions.swift"; path = "Source/UILayoutSupport+Extensions.swift"; sourceTree = ""; }; + 7B288DFA22961A9BA702ECAA453CEEFE /* _RXObjCRuntime.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXObjCRuntime.m; path = RxCocoa/Runtime/_RXObjCRuntime.m; sourceTree = ""; }; + 7D63BB28F3BAA093DDC64A233EC06F37 /* SnapKit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SnapKit.release.xcconfig; sourceTree = ""; }; + 7DE07FF8519232235756FC737DB6401D /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = ""; }; + 7E353D430852E50F0AF9390D914A68FC /* UITextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITextView+Rx.swift"; path = "RxCocoa/iOS/UITextView+Rx.swift"; sourceTree = ""; }; 7E82B375F620E71EA112AB528E5EDA8D /* RxOptional */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxOptional; path = RxOptional.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7EAA7D7EE1BE27B1875C800B4978363F /* ObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableType.swift; path = RxSwift/ObservableType.swift; sourceTree = ""; }; - 7EF6AD3688E30D8DADD996F4B8AF330B /* Using.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Using.swift; path = RxSwift/Observables/Using.swift; sourceTree = ""; }; - 7F284E3D0EA4D1AB5240CAAACE97F3ED /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; - 7F93AA75142B4DA5E036DF4599449109 /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; - 7FFF40C88FB4C7D7DBFF0061D4EA1797 /* Then.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Then.swift; path = Sources/Then/Then.swift; sourceTree = ""; }; - 803855B7F93FDE3E2D4ACAC245446E2A /* URLConvertible+URLRequestConvertible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLConvertible+URLRequestConvertible.swift"; path = "Source/URLConvertible+URLRequestConvertible.swift"; sourceTree = ""; }; - 808B00F1DCD7B5EE0E7E80DAFA8359E6 /* _RX.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RX.h; path = RxCocoa/Runtime/include/_RX.h; sourceTree = ""; }; - 8099C281680720075FAD956577057E64 /* Utils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Utils.swift; path = RxRelay/Utils.swift; sourceTree = ""; }; + 7E838281C4C03BB768D2ECBECC82A045 /* Moya-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Moya-dummy.m"; sourceTree = ""; }; + 7F1AA7F68B1FB6564D9E367D3A91DE88 /* Driver+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Driver+Subscription.swift"; path = "RxCocoa/Traits/Driver/Driver+Subscription.swift"; sourceTree = ""; }; + 7FAD8CE633AFB9FF03E96CD40F26ED33 /* Combine.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Combine.swift; path = Source/Combine.swift; sourceTree = ""; }; + 80077D4E830DA3CB56BA4B122E9CF144 /* UISearchBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchBar+Rx.swift"; path = "RxCocoa/iOS/UISearchBar+Rx.swift"; sourceTree = ""; }; + 80889D70DD1A934B130DA76B777C3A17 /* OperationQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OperationQueueScheduler.swift; path = RxSwift/Schedulers/OperationQueueScheduler.swift; sourceTree = ""; }; 809C5FAB588354C9BA37DC3EAB8CB45C /* RxSwift */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxSwift; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 80B844C3D90DE4E87A4E307CC7F20DB9 /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; - 81ABDD1C13D64396DFC44864F3DCF17D /* ToArray.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToArray.swift; path = RxSwift/Observables/ToArray.swift; sourceTree = ""; }; - 82DFE39997410678FF195BCB0BBF8C2D /* Catch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Catch.swift; path = RxSwift/Observables/Catch.swift; sourceTree = ""; }; - 83E610867086D679F173FFDD4FC226D8 /* Enumerated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Enumerated.swift; path = RxSwift/Observables/Enumerated.swift; sourceTree = ""; }; - 83E9689521D6E6ED448E83830B738DB6 /* UIDatePicker+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIDatePicker+Rx.swift"; path = "RxCocoa/iOS/UIDatePicker+Rx.swift"; sourceTree = ""; }; - 84DCE23AFD00C0DB2E4114688B04B4FF /* WeakMapTable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WeakMapTable.swift; path = Sources/WeakMapTable/WeakMapTable.swift; sourceTree = ""; }; - 8571FFFA390D5DE8E74665E3EBD52776 /* RxScrollViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxScrollViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxScrollViewDelegateProxy.swift; sourceTree = ""; }; - 85E7B7155D6073B9BD1DD5D9F71E00F9 /* SchedulerServices+Emulation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerServices+Emulation.swift"; path = "RxSwift/Schedulers/SchedulerServices+Emulation.swift"; sourceTree = ""; }; - 860D00461DB00540BDEC0C88E1C8A76E /* SharedSequence+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators.swift"; sourceTree = ""; }; - 878E60D0CB8AB267E671C246C0027645 /* ConstraintView+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ConstraintView+Extensions.swift"; path = "Source/ConstraintView+Extensions.swift"; sourceTree = ""; }; - 8811820A148FF95D54E20214B21EA0B4 /* RxOptional-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-prefix.pch"; sourceTree = ""; }; - 88E3C69EABBEE909DF6DCAA0A74B3C97 /* ConstraintPriorityTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintPriorityTarget.swift; path = Source/ConstraintPriorityTarget.swift; sourceTree = ""; }; - 8900BE39D2B4894C2929A528E64BB711 /* ConstraintPriority.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintPriority.swift; path = Source/ConstraintPriority.swift; sourceTree = ""; }; - 89DEDC926F604AB19792CDCC150D8712 /* RxCocoa.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoa.h; path = RxCocoa/RxCocoa.h; sourceTree = ""; }; - 8AB22D1A9452D29624DFE494F11D10EF /* PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PrimitiveSequence.swift; path = RxSwift/Traits/PrimitiveSequence/PrimitiveSequence.swift; sourceTree = ""; }; - 8ABC4368B496175D683B636C8B9A2CA4 /* RxKeyboard.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxKeyboard.swift; path = Sources/RxKeyboard/RxKeyboard.swift; sourceTree = ""; }; - 8BEDCC154BF025B539DB5E0E7B76B4C8 /* RedirectHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RedirectHandler.swift; path = Source/RedirectHandler.swift; sourceTree = ""; }; - 8C03244677FBCB3EA14572D24231FFAC /* RxPickerViewAdapter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewAdapter.swift; path = RxCocoa/iOS/DataSources/RxPickerViewAdapter.swift; sourceTree = ""; }; - 8C76494B390F65D864D884E5E6BFD55C /* RxSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-prefix.pch"; sourceTree = ""; }; - 8D5DFBABC19732735CECC3070EF28F79 /* Bag+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Bag+Rx.swift"; path = "RxSwift/Extensions/Bag+Rx.swift"; sourceTree = ""; }; - 8DA3630B8F5FCE38171CA9C116CD0FFE /* Task.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Task.swift; path = Sources/Moya/Task.swift; sourceTree = ""; }; - 8DBF03E89A66BC0ED113149FA25314E8 /* Decode.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Decode.swift; path = RxSwift/Observables/Decode.swift; sourceTree = ""; }; - 8DD7BFE076A52230E13B80C8EA4862CD /* ReactorKitRuntime.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ReactorKitRuntime.m; path = Sources/ReactorKitRuntime/ReactorKitRuntime.m; sourceTree = ""; }; - 8E87C5BB83558637FF551E56C62670A2 /* ShareReplayScope.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ShareReplayScope.swift; path = RxSwift/Observables/ShareReplayScope.swift; sourceTree = ""; }; + 80BB11E978FC14A7F0172243A84F51C3 /* ToArray.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToArray.swift; path = RxSwift/Observables/ToArray.swift; sourceTree = ""; }; + 811762FE40D51B3CCE3F77CFC2481AC4 /* StringEncoding+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "StringEncoding+Alamofire.swift"; path = "Source/StringEncoding+Alamofire.swift"; sourceTree = ""; }; + 8151B7FD34F1C1C621A517E04D7D2FAC /* CurrentThreadScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CurrentThreadScheduler.swift; path = RxSwift/Schedulers/CurrentThreadScheduler.swift; sourceTree = ""; }; + 81F6F4FC5877400F57221E5571E26914 /* Then-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Then-umbrella.h"; sourceTree = ""; }; + 81F7DE293C3E6A35A8559075373D63F2 /* MultipartUpload.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartUpload.swift; path = Source/MultipartUpload.swift; sourceTree = ""; }; + 8273BEE7717FD457243087C6FEFE00A5 /* CallbackQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CallbackQueue.swift; path = Sources/Utility/CallbackQueue.swift; sourceTree = ""; }; + 837F1DAE2365DC18456103B7DE325095 /* RetryWhen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryWhen.swift; path = RxSwift/Observables/RetryWhen.swift; sourceTree = ""; }; + 845C813599F1FD6C64FE76C160011587 /* ImageDrawing.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDrawing.swift; path = Sources/Image/ImageDrawing.swift; sourceTree = ""; }; + 84DBAF49746DF6BF7832B96A059EC403 /* RxOptionalError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxOptionalError.swift; path = Sources/RxOptional/RxOptionalError.swift; sourceTree = ""; }; + 8567067712EBDBAB27FBBA396BE8A35D /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = ""; }; + 867561C483C174516C45401655F41092 /* ControlProperty+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlProperty+Driver.swift"; path = "RxCocoa/Traits/Driver/ControlProperty+Driver.swift"; sourceTree = ""; }; + 8833F416785EB37346707B2A9284B773 /* Then-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Then-dummy.m"; sourceTree = ""; }; + 88394A06D161E2889342C39761299ADE /* RxTableViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxTableViewDataSourceType.swift; sourceTree = ""; }; + 88457CE7F9C1492C792B1B2B6EACF059 /* AnimatedImageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnimatedImageView.swift; path = Sources/Views/AnimatedImageView.swift; sourceTree = ""; }; + 88E05300D5ACED733B17D05710D29D3D /* RxCocoa.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxCocoa.release.xcconfig; sourceTree = ""; }; + 898F21A3E3ADAB60B82D309A867C3E8E /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; + 8A538468EC500669191DEDB8C488820A /* RxKeyboard-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxKeyboard-umbrella.h"; sourceTree = ""; }; + 8AF776FE8DC3EB33F2FB61E2CEE651B9 /* Infallible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Infallible.swift; path = RxSwift/Traits/Infallible/Infallible.swift; sourceTree = ""; }; + 8AFF3E45CCB7E3B9CB0563744F7404AD /* CacheSerializer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CacheSerializer.swift; path = Sources/Cache/CacheSerializer.swift; sourceTree = ""; }; + 8B4A3B5AF08E12A6FD047158300D1373 /* Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Create.swift; path = RxSwift/Observables/Create.swift; sourceTree = ""; }; + 8B9D9EB1126CE65BA42FF82F540A7118 /* Generate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generate.swift; path = RxSwift/Observables/Generate.swift; sourceTree = ""; }; + 8C078BC0EC521E2F0449FAFA47A4EC6E /* URLSession+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLSession+Rx.swift"; path = "RxCocoa/Foundation/URLSession+Rx.swift"; sourceTree = ""; }; + 8D8E9A4D302DEB814075F0D2BC3F214D /* CachedResponseHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CachedResponseHandler.swift; path = Source/CachedResponseHandler.swift; sourceTree = ""; }; + 8E2597B61971EA69438CD54A41B83858 /* RxNavigationControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxNavigationControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxNavigationControllerDelegateProxy.swift; sourceTree = ""; }; + 8E779763D50449B806C0A9FBFC784ABD /* WithUnretained.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithUnretained.swift; path = RxSwift/Observables/WithUnretained.swift; sourceTree = ""; }; + 8EB9D3E901CD6958621DC0F4F08B808C /* FormatIndicatedCacheSerializer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FormatIndicatedCacheSerializer.swift; path = Sources/Cache/FormatIndicatedCacheSerializer.swift; sourceTree = ""; }; + 8EE0288D4711C1B2D0895B94FC519CD9 /* DisposeBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBase.swift; path = RxSwift/Disposables/DisposeBase.swift; sourceTree = ""; }; + 8EE2939092B79510CD7B3E5BFC5A1A8E /* GraphicsContext.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GraphicsContext.swift; path = Sources/Image/GraphicsContext.swift; sourceTree = ""; }; 8F1C05A6AAE90D295C98A6A46F23C0D6 /* Pods-Instagram.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Instagram.debug.xcconfig"; sourceTree = ""; }; - 8F43CAE833D52085FC1C7EBB3E05D31A /* AccessTokenPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AccessTokenPlugin.swift; path = Sources/Moya/Plugins/AccessTokenPlugin.swift; sourceTree = ""; }; - 8F4E8D5356D05F5265042338BD2057C2 /* Disposables.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposables.swift; path = RxSwift/Disposables/Disposables.swift; sourceTree = ""; }; - 8FB84899336A4CA5B4B9D16151BA27C6 /* ObservableType+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+Extensions.swift"; path = "RxSwift/ObservableType+Extensions.swift"; sourceTree = ""; }; - 905E98D7D97B00C73EE282BC3E8FA334 /* Then.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Then.modulemap; sourceTree = ""; }; - 905F351483D2A21B44922F4F64194014 /* UITapGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITapGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UITapGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - 90E60F7DF4F334F7E7F627DBB03A5E74 /* Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Signal.swift; path = RxCocoa/Traits/Signal/Signal.swift; sourceTree = ""; }; - 90F4BB9ED99DFF5CF7386AD135F6B23F /* Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Optional.swift; path = RxSwift/Observables/Optional.swift; sourceTree = ""; }; + 8F33FAE2E56710751F5B05532A873307 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = ""; }; + 8F7998E837CF9AAF85854D4E0946012D /* Observable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Observable.swift; path = RxSwift/Observable.swift; sourceTree = ""; }; + 8FB1C44863D4FCAA531431F224671E7E /* Timer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timer.swift; path = RxSwift/Observables/Timer.swift; sourceTree = ""; }; + 8FE60A4C443C1F83909E26CCC702C03B /* SerialDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDispatchQueueScheduler.swift; path = RxSwift/Schedulers/SerialDispatchQueueScheduler.swift; sourceTree = ""; }; + 90F1BC16FE4AA8AC06E7BC4ED934F6BF /* Alamofire.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.debug.xcconfig; sourceTree = ""; }; + 9172C07FE08CB7F3DA48AFAF048081C6 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = ""; }; + 9175BFBDC844DF1D035A03205A23506B /* AnyEncodable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyEncodable.swift; path = Sources/Moya/AnyEncodable.swift; sourceTree = ""; }; + 91C457A77256FB47AB4317BC6FD7E15D /* InvocableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableType.swift; path = RxSwift/Schedulers/Internal/InvocableType.swift; sourceTree = ""; }; + 91E1E64FC2FDF4805E20AB67F700AC1F /* UIBarButtonItem+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIBarButtonItem+Rx.swift"; path = "RxCocoa/iOS/UIBarButtonItem+Rx.swift"; sourceTree = ""; }; + 91FBE650EAE160EA0D6DF9725771C858 /* RxPickerViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxPickerViewDataSourceType.swift; sourceTree = ""; }; + 9239163FF22AAFFC2B2799EC195B2309 /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; 92DAEA8377F4CAF476779F0618A372AA /* Pods-Instagram-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Instagram-Info.plist"; sourceTree = ""; }; - 9312968996F3DD5C7F718803DE8D5125 /* Date+Dispatch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Date+Dispatch.swift"; path = "RxSwift/Date+Dispatch.swift"; sourceTree = ""; }; + 92EADEE98AFD36412A164CD4583155C7 /* RxRelay.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxRelay.release.xcconfig; sourceTree = ""; }; 9317E4947CA2FE1B5D5999034C09CCA7 /* Then */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Then; path = Then.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 9343CD8C6406E19E1C5A17CAE5A49188 /* Producer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Producer.swift; path = RxSwift/Observables/Producer.swift; sourceTree = ""; }; - 9433DC4D556BD9F87BCEC697348A642A /* ConstraintLayoutGuide.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutGuide.swift; path = Source/ConstraintLayoutGuide.swift; sourceTree = ""; }; - 94893EB3CEAF945C6004E0946EC70858 /* TailRecursiveSink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TailRecursiveSink.swift; path = RxSwift/Observers/TailRecursiveSink.swift; sourceTree = ""; }; - 953E912DA87A0829969621A1E2050B26 /* UIPanGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPanGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIPanGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - 963345BFB768D3D49AEDC923E4419224 /* SnapKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SnapKit-dummy.m"; sourceTree = ""; }; - 969D313B26E405CD7223A06CBD6739EC /* First.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = First.swift; path = RxSwift/Observables/First.swift; sourceTree = ""; }; - 96EAB48275DC39FF1A22FB107E90462A /* UIStepper+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIStepper+Rx.swift"; path = "RxCocoa/iOS/UIStepper+Rx.swift"; sourceTree = ""; }; - 972B6880FE33F1692D0DF0444904E818 /* Alamofire.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.release.xcconfig; sourceTree = ""; }; - 9733A2F460991DEBAE2A4A6373B4D31E /* SwiftGen.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftGen.release.xcconfig; sourceTree = ""; }; + 9392EFA81635D1AC09CD32A925B8D2A1 /* View+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "View+RxGesture.swift"; path = "Pod/Classes/View+RxGesture.swift"; sourceTree = ""; }; + 944F73B71BFF61E31E6A2FE8B4DC9C0A /* ConstraintOffsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintOffsetTarget.swift; path = Source/ConstraintOffsetTarget.swift; sourceTree = ""; }; + 946AF4A789BFD08291E492E2E59ABC14 /* SkipWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipWhile.swift; path = RxSwift/Observables/SkipWhile.swift; sourceTree = ""; }; + 94A8C498CBEFD0466191267FF8D2D346 /* RxKeyboard-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxKeyboard-prefix.pch"; sourceTree = ""; }; + 95B69903BFC36F1E4D71B1DFABACF25E /* KVORepresentable+Swift.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+Swift.swift"; path = "RxCocoa/Foundation/KVORepresentable+Swift.swift"; sourceTree = ""; }; + 95C95D4629F97F17AE927BDEB180DA2F /* ObservableConvertibleType+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Signal.swift"; path = "RxCocoa/Traits/Signal/ObservableConvertibleType+Signal.swift"; sourceTree = ""; }; + 96B9ED41A3BDE8CDEB32C40205C9279E /* ForceTouchGestureRecognizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ForceTouchGestureRecognizer.swift; path = Pod/Classes/iOS/ForceTouchGestureRecognizer.swift; sourceTree = ""; }; + 978AB9CF138873A1F9580865AB13CE52 /* RxCollectionViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; 979486118B3E90C08386079D57962701 /* SnapKit */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SnapKit; path = SnapKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 97AE8AD2EE8A869F2E8EDB996FC8CE15 /* TakeWithPredicate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeWithPredicate.swift; path = RxSwift/Observables/TakeWithPredicate.swift; sourceTree = ""; }; - 98685640ED2208A8503C99415EAC8048 /* RxRelay.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxRelay.modulemap; sourceTree = ""; }; - 988B6E404C7FE21A2F2419F54CEBC246 /* RxPickerViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxPickerViewDataSourceType.swift; sourceTree = ""; }; - 98F693C03A52A38F27FCD0A9CFD07222 /* Deferred.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deferred.swift; path = RxSwift/Observables/Deferred.swift; sourceTree = ""; }; - 9AAB70B82387A450BF2F68FECB9AD92A /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; - 9AB946B66C176ED06A98B044EE3A7FF3 /* Reduce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reduce.swift; path = RxSwift/Observables/Reduce.swift; sourceTree = ""; }; - 9ADA69F3EBDD57725226DA75565CD94A /* ConstraintMakerEditable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerEditable.swift; path = Source/ConstraintMakerEditable.swift; sourceTree = ""; }; - 9AEFB7F4CE00E3DA2784025216B3CD81 /* Alamofire-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Alamofire-Info.plist"; sourceTree = ""; }; - 9BC86148BC9FBE30BAFBA81C3211EF16 /* SerialDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDispatchQueueScheduler.swift; path = RxSwift/Schedulers/SerialDispatchQueueScheduler.swift; sourceTree = ""; }; - 9BC92D4817352B32EE0DEF5B572F33BE /* GestureFactory.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GestureFactory.swift; path = Pod/Classes/GestureFactory.swift; sourceTree = ""; }; - 9C80B96D14897B58C49132761CC17FE7 /* RxCocoa-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxCocoa-Info.plist"; sourceTree = ""; }; - 9D4D3F7EECEFCFF8DC8DE1AA46D46883 /* ConstraintMakerExtendable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerExtendable.swift; path = Source/ConstraintMakerExtendable.swift; sourceTree = ""; }; + 97D58F81DBEB9274EA35F8B684E8D802 /* ValidationType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ValidationType.swift; path = Sources/Moya/ValidationType.swift; sourceTree = ""; }; + 97E554E60E64B6520044383AF89D1B25 /* Merge.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Merge.swift; path = RxSwift/Observables/Merge.swift; sourceTree = ""; }; + 996C1A360141B206FBE1293D8477D4B4 /* SwiftGen.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftGen.debug.xcconfig; sourceTree = ""; }; + 99B4612F9D30BBA790EB1536438134C7 /* RxSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-umbrella.h"; sourceTree = ""; }; + 9A6E56F21CF22D8FD74E691494EF68CA /* UIPinchGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPinchGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIPinchGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + 9BE54076C6F6D3CBAA6DF6CD1A673031 /* ConstraintMakerRelatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerRelatable.swift; path = Source/ConstraintMakerRelatable.swift; sourceTree = ""; }; + 9C0A207BF1BCB135002A61BD63BF5808 /* Runtime.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Runtime.swift; path = Sources/Utility/Runtime.swift; sourceTree = ""; }; + 9C688DCAAEB684B86FF2F1A29892D1B5 /* Utils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Utils.swift; path = RxRelay/Utils.swift; sourceTree = ""; }; + 9CCDD8A108083FF2F0B9858561C25A12 /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = Sources/Image/Filter.swift; sourceTree = ""; }; 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9E8B47E7BE33715E475BD5181855CB4C /* DelegateProxyType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelegateProxyType.swift; path = RxCocoa/Common/DelegateProxyType.swift; sourceTree = ""; }; - 9F46548B315EBAC425A765B6125A0BF6 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = RxSwift/Observables/Error.swift; sourceTree = ""; }; - 9FC1F5D9D3580EC550E33F2302C48C7D /* RxKeyboard.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxKeyboard.release.xcconfig; sourceTree = ""; }; - 9FF9455B00A6D912035A370BBB1A78FE /* UICollectionView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UICollectionView+Rx.swift"; path = "RxCocoa/iOS/UICollectionView+Rx.swift"; sourceTree = ""; }; - A010D8FFF85D7926E559EC772651259A /* RxCocoaRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoaRuntime.h; path = RxCocoa/Runtime/include/RxCocoaRuntime.h; sourceTree = ""; }; - A02EA7BACD2FCA7BB87B7DA468D17247 /* DelaySubscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelaySubscription.swift; path = RxSwift/Observables/DelaySubscription.swift; sourceTree = ""; }; - A030B678CB4749FE0A32AE7363BFFD31 /* Cancelable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancelable.swift; path = RxSwift/Cancelable.swift; sourceTree = ""; }; - A03225CEDCF16F5400EEE6D22E6F262D /* MoyaProvider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Rx.swift"; path = "Sources/RxMoya/MoyaProvider+Rx.swift"; sourceTree = ""; }; - A1397EA86B01053AB896609974B60346 /* _RXDelegateProxy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXDelegateProxy.m; path = RxCocoa/Runtime/_RXDelegateProxy.m; sourceTree = ""; }; - A16933FFD3B253B971CC6F39FF36E991 /* View.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = View.swift; path = Sources/ReactorKit/View.swift; sourceTree = ""; }; - A169A58B8A03892AFCAF64795BB7214B /* ReactorKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ReactorKit-dummy.m"; sourceTree = ""; }; - A2697D36FDB0609BE48567E6196A34CD /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = ""; }; - A32BA6128473A9B31964E356A679357E /* UIPinchGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPinchGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIPinchGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - A5930AE62CAA1C0ADE55F398EF765400 /* Switch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Switch.swift; path = RxSwift/Observables/Switch.swift; sourceTree = ""; }; - A5DF18B1B5FE8F19CEFBF9694CCB9443 /* Pulse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Pulse.swift; path = Sources/ReactorKit/Pulse.swift; sourceTree = ""; }; - A6FECA375FC6A7807BF288367B563B23 /* NSButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSButton+Rx.swift"; path = "RxCocoa/macOS/NSButton+Rx.swift"; sourceTree = ""; }; - A71C4C18F3523D6AAA3D47ADF9B766A5 /* UIActivityIndicatorView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIActivityIndicatorView+Rx.swift"; path = "RxCocoa/iOS/UIActivityIndicatorView+Rx.swift"; sourceTree = ""; }; - A747CB02DE8D68E73C9EB3ECEC7D399D /* Empty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Empty.swift; path = RxSwift/Observables/Empty.swift; sourceTree = ""; }; - A77EDD0F6D0629A182AEEE253F937D5C /* RetryPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryPolicy.swift; path = Source/RetryPolicy.swift; sourceTree = ""; }; - A7A598980521BA743A95893A6EB2CF24 /* Just.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Just.swift; path = RxSwift/Observables/Just.swift; sourceTree = ""; }; - A89F61E429CA1DC7C50F1FC0EECBD07F /* Reactive.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactive.swift; path = RxSwift/Reactive.swift; sourceTree = ""; }; - AA81F9AAB59331702700CECD668F3A64 /* Observable+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Occupiable.swift"; path = "Sources/RxOptional/Observable+Occupiable.swift"; sourceTree = ""; }; - AC20F79B859E2EA7D35038C80B7FF047 /* SerialDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDisposable.swift; path = RxSwift/Disposables/SerialDisposable.swift; sourceTree = ""; }; - AC5764AC9D91361602086A2192BA4AC2 /* PublishRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishRelay.swift; path = RxRelay/PublishRelay.swift; sourceTree = ""; }; - AD6EEB752DE2D49ADD32CD3D42E6ADCE /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = ""; }; - AD8481B729DA28713857C42B6B2FE179 /* StoryboardView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StoryboardView.swift; path = Sources/ReactorKit/StoryboardView.swift; sourceTree = ""; }; - AE69515243ADE72347BA65A5C894A85F /* HistoricalScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalScheduler.swift; path = RxSwift/Schedulers/HistoricalScheduler.swift; sourceTree = ""; }; - AE98A573262ABCD111FA0D683B5C9EDD /* RxTabBarControllerDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTabBarControllerDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTabBarControllerDelegateProxy.swift; sourceTree = ""; }; - AEE8A849D6095ED994F8D765C1FE7B9E /* UILongPressGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UILongPressGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UILongPressGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - B05A24DECC971E402A67410FDC8423E2 /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = ""; }; - B07C230C972755CE919AFEA372DA9E40 /* Then-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Then-Info.plist"; sourceTree = ""; }; - B294C59D083488E2BDB4D0A0693E1AD4 /* Stub.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stub.swift; path = Sources/ReactorKit/Stub.swift; sourceTree = ""; }; - B29B3D10D0342BE2F082E19004787982 /* ConstraintLayoutSupportDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutSupportDSL.swift; path = Source/ConstraintLayoutSupportDSL.swift; sourceTree = ""; }; - B32C7757FD713CFE9E44767804C18244 /* StateRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StateRelay.swift; path = Sources/ReactorKit/StateRelay.swift; sourceTree = ""; }; - B33405763486E78C119AEDE63CAAFC69 /* WeakMapTable-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "WeakMapTable-Info.plist"; sourceTree = ""; }; - B3CAB360E1DE3B181545BF523351B6A1 /* Skip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Skip.swift; path = RxSwift/Observables/Skip.swift; sourceTree = ""; }; + A067C758E4A03A992987150CE7E10687 /* ImageProgressive.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageProgressive.swift; path = Sources/Image/ImageProgressive.swift; sourceTree = ""; }; + A06B01F1FBCB1A7BA23BEF7ED068E6DF /* ConstraintInsets.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintInsets.swift; path = Source/ConstraintInsets.swift; sourceTree = ""; }; + A1402B751BDDF320D303F8497C99D4E2 /* VirtualTimeConverterType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeConverterType.swift; path = RxSwift/Schedulers/VirtualTimeConverterType.swift; sourceTree = ""; }; + A195F5DF277D9C7C43A99CD0FAC950E1 /* ImageView+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ImageView+Kingfisher.swift"; path = "Sources/Extensions/ImageView+Kingfisher.swift"; sourceTree = ""; }; + A1AF91BF648BEED0CFB46BD741220EB6 /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = ""; }; + A1EA49A72E64A1BDFE1F43C44C832D3F /* ConstraintDirectionalInsets.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDirectionalInsets.swift; path = Source/ConstraintDirectionalInsets.swift; sourceTree = ""; }; + A1F8A8EBE1469F81E5DAAE48C7781ED3 /* UIStepper+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIStepper+Rx.swift"; path = "RxCocoa/iOS/UIStepper+Rx.swift"; sourceTree = ""; }; + A25F0605398FBE5DB283E859525B7D6A /* RxWKNavigationDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxWKNavigationDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxWKNavigationDelegateProxy.swift; sourceTree = ""; }; + A2D782664FD21E470A7CDC63737D937C /* Date+Dispatch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Date+Dispatch.swift"; path = "RxSwift/Date+Dispatch.swift"; sourceTree = ""; }; + A2F587E8A774BA992DD6D6E709B19F6D /* Sink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sink.swift; path = RxSwift/Observables/Sink.swift; sourceTree = ""; }; + A3297E45A1DB160CD768619C82170CC9 /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; + A3AD1713D2974A4189E8D054C3515383 /* WeakMapTable.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = WeakMapTable.modulemap; sourceTree = ""; }; + A4722260193AE8267A529057B10DCD2A /* ImageDownloader.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDownloader.swift; path = Sources/Networking/ImageDownloader.swift; sourceTree = ""; }; + A48D3D24C3E035B78A9C0C5437F09105 /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; + A4B39DA908C3312A8016B7824CC11AB1 /* BehaviorRelay+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "BehaviorRelay+Driver.swift"; path = "RxCocoa/Traits/Driver/BehaviorRelay+Driver.swift"; sourceTree = ""; }; + A5F7BD01E7D9E70B18A5AEB5FC79210A /* Event.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Event.swift; path = RxSwift/Event.swift; sourceTree = ""; }; + A6C085FFE831E810B0F1D5FFFF422594 /* Concat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concat.swift; path = RxSwift/Observables/Concat.swift; sourceTree = ""; }; + A782B8A6F6E407A1D5A2A14CF7A98A8A /* Moya.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Moya.modulemap; sourceTree = ""; }; + A7DEE8EE2F6E59BDF2F6E0817056CF92 /* Source.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Source.swift; path = Sources/General/ImageSource/Source.swift; sourceTree = ""; }; + A86A27F8EA7BD456BCEC19A094B8312C /* ConstraintLayoutSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutSupport.swift; path = Source/ConstraintLayoutSupport.swift; sourceTree = ""; }; + A8793DCB9447424B8DD078DCB3ADA852 /* Cancelable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancelable.swift; path = RxSwift/Cancelable.swift; sourceTree = ""; }; + A8A582419F97A5E1F7E520A3478819E1 /* Reactor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactor.swift; path = Sources/ReactorKit/Reactor.swift; sourceTree = ""; }; + A8D1834BBA5468347091803F0D49C093 /* ConstraintPriorityTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintPriorityTarget.swift; path = Source/ConstraintPriorityTarget.swift; sourceTree = ""; }; + A9044D9DD6F453A8067B2FEC561B82DD /* NetworkActivityPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkActivityPlugin.swift; path = Sources/Moya/Plugins/NetworkActivityPlugin.swift; sourceTree = ""; }; + A9197729420500CE22ADE259FE73335B /* Bag+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Bag+Rx.swift"; path = "RxSwift/Extensions/Bag+Rx.swift"; sourceTree = ""; }; + A95E9B19D12B87DE8B820D6D18991700 /* Sequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sequence.swift; path = RxSwift/Observables/Sequence.swift; sourceTree = ""; }; + A9629DA3FCA854F210E2AFA0AA06DF8E /* SwitchIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwitchIfEmpty.swift; path = RxSwift/Observables/SwitchIfEmpty.swift; sourceTree = ""; }; + A9E792445D835EA2565340C71A423B2C /* Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rx.swift; path = RxSwift/Rx.swift; sourceTree = ""; }; + AA42BD1F053CF49D832A5A463220E407 /* Completable+AndThen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Completable+AndThen.swift"; path = "RxSwift/Traits/PrimitiveSequence/Completable+AndThen.swift"; sourceTree = ""; }; + AAD5C9138AAC8CDF223AF617A9071219 /* _RX.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RX.m; path = RxCocoa/Runtime/_RX.m; sourceTree = ""; }; + AB36473D5DDEBE7E88811700A4C74977 /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = RxSwift/Errors.swift; sourceTree = ""; }; + AB9CAA1455F01B340433FE4F3E9F589E /* CredentialsPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CredentialsPlugin.swift; path = Sources/Moya/Plugins/CredentialsPlugin.swift; sourceTree = ""; }; + ADD813AEE8A6C1CCC99F44A5C8CFF720 /* ConstraintAttributes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintAttributes.swift; path = Source/ConstraintAttributes.swift; sourceTree = ""; }; + AE2BB49DB71EFBDD2EBB14D92144BF8F /* ConstraintConstantTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintConstantTarget.swift; path = Source/ConstraintConstantTarget.swift; sourceTree = ""; }; + AE9BAB1320614B692B20CF0BA7D7F076 /* ConstraintConfig.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintConfig.swift; path = Source/ConstraintConfig.swift; sourceTree = ""; }; + AF03C11C43CFFABC93BC018C4F4837F6 /* ConstraintPriority.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintPriority.swift; path = Source/ConstraintPriority.swift; sourceTree = ""; }; + AF0FC63FA73C8E4FDB3DB11EA6DA1C5A /* String+MD5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+MD5.swift"; path = "Sources/Utility/String+MD5.swift"; sourceTree = ""; }; + AF1A720E4B22FD9E8DC61C7E804D8501 /* AnyObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyObserver.swift; path = RxSwift/AnyObserver.swift; sourceTree = ""; }; + AF3BFCE2F76FF80378B4C1003D10F710 /* UITabBarController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBarController+Rx.swift"; path = "RxCocoa/iOS/UITabBarController+Rx.swift"; sourceTree = ""; }; + AF55E4C7BBDA945D895CE251989FEF17 /* RxSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.release.xcconfig; sourceTree = ""; }; + B03245586FAA244DE020674D204B10D2 /* RxGesture-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxGesture-Info.plist"; sourceTree = ""; }; + B07C2E2D0DAC2F4486CDE06DB443182F /* RxOptional.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxOptional.modulemap; sourceTree = ""; }; + B0C7EF2B646794CE0926743FA902F0BA /* ReactorKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ReactorKit-dummy.m"; sourceTree = ""; }; + B10438718EEDFE0E9F5469DBDE030E84 /* SharedTypes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SharedTypes.swift; path = Pod/Classes/SharedTypes.swift; sourceTree = ""; }; + B10FEE1B39599976E4E3A87CD51BE95C /* ReactorKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ReactorKit.debug.xcconfig; sourceTree = ""; }; + B168A715D98F61EDDC960CB5C62C8405 /* RxSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxSwift-dummy.m"; sourceTree = ""; }; + B1B042844DDF1688A9B9152F53C7257A /* KFImageProtocol.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFImageProtocol.swift; path = Sources/SwiftUI/KFImageProtocol.swift; sourceTree = ""; }; + B1D14FE2AA8C4036D145678A0C73B1DC /* RetryPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryPolicy.swift; path = Source/RetryPolicy.swift; sourceTree = ""; }; + B1E992D3E2DEB3D1C1D835F65CD6035E /* ObserverBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverBase.swift; path = RxSwift/Observers/ObserverBase.swift; sourceTree = ""; }; + B24DCF789FFC218C25E3C9DDC21ABAD3 /* UITableView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITableView+Rx.swift"; path = "RxCocoa/iOS/UITableView+Rx.swift"; sourceTree = ""; }; + B2F7C06EC6A3318142553E67EB92D329 /* IdentityEquatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IdentityEquatable.swift; path = Sources/ReactorKit/IdentityEquatable.swift; sourceTree = ""; }; + B32563BB64EB7C7E015B985AB2269B68 /* UIRotationGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIRotationGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIRotationGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + B3460105B04739E33F351BE647E034B7 /* RxTableViewDataSourcePrefetchingProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourcePrefetchingProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourcePrefetchingProxy.swift; sourceTree = ""; }; B410DCBE90B3B7A03D73EA32F863D844 /* ReactorKit */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ReactorKit; path = ReactorKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B4F4CFAE1178DF75BDF760E071F537B5 /* CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+arity.swift"; path = "RxSwift/Observables/CombineLatest+arity.swift"; sourceTree = ""; }; - B4FA7498E60FCAE76EF4182B15E95C56 /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; - B540B55AF9A5DE48AC869B3375129488 /* RxKeyboard.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxKeyboard.debug.xcconfig; sourceTree = ""; }; - B5BDB9F990E043E6E2439B1E74742410 /* SnapKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SnapKit.modulemap; sourceTree = ""; }; - B5C488575AA10795CC8E9B6CF36857ED /* AnonymousDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousDisposable.swift; path = RxSwift/Disposables/AnonymousDisposable.swift; sourceTree = ""; }; - B66C2F57C26269519043F10808BBF9DD /* HistoricalSchedulerTimeConverter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalSchedulerTimeConverter.swift; path = RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift; sourceTree = ""; }; - B70BD449E6F8A92EF5DE06C14921E1DA /* ReactorKitRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ReactorKitRuntime.h; path = Sources/ReactorKitRuntime/include/ReactorKitRuntime.h; sourceTree = ""; }; + B58E7E85088483755816AC1E162DDEF2 /* SynchronizedOnType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedOnType.swift; path = RxSwift/Concurrency/SynchronizedOnType.swift; sourceTree = ""; }; + B613566F989E8550569279A288BFBC2C /* ImageProcessor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageProcessor.swift; path = Sources/Image/ImageProcessor.swift; sourceTree = ""; }; + B6C7E905CFCA4B4B31DFC57EA1B1006F /* MoyaProvider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Rx.swift"; path = "Sources/RxMoya/MoyaProvider+Rx.swift"; sourceTree = ""; }; B71F069CAD56161E921A3F460F531C97 /* Pods-Instagram.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Instagram.modulemap"; sourceTree = ""; }; - B722A2F9D14E61E165AD64647980E659 /* NetworkActivityPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkActivityPlugin.swift; path = Sources/Moya/Plugins/NetworkActivityPlugin.swift; sourceTree = ""; }; - B7B7A48D8D099D10435F58610BECA33A /* ConstraintLayoutSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutSupport.swift; path = Source/ConstraintLayoutSupport.swift; sourceTree = ""; }; - B8EE00399A5C97F77929FD5F6DCCC5D8 /* RxTextViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextViewDelegateProxy.swift; sourceTree = ""; }; - B91EFAA15EE51E9613E1032C01C4630E /* Exports.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Exports.swift; path = Sources/ReactorKit/Exports.swift; sourceTree = ""; }; - BA79EBD740D063EC2FE7610BA95F6A7A /* Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rx.swift; path = RxSwift/Rx.swift; sourceTree = ""; }; + B73D3F59AA8CD9CD1DB8DB39478B6CD7 /* RxGesture.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxGesture.debug.xcconfig; sourceTree = ""; }; + B760FF7C7B19BB5B6CBEADB979FE22B6 /* Storage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Storage.swift; path = Sources/Cache/Storage.swift; sourceTree = ""; }; + B84D003E4CAD07F8A2F2BDA9D897FD09 /* HistoricalScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalScheduler.swift; path = RxSwift/Schedulers/HistoricalScheduler.swift; sourceTree = ""; }; + B8B137794E9128EA9DDD1C118B80C251 /* CombineLatest+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+Collection.swift"; path = "RxSwift/Observables/CombineLatest+Collection.swift"; sourceTree = ""; }; + B8B831F0BF501E86750A584B96093C82 /* RxRelay.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxRelay.modulemap; sourceTree = ""; }; + B90A4C19F4821338EA608C13C37A8508 /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = ""; }; + B93FE95B2EE279B172F4CA1EEBA67BDB /* RxOptional-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxOptional-dummy.m"; sourceTree = ""; }; + B9489BFC487C03A6C6E7817FA32EE879 /* RxOptional-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-prefix.pch"; sourceTree = ""; }; + B94ABE564B84480D5BAE681C439BB36A /* Range.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Range.swift; path = RxSwift/Observables/Range.swift; sourceTree = ""; }; + B954917DA26CF3AE989B1FD572BEC7B9 /* IdentityHashable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IdentityHashable.swift; path = Sources/ReactorKit/IdentityHashable.swift; sourceTree = ""; }; + B95DB6F1BCBF3D9ED91957FF8E0EFD0E /* CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+arity.swift"; path = "RxSwift/Observables/CombineLatest+arity.swift"; sourceTree = ""; }; + B9678C3AA6B1EF7B445F751D1B9473B3 /* RedirectHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RedirectHandler.swift; path = Source/RedirectHandler.swift; sourceTree = ""; }; + B981D8AE0793C177B202F365042B4635 /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; + B98F3175CE05C24ECB21764FFA0A919A /* ObservableConvertibleType+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Driver.swift"; path = "RxCocoa/Traits/Driver/ObservableConvertibleType+Driver.swift"; sourceTree = ""; }; BAAA3144223ACF8166199E1DF08B17F9 /* Pods-Instagram-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Instagram-acknowledgements.plist"; sourceTree = ""; }; - BAB8A9774A35510C73D28CAB89AD6129 /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; - BAC66FA4EE7F95A7BAF394FF22E3CDA7 /* HTTPMethod.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPMethod.swift; path = Source/HTTPMethod.swift; sourceTree = ""; }; - BAEA26E5A0E2B82BD83578C05E5BCAE6 /* SwiftGen.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SwiftGen.debug.xcconfig; sourceTree = ""; }; - BB2BDDC3B31C99B5888F3D137ED7B678 /* WeakMapTable.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WeakMapTable.release.xcconfig; sourceTree = ""; }; - BB580C86B8DA2DDB40110305D03FC737 /* AddRef.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AddRef.swift; path = RxSwift/Observables/AddRef.swift; sourceTree = ""; }; - BB94C796945A7F97D6BDED288CE41181 /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = ""; }; - BC398C6738D0782FB79841DC267FC1BC /* UIControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIControl+Rx.swift"; path = "RxCocoa/iOS/UIControl+Rx.swift"; sourceTree = ""; }; + BB112BE6D790F2BDA7E8A704C2C11A47 /* Dematerialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Dematerialize.swift; path = RxSwift/Observables/Dematerialize.swift; sourceTree = ""; }; + BBC2777FD00F1236536EAD1E3D796543 /* Completable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Completable.swift; path = RxSwift/Traits/PrimitiveSequence/Completable.swift; sourceTree = ""; }; + BC12038DE738824617B099DABCAEB700 /* CombineLatest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CombineLatest.swift; path = RxSwift/Observables/CombineLatest.swift; sourceTree = ""; }; BC432FD48A5932251F1CAFBC4BF74894 /* RxCocoa */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxCocoa; path = RxCocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - BC4F54594E8FC009D1D240FCC8AA2ADA /* Observable+Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Response.swift"; path = "Sources/RxMoya/Observable+Response.swift"; sourceTree = ""; }; - BD7589D60650BDC1A7F0A9EEA44D9187 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = ""; }; - BDDB8060620CD6B1D229910B892A1AF0 /* ConstraintMakerFinalizable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerFinalizable.swift; path = Source/ConstraintMakerFinalizable.swift; sourceTree = ""; }; - BEDFBB9CB59E7D625AAB6BB215A4D626 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScreenEdgePanGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIScreenEdgePanGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - BEE564B8EFD3CF35C82D4B66FFA4805B /* RxCocoa-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxCocoa-dummy.m"; sourceTree = ""; }; - BF508FF0B3E546960CE4F12C4ACDD69D /* DistinctUntilChanged.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DistinctUntilChanged.swift; path = RxSwift/Observables/DistinctUntilChanged.swift; sourceTree = ""; }; - BF9ABFAF771A6BC0672B85C956FF4CEE /* Concurrency.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concurrency.swift; path = Source/Concurrency.swift; sourceTree = ""; }; - C07C6F3CC08EBBE9701946763684E2D6 /* KVORepresentable+CoreGraphics.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+CoreGraphics.swift"; path = "RxCocoa/Foundation/KVORepresentable+CoreGraphics.swift"; sourceTree = ""; }; - C1753EC9C8842E93A8EDD3AC0B08F465 /* URLRequest+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLRequest+Alamofire.swift"; path = "Source/URLRequest+Alamofire.swift"; sourceTree = ""; }; - C36E07CBFAC420D4FC25991764335004 /* UITabBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBar+Rx.swift"; path = "RxCocoa/iOS/UITabBar+Rx.swift"; sourceTree = ""; }; - C39C26B6EEABFE7AB5E5AC038BF3FA25 /* ConstraintView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintView.swift; path = Source/ConstraintView.swift; sourceTree = ""; }; - C4CBAE4D3885D98C5913BC1D1FE22F32 /* RxCollectionViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxCollectionViewDataSourceProxy.swift; sourceTree = ""; }; - C52D71ED249E3616249DB8DD9F468DF2 /* Signal+Subscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Signal+Subscription.swift"; path = "RxCocoa/Traits/Signal/Signal+Subscription.swift"; sourceTree = ""; }; - C57A6D496B5D666BC82DAB0A8C42FE2E /* AnonymousObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousObserver.swift; path = RxSwift/Observers/AnonymousObserver.swift; sourceTree = ""; }; - C62EE1015A51F1FA22AF8EE847F7A393 /* ImmediateSchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmediateSchedulerType.swift; path = RxSwift/ImmediateSchedulerType.swift; sourceTree = ""; }; - C6B2633F274D539B690F716237EA2D5D /* RxSearchBarDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxSearchBarDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxSearchBarDelegateProxy.swift; sourceTree = ""; }; - C6B82B7E7EE235DE451ACF9BDDF34C27 /* Session.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Session.swift; path = Source/Session.swift; sourceTree = ""; }; - C83FE91AFEC5D17B8F75701927DCE986 /* CachedResponseHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CachedResponseHandler.swift; path = Source/CachedResponseHandler.swift; sourceTree = ""; }; - C86DA7E616B8A125D807071B1596043A /* MainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MainScheduler.swift; path = RxSwift/Schedulers/MainScheduler.swift; sourceTree = ""; }; - C88C559E260AF27B62BF4924CB768BD4 /* GenericRxGestureRecognizerDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GenericRxGestureRecognizerDelegate.swift; path = Pod/Classes/GenericRxGestureRecognizerDelegate.swift; sourceTree = ""; }; - C964B77057E61E6BEC146AA65FD8E8EE /* ObservableType+PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+PrimitiveSequence.swift"; path = "RxSwift/Traits/PrimitiveSequence/ObservableType+PrimitiveSequence.swift"; sourceTree = ""; }; - C9CD895DF24D8A8EAC14E4096FF9CF69 /* StartWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StartWith.swift; path = RxSwift/Observables/StartWith.swift; sourceTree = ""; }; - CA2BE2F7E655587ED9CE5CB6037ED40C /* RxGesture-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxGesture-prefix.pch"; sourceTree = ""; }; - CA90C4718CF3DB81F0533B0B8505FF08 /* ScheduledItemType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItemType.swift; path = RxSwift/Schedulers/Internal/ScheduledItemType.swift; sourceTree = ""; }; - CC08A1DB650DA12511E7ACF3FD833906 /* SchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SchedulerType.swift; path = RxSwift/SchedulerType.swift; sourceTree = ""; }; - CC66EC8B913EBECD53F5E4EE086A1EE6 /* ScheduledDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledDisposable.swift; path = RxSwift/Disposables/ScheduledDisposable.swift; sourceTree = ""; }; - CC9373C73AB4309EB897389ED7CCDF7B /* Observable+Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Optional.swift"; path = "Sources/RxOptional/Observable+Optional.swift"; sourceTree = ""; }; - CD0D7A02E256EEC1A04AD167759F03D9 /* RxCollectionViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxCollectionViewDataSourceType.swift; sourceTree = ""; }; - CD50F1396F2341B9FF9A8AB8247FF44A /* Moya.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Moya.release.xcconfig; sourceTree = ""; }; - CE56111F5DBEF7D45FD7377ACA6FA4CB /* WithLatestFrom.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithLatestFrom.swift; path = RxSwift/Observables/WithLatestFrom.swift; sourceTree = ""; }; - CEAA247747745A7138E403F704D8A61F /* _RXObjCRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXObjCRuntime.h; path = RxCocoa/Runtime/include/_RXObjCRuntime.h; sourceTree = ""; }; - CECC38BDBFE7476A8B565A33DE544AD2 /* ReplaySubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaySubject.swift; path = RxSwift/Subjects/ReplaySubject.swift; sourceTree = ""; }; - CEE39F264C8CA25AD25F411ACE8D886A /* Moya-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Moya-prefix.pch"; sourceTree = ""; }; - CF089E24C4C0495A5390DB27F1D5AEE8 /* ServerTrustEvaluation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustEvaluation.swift; path = Source/ServerTrustEvaluation.swift; sourceTree = ""; }; - CF2CD16A90166FFA57E755EEB4784E4B /* SnapKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SnapKit-umbrella.h"; sourceTree = ""; }; - CF9322A269D5351A0FD9E98FD8C92D90 /* GestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "GestureRecognizer+RxGesture.swift"; path = "Pod/Classes/GestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - CFA713923A13E0A75E10D90AF9E91E2D /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = ""; }; - CFDAA8BC564E497B5FF67F42C7C03679 /* SubjectType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubjectType.swift; path = RxSwift/Subjects/SubjectType.swift; sourceTree = ""; }; - D073D74794376B63B0604C2789290645 /* RxRelay-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxRelay-Info.plist"; sourceTree = ""; }; - D10A437D9235F52C5A792698A8626AA2 /* GroupBy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupBy.swift; path = RxSwift/Observables/GroupBy.swift; sourceTree = ""; }; - D1815C5019D73AE2B7B5E40DFF3FA1CD /* UIRotationGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIRotationGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIRotationGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; - D19D61F1B152B6622EF55BB7FE1D8750 /* SkipUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipUntil.swift; path = RxSwift/Observables/SkipUntil.swift; sourceTree = ""; }; - D1A27EF6F67CABF1A948C202920D1383 /* HTTPHeaders.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HTTPHeaders.swift; path = Source/HTTPHeaders.swift; sourceTree = ""; }; - D1D4C3FAC2289834FECEF3E8665AC9A6 /* UINavigationController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UINavigationController+Rx.swift"; path = "RxCocoa/iOS/UINavigationController+Rx.swift"; sourceTree = ""; }; - D23BE1A4AFC47F0575AE10541B426BAA /* IdentityHashable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IdentityHashable.swift; path = Sources/ReactorKit/IdentityHashable.swift; sourceTree = ""; }; - D29C83FCA2C7DB9EB767361A3E17BEF3 /* Infallible.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Infallible.swift; path = RxSwift/Traits/Infallible/Infallible.swift; sourceTree = ""; }; - D2B6C82224E97200DA5777721F11A144 /* WeakMapTable.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = WeakMapTable.modulemap; sourceTree = ""; }; - D2DFFAB3F3536611DCC0A4ABFB1D7A03 /* ObserveOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserveOn.swift; path = RxSwift/Observables/ObserveOn.swift; sourceTree = ""; }; - D3BA2A09C2805665BF66923C3540D06E /* ConstraintLayoutGuide+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ConstraintLayoutGuide+Extensions.swift"; path = "Source/ConstraintLayoutGuide+Extensions.swift"; sourceTree = ""; }; - D3E5441DBD6E65EE33714F8B5858015F /* RxGesture.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxGesture.release.xcconfig; sourceTree = ""; }; - D4E309925AEEC09657129AD0CC9B8850 /* TransformGestureRecognizers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformGestureRecognizers.swift; path = Pod/Classes/iOS/TransformGestureRecognizers.swift; sourceTree = ""; }; + BC8041F95DD624E38B8E571F8DF5448B /* Producer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Producer.swift; path = RxSwift/Observables/Producer.swift; sourceTree = ""; }; + BCC23757231191B04315BB7D91C4F6A9 /* WeakMapTable-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "WeakMapTable-dummy.m"; sourceTree = ""; }; + BCF5D9A8EBFC3DA2024D6BAE3CC4E5A8 /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = ""; }; + BD2527818B473B9832AC7C8590A06E53 /* RxCocoa-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-prefix.pch"; sourceTree = ""; }; + BD3628ECEBB6023F3FF7E46563003B60 /* TouchDownGestureRecognizer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TouchDownGestureRecognizer.swift; path = Pod/Classes/iOS/TouchDownGestureRecognizer.swift; sourceTree = ""; }; + C11EA82F87C8F1DB28BCE8D504636F9E /* KFImageOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFImageOptions.swift; path = Sources/SwiftUI/KFImageOptions.swift; sourceTree = ""; }; + C1B3A94D6528A8F0222712D65C7DE134 /* URLRequest+Encoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLRequest+Encoding.swift"; path = "Sources/Moya/URLRequest+Encoding.swift"; sourceTree = ""; }; + C2B4514CAB7434706E52357A93BA62D5 /* ReactorKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ReactorKit-Info.plist"; sourceTree = ""; }; + C320DB64CB8D608FFB4640272802BC0A /* URLEncodedFormEncoder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URLEncodedFormEncoder.swift; path = Source/URLEncodedFormEncoder.swift; sourceTree = ""; }; + C3D2E8C137AA52DC5F0BFD889415E5BE /* Cancellable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancellable.swift; path = Sources/Moya/Cancellable.swift; sourceTree = ""; }; + C3D32973BA034A931C64724E9CC829DB /* Buffer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Buffer.swift; path = RxSwift/Observables/Buffer.swift; sourceTree = ""; }; + C3F021C5C3C2580ACD8E5BA358CF573E /* ConstraintMaker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMaker.swift; path = Source/ConstraintMaker.swift; sourceTree = ""; }; + C3F44C782D64D7EB20B61CE3844EBFAD /* Kingfisher */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Kingfisher; path = Kingfisher.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C45038E030FE608F637BC67A2FB72D8E /* ImageDataProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageDataProvider.swift; path = Sources/General/ImageSource/ImageDataProvider.swift; sourceTree = ""; }; + C492E8F0A255F9A40FCD491F42C58D2C /* Observable+Bind.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Bind.swift"; path = "RxCocoa/Common/Observable+Bind.swift"; sourceTree = ""; }; + C5530E9168BC92AE68A39D1C899ABDC8 /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Sources/Moya/MultipartFormData.swift; sourceTree = ""; }; + C6009B2A6EC93BF66A3D46C61737BF30 /* ObservableType+PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+PrimitiveSequence.swift"; path = "RxSwift/Traits/PrimitiveSequence/ObservableType+PrimitiveSequence.swift"; sourceTree = ""; }; + C61E5D79FE23691306BC47756BF0297F /* RxGesture.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxGesture.release.xcconfig; sourceTree = ""; }; + C73C7FED0DF030FBF0B00573C4B0E42C /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = ""; }; + C780A6D2482C87B06501DB5B85C9CD98 /* DelaySubscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelaySubscription.swift; path = RxSwift/Observables/DelaySubscription.swift; sourceTree = ""; }; + C7B8335F7A7B84C0DE3E2DD8FA03B3DF /* Multicast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Multicast.swift; path = RxSwift/Observables/Multicast.swift; sourceTree = ""; }; + C7C2EF9DA197A6FA5B742E3B3E1C9D35 /* RxOptional.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxOptional.debug.xcconfig; sourceTree = ""; }; + C7F7213D850C152F4E6883880B2DAED4 /* RxCocoa-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxCocoa-Info.plist"; sourceTree = ""; }; + C818975D61056F186C919FC85EB61D7E /* ConstraintMakerPriortizable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerPriortizable.swift; path = Source/ConstraintMakerPriortizable.swift; sourceTree = ""; }; + C8B948FAA50AEBD08AAC3AD63911F259 /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; + C8EEAAE3A79F78BC3A9CA3F26F1A9876 /* WeakMapTable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WeakMapTable.swift; path = Sources/WeakMapTable/WeakMapTable.swift; sourceTree = ""; }; + C926CB7774778E85AE7C7D6B41962A9A /* UIHoverGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIHoverGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UIHoverGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + CA6B4786941D601225E096DEB55204F3 /* SizeExtensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SizeExtensions.swift; path = Sources/Utility/SizeExtensions.swift; sourceTree = ""; }; + CA7C1AC9E714BE70A11AA06F199AE741 /* Accelerate.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Accelerate.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Accelerate.framework; sourceTree = DEVELOPER_DIR; }; + CAACE2BEA00686E5FFEB4C8D07AC78B4 /* ConstraintItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintItem.swift; path = Source/ConstraintItem.swift; sourceTree = ""; }; + CB4049FE89DA90B917F1FCCF8FB47262 /* ConstraintLayoutGuide.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutGuide.swift; path = Source/ConstraintLayoutGuide.swift; sourceTree = ""; }; + CB47BB53121B268CCD0B8839686E9097 /* Never.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Never.swift; path = RxSwift/Observables/Never.swift; sourceTree = ""; }; + CB4BFD376E4184DCE6B00DCB82A33C4F /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; + CBB849D087658992E5F15CD70550A915 /* RxCocoa-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxCocoa-umbrella.h"; sourceTree = ""; }; + CBDFC81F0EAA142D8ABBEF87B4166634 /* ItemEvents.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ItemEvents.swift; path = RxCocoa/iOS/Events/ItemEvents.swift; sourceTree = ""; }; + CCE60291356B1317A9E8935414533531 /* ConstraintLayoutGuideDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutGuideDSL.swift; path = Source/ConstraintLayoutGuideDSL.swift; sourceTree = ""; }; + CCF4AFD32307195FA9E088A3062AB25D /* PublishSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishSubject.swift; path = RxSwift/Subjects/PublishSubject.swift; sourceTree = ""; }; + CCFA88846D6E26F398D9EF2DC9267058 /* UIScrollView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIScrollView+Rx.swift"; path = "RxCocoa/iOS/UIScrollView+Rx.swift"; sourceTree = ""; }; + CD079C5223B838C223C950CD53095A12 /* UIGestureRecognizer+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIGestureRecognizer+Rx.swift"; path = "RxCocoa/iOS/UIGestureRecognizer+Rx.swift"; sourceTree = ""; }; + CD265D7D3283FD3690871CA451818F45 /* WeakMapTable.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WeakMapTable.release.xcconfig; sourceTree = ""; }; + CD55DB7D81D9F399AC629E33E687F565 /* View.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = View.swift; path = Sources/ReactorKit/View.swift; sourceTree = ""; }; + CD55DB924DA0F0F9BB41695D80E0587C /* _RXKVOObserver.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = _RXKVOObserver.m; path = RxCocoa/Runtime/_RXKVOObserver.m; sourceTree = ""; }; + CD5E1FE29B3E23A481F267E970AF9949 /* RxCocoaRuntime.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = RxCocoaRuntime.h; path = RxCocoa/Runtime/include/RxCocoaRuntime.h; sourceTree = ""; }; + CD6A2A103866F700D2F5EFE0C40C5F29 /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Sources/Networking/SessionDelegate.swift; sourceTree = ""; }; + CDF4F1A8C907E650FF6E14AC44224879 /* Observable+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Occupiable.swift"; path = "Sources/RxOptional/Observable+Occupiable.swift"; sourceTree = ""; }; + CE067B1A38C0DA39392BF8A68FBC144D /* MoyaProvider+Internal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Internal.swift"; path = "Sources/Moya/MoyaProvider+Internal.swift"; sourceTree = ""; }; + CE5BD53FFE81A7BCBC95477A3370BC83 /* RxSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-prefix.pch"; sourceTree = ""; }; + CF0EBF26E7189B58BDACA5ACDEF015C1 /* TransformGestureRecognizers.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformGestureRecognizers.swift; path = Pod/Classes/iOS/TransformGestureRecognizers.swift; sourceTree = ""; }; + CF9087015E5243440A1329BE6F597A2A /* SnapKit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SnapKit.debug.xcconfig; sourceTree = ""; }; + D001E828833FDB24A1D65B051FEFE7EF /* WeakMapTable-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "WeakMapTable-Info.plist"; sourceTree = ""; }; + D00227063AD70B2F020D7F5FD27DD7F2 /* RxOptional.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxOptional.release.xcconfig; sourceTree = ""; }; + D011DDC8D06A46C95192BCA4BEAFF49B /* ConstraintView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintView.swift; path = Source/ConstraintView.swift; sourceTree = ""; }; + D02BE6BFB52A616E1C25C1DD988CB501 /* Using.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Using.swift; path = RxSwift/Observables/Using.swift; sourceTree = ""; }; + D0B275F3F304C54F6617F701441270BD /* MoyaProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MoyaProvider.swift; path = Sources/Moya/MoyaProvider.swift; sourceTree = ""; }; + D0E4DDE26C2CBD92890F0119FFF60159 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Sources/Moya/Response.swift; sourceTree = ""; }; + D15FAA4F90F7AD831758A2F69641A4C0 /* ConstraintLayoutSupportDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutSupportDSL.swift; path = Source/ConstraintLayoutSupportDSL.swift; sourceTree = ""; }; + D19164811CAA48A9F27D4F68A0A5CEF4 /* KVORepresentable+CoreGraphics.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "KVORepresentable+CoreGraphics.swift"; path = "RxCocoa/Foundation/KVORepresentable+CoreGraphics.swift"; sourceTree = ""; }; + D1A244A9A69D44430E272EE3F935CEA7 /* ConstraintRelatableTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintRelatableTarget.swift; path = Source/ConstraintRelatableTarget.swift; sourceTree = ""; }; + D27192295DC207A5613F79F66DD6FDC0 /* SharedSequence+Operators+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Operators+arity.swift"; path = "RxCocoa/Traits/SharedSequence/SharedSequence+Operators+arity.swift"; sourceTree = ""; }; + D2AC5C57AA6357F3815DE453637393DA /* Then.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Then.release.xcconfig; sourceTree = ""; }; + D31CD0F25CD659C218DF24EB9D34E254 /* NSTextView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSTextView+Rx.swift"; path = "RxCocoa/macOS/NSTextView+Rx.swift"; sourceTree = ""; }; + D3624A4E950327F709E047EACB520788 /* RxKeyboard-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxKeyboard-dummy.m"; sourceTree = ""; }; + D39D4EBDD7EE373E1B27288097AEE642 /* ObservableConvertibleType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/ObservableConvertibleType+SharedSequence.swift"; sourceTree = ""; }; + D3E2F1A5882AD6FB9F9C9946BB5CEED3 /* _RXDelegateProxy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXDelegateProxy.h; path = RxCocoa/Runtime/include/_RXDelegateProxy.h; sourceTree = ""; }; + D46B329D35740489028D526E3F0FAA6B /* ReactorKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ReactorKit-prefix.pch"; sourceTree = ""; }; + D4713DDE01D30B1FE666EEDA31C258F3 /* Typealiases.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Typealiases.swift; path = Source/Typealiases.swift; sourceTree = ""; }; + D492A4F4C8823EF5F8FD15EE440B17F6 /* AsyncSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncSubject.swift; path = RxSwift/Subjects/AsyncSubject.swift; sourceTree = ""; }; + D51333F3D72EB02247887DBAC0FCA5A8 /* ImageTransition.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImageTransition.swift; path = Sources/Image/ImageTransition.swift; sourceTree = ""; }; D55CA032D57C65F1FA651EDB99AEBA2F /* Pods-Instagram.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Instagram.release.xcconfig"; sourceTree = ""; }; - D5939ED615CBDA815F0287572E30F094 /* ConstraintConfig.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintConfig.swift; path = Source/ConstraintConfig.swift; sourceTree = ""; }; - D6192819EBF5F7767065460E883F9EB1 /* WeakMapTable-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "WeakMapTable-umbrella.h"; sourceTree = ""; }; - D65E87D2C01D6A1C912EBB867FC007C3 /* TakeLast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeLast.swift; path = RxSwift/Observables/TakeLast.swift; sourceTree = ""; }; - D68E33B37C0235F62E7C0ED06F62B17C /* RxSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-umbrella.h"; sourceTree = ""; }; - D6D14C3A52BEDFD875BEBE959CF7C1B3 /* BehaviorRelay+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "BehaviorRelay+Driver.swift"; path = "RxCocoa/Traits/Driver/BehaviorRelay+Driver.swift"; sourceTree = ""; }; - D74339AF742C2FA803F689AA1E8BEA94 /* RxKeyboard-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxKeyboard-prefix.pch"; sourceTree = ""; }; - D81621E84B9485D73C824B2FCB4C983D /* AnyEncodable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyEncodable.swift; path = Sources/Moya/AnyEncodable.swift; sourceTree = ""; }; - D965FAEEB92040A085E7AAAC7DEBE63B /* Lock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Lock.swift; path = RxSwift/Concurrency/Lock.swift; sourceTree = ""; }; - D970640E8BE9CB97D1C086F4D17B60BB /* MoyaProvider+Defaults.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "MoyaProvider+Defaults.swift"; path = "Sources/Moya/MoyaProvider+Defaults.swift"; sourceTree = ""; }; - DA7DC0250C6F1703032F9D280024B952 /* UIPickerView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIPickerView+Rx.swift"; path = "RxCocoa/iOS/UIPickerView+Rx.swift"; sourceTree = ""; }; - DAF516BDFD4363B662ABAA8E3296E4FD /* Repeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Repeat.swift; path = RxSwift/Observables/Repeat.swift; sourceTree = ""; }; - DBED98EE28B74C41071C29EE2BFA68D7 /* BinaryDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BinaryDisposable.swift; path = RxSwift/Disposables/BinaryDisposable.swift; sourceTree = ""; }; - DC31CAFF0297E3B8FF1C608661188AEB /* InvocableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableType.swift; path = RxSwift/Schedulers/Internal/InvocableType.swift; sourceTree = ""; }; - DD0C7505340B7ACDEFD2DD6B2B06B36A /* InvocableScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableScheduledItem.swift; path = RxSwift/Schedulers/Internal/InvocableScheduledItem.swift; sourceTree = ""; }; - DD98B406100DCF9F466BAA4ADC75A053 /* ObserverBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverBase.swift; path = RxSwift/Observers/ObserverBase.swift; sourceTree = ""; }; - DF7A7BF4F85AB2E58D05A34A13AE2547 /* RxTableViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTableViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxTableViewDataSourceProxy.swift; sourceTree = ""; }; - DFAFD794CCDBFBE824567971E0A840FB /* RxSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxSwift-dummy.m"; sourceTree = ""; }; - DFB6E9E38B1CC3E814A432A6E93D7277 /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = ""; }; - DFC9730861EB6724EC9C622B1DEBBA85 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = ""; }; - E0266BF9CFB826EDDCFC13C7E0A958F9 /* ObservableConvertibleType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableConvertibleType.swift; path = RxSwift/ObservableConvertibleType.swift; sourceTree = ""; }; - E0297F226DBE30A48DFBB888D4A14DAA /* ConstraintDescription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDescription.swift; path = Source/ConstraintDescription.swift; sourceTree = ""; }; - E04CB9E78518323637B3F7BBA9DDD57A /* RxCocoa.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxCocoa.debug.xcconfig; sourceTree = ""; }; - E0E7CD44B86706C16BEBEEC02743B70F /* WeakMapTable-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "WeakMapTable-dummy.m"; sourceTree = ""; }; - E10DBDE9E3CE762B08D307081D9D0011 /* Constraint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Constraint.swift; path = Source/Constraint.swift; sourceTree = ""; }; - E12B18EA8FDAA5875A8CC48F225F82BC /* RxSwift-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "RxSwift-Info.plist"; sourceTree = ""; }; - E13B117F1AD257F9F9D881919D5D9F37 /* RxRelay-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxRelay-prefix.pch"; sourceTree = ""; }; - E16BCA9E120E032727C533E4E2719C1A /* ConstraintItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintItem.swift; path = Source/ConstraintItem.swift; sourceTree = ""; }; - E2D03D1D427E1B3AD6A1D392EF12041F /* Debug.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debug.swift; path = RxSwift/Observables/Debug.swift; sourceTree = ""; }; - E2E7CFAA3BAF5ECEF2AE2936E6742FE2 /* Scan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Scan.swift; path = RxSwift/Observables/Scan.swift; sourceTree = ""; }; - E2F2FC6B652A5B12A9D36BB02FDD4A16 /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = ""; }; - E3C77BAB00B5E895B08D48866339D575 /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; - E3D76B812593C46182D5AC6BC61B0AE2 /* SynchronizedOnType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedOnType.swift; path = RxSwift/Concurrency/SynchronizedOnType.swift; sourceTree = ""; }; - E3E87700931EE876E55B1803E53EC3D3 /* ControlEvent+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ControlEvent+Signal.swift"; path = "RxCocoa/Traits/Signal/ControlEvent+Signal.swift"; sourceTree = ""; }; - E411EE8D45F5A4758F72E9C6D11F295B /* Moya.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Moya.debug.xcconfig; sourceTree = ""; }; - E4CF0CE9953A00F1BBC5CBD09709D816 /* CredentialsPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CredentialsPlugin.swift; path = Sources/Moya/Plugins/CredentialsPlugin.swift; sourceTree = ""; }; - E5039D6B8EED282AC88714328E2E808F /* AsSingle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsSingle.swift; path = RxSwift/Observables/AsSingle.swift; sourceTree = ""; }; - E540EBA4FBA3EBA12456955FB7F22F16 /* PrimitiveSequence+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PrimitiveSequence+Zip+arity.swift"; path = "RxSwift/Traits/PrimitiveSequence/PrimitiveSequence+Zip+arity.swift"; sourceTree = ""; }; - E5B0924D2A3DEE5564E6713E5E531589 /* ConstraintConstantTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintConstantTarget.swift; path = Source/ConstraintConstantTarget.swift; sourceTree = ""; }; - E5B678BE7F50C957235D46882EEBFEB9 /* Result+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Result+Alamofire.swift"; path = "Source/Result+Alamofire.swift"; sourceTree = ""; }; - E5DA7EC2F4B48FFD548443C7077E4810 /* UIGestureRecognizer+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIGestureRecognizer+Rx.swift"; path = "RxCocoa/iOS/UIGestureRecognizer+Rx.swift"; sourceTree = ""; }; - E66241FCCF6FF8B4ECF8BC158FA0813D /* Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Create.swift; path = RxSwift/Observables/Create.swift; sourceTree = ""; }; - E6A55574FCE606CE3367D3FF96B640E6 /* TextInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TextInput.swift; path = RxCocoa/Common/TextInput.swift; sourceTree = ""; }; - E6E9630D734FBEE5314E90FF271968E1 /* RxOptional-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxOptional-dummy.m"; sourceTree = ""; }; - E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - E81D2BD64FAF7CC3E6AC9BDB9EE8BC75 /* Moya.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Moya.modulemap; sourceTree = ""; }; - E9F4B275E3603794E231C5C04489240D /* ObservableConvertibleType+Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableConvertibleType+Driver.swift"; path = "RxCocoa/Traits/Driver/ObservableConvertibleType+Driver.swift"; sourceTree = ""; }; - E9F66A66422833FABB1267FF226D001A /* UIApplication+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIApplication+Rx.swift"; path = "RxCocoa/iOS/UIApplication+Rx.swift"; sourceTree = ""; }; - EA30691D73A8230A61C4B6E4443BCB38 /* UISearchBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchBar+Rx.swift"; path = "RxCocoa/iOS/UISearchBar+Rx.swift"; sourceTree = ""; }; - EAD62592B8537A56F6DE79E30F8FEEBB /* BooleanDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BooleanDisposable.swift; path = RxSwift/Disposables/BooleanDisposable.swift; sourceTree = ""; }; - EB869115A8A12A7A1AE0EF3D2B3D38F0 /* UISearchController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchController+Rx.swift"; path = "RxCocoa/iOS/UISearchController+Rx.swift"; sourceTree = ""; }; - EB981652736C533DE27A4E6EDEFCF40C /* AsMaybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsMaybe.swift; path = RxSwift/Observables/AsMaybe.swift; sourceTree = ""; }; - EBADCBE1375382A5B0A78DD4539848C4 /* StringEncoding+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "StringEncoding+Alamofire.swift"; path = "Source/StringEncoding+Alamofire.swift"; sourceTree = ""; }; - EDD8B695DF72001157AE608336943DDB /* Sequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sequence.swift; path = RxSwift/Observables/Sequence.swift; sourceTree = ""; }; - EE5831A46F62E9E1218147DA303026E6 /* UISwitch+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISwitch+Rx.swift"; path = "RxCocoa/iOS/UISwitch+Rx.swift"; sourceTree = ""; }; - EE917D893654CCB1277E8D66AF27F7A2 /* NetworkLoggerPlugin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkLoggerPlugin.swift; path = Sources/Moya/Plugins/NetworkLoggerPlugin.swift; sourceTree = ""; }; - EF7821CE31D9E88AEFD61ED544C57603 /* ConstraintLayoutGuideDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintLayoutGuideDSL.swift; path = Source/ConstraintLayoutGuideDSL.swift; sourceTree = ""; }; - F02FC33C1F3ECFAEC33A924127364D8A /* SkipWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipWhile.swift; path = RxSwift/Observables/SkipWhile.swift; sourceTree = ""; }; - F0F1F46CA80C1662BE67D9F65F18945A /* ControlEvent.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ControlEvent.swift; path = RxCocoa/Traits/ControlEvent.swift; sourceTree = ""; }; - F1037FEEFC472FCECF10EC053400C6B1 /* UIButton+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Rx.swift"; path = "RxCocoa/iOS/UIButton+Rx.swift"; sourceTree = ""; }; - F437CF974065CCE6171374108E450321 /* Multicast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Multicast.swift; path = RxSwift/Observables/Multicast.swift; sourceTree = ""; }; - F4B19BA13E60FD0954B294926814DB01 /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = ""; }; - F4B5611007001AD28CAF10A19F7032EB /* RxCocoa.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCocoa.swift; path = RxCocoa/RxCocoa.swift; sourceTree = ""; }; - F541AF9A6089446F1DDFAA46548D6EAB /* RxGesture-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxGesture-dummy.m"; sourceTree = ""; }; - F59C99859A20E204AC49C2946E621C42 /* ConstraintMakerPriortizable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintMakerPriortizable.swift; path = Source/ConstraintMakerPriortizable.swift; sourceTree = ""; }; - F5B304D8191522561A75BDFC40857EB4 /* RxRelay-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxRelay-dummy.m"; sourceTree = ""; }; - F6A8C8E2AFB1D2CD7A4C529AC3971D9C /* ValidationType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ValidationType.swift; path = Sources/Moya/ValidationType.swift; sourceTree = ""; }; - F6AB62EFAA60CEC262A724655DD4ABC9 /* ConcurrentMainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentMainScheduler.swift; path = RxSwift/Schedulers/ConcurrentMainScheduler.swift; sourceTree = ""; }; - F6BBC107899D7BA764E4B05F0E11AF77 /* UITabBarController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBarController+Rx.swift"; path = "RxCocoa/iOS/UITabBarController+Rx.swift"; sourceTree = ""; }; - F725365BB3B40C833AF15E4380D13CED /* ReplayRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplayRelay.swift; path = RxRelay/ReplayRelay.swift; sourceTree = ""; }; - F77FE450D73FCBE85ACF4C8DBD99613F /* ConstraintAttributes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintAttributes.swift; path = Source/ConstraintAttributes.swift; sourceTree = ""; }; - F7C6E0D11714369064C0B5B7975B16AF /* NSSlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSSlider+Rx.swift"; path = "RxCocoa/macOS/NSSlider+Rx.swift"; sourceTree = ""; }; - F869B224D547FA95ACE69C44547C264F /* Image.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Image.swift; path = Sources/Moya/Image.swift; sourceTree = ""; }; - F8755F70EBE021FA9FC9F4EA7B2EC378 /* SingleAssignmentDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAssignmentDisposable.swift; path = RxSwift/Disposables/SingleAssignmentDisposable.swift; sourceTree = ""; }; - F8790F5E6A1B3497A0BEDCE979CD0AB6 /* URLRequest+Encoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URLRequest+Encoding.swift"; path = "Sources/Moya/URLRequest+Encoding.swift"; sourceTree = ""; }; - F89362897EBF41C1769EBD511DCE8653 /* RxPickerViewDataSourceProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxPickerViewDataSourceProxy.swift; path = RxCocoa/iOS/Proxies/RxPickerViewDataSourceProxy.swift; sourceTree = ""; }; - F9BA12963CB9ADA27ADF8E11F123605B /* SharedTypes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SharedTypes.swift; path = Pod/Classes/SharedTypes.swift; sourceTree = ""; }; - F9F36650EA30EC5861A6E105F0A8CDF7 /* ScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItem.swift; path = RxSwift/Schedulers/Internal/ScheduledItem.swift; sourceTree = ""; }; - FA0AD9DF8D93EBD1D83C95AAC0F892D1 /* BehaviorRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorRelay.swift; path = RxRelay/BehaviorRelay.swift; sourceTree = ""; }; - FB0811C2CA959CCF232320EF797DF450 /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = ""; }; - FC1FCA7E58A88574EE3C9DA15FDA327E /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = ""; }; - FD2BA46C07C2CB40DCC047220CCF563A /* RxRelay.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxRelay.release.xcconfig; sourceTree = ""; }; - FDF6A6E12876E821A6DE43F87FDE4658 /* _RXDelegateProxy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = _RXDelegateProxy.h; path = RxCocoa/Runtime/include/_RXDelegateProxy.h; sourceTree = ""; }; + D597F5F713453A46A29917FD7C9105D1 /* RxOptional-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxOptional-umbrella.h"; sourceTree = ""; }; + D620593C1A3E157D3524974BEE253211 /* PublishRelay+Signal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PublishRelay+Signal.swift"; path = "RxCocoa/Traits/Signal/PublishRelay+Signal.swift"; sourceTree = ""; }; + D657BD1BDA248292B42421FFE2FB30B3 /* ConstraintDescription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDescription.swift; path = Source/ConstraintDescription.swift; sourceTree = ""; }; + D69C89CCEB4D687229179B3E18376A0E /* Debugging.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debugging.swift; path = Source/Debugging.swift; sourceTree = ""; }; + D7393910085A13A640E3DEF86BC7305E /* SectionedViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SectionedViewDataSourceType.swift; path = RxCocoa/Common/SectionedViewDataSourceType.swift; sourceTree = ""; }; + D744159E37264908783DE0F1DDF27773 /* RxTextViewDelegateProxy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxTextViewDelegateProxy.swift; path = RxCocoa/iOS/Proxies/RxTextViewDelegateProxy.swift; sourceTree = ""; }; + D77720AC93C54E6C47A02827FEBF0B49 /* NSControl+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSControl+Rx.swift"; path = "RxCocoa/macOS/NSControl+Rx.swift"; sourceTree = ""; }; + D7AB3139E84272AF514B893318F96FBC /* Lock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Lock.swift; path = RxSwift/Concurrency/Lock.swift; sourceTree = ""; }; + D822A4ABEBFEA36EAA337BC37258CF09 /* KingfisherError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherError.swift; path = Sources/General/KingfisherError.swift; sourceTree = ""; }; + D8697D028E4067A296C98222C39EFD80 /* Infallible+Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Operators.swift"; path = "RxSwift/Traits/Infallible/Infallible+Operators.swift"; sourceTree = ""; }; + D903B428E096757A532006748B58A733 /* Concurrency.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concurrency.swift; path = Source/Concurrency.swift; sourceTree = ""; }; + D94368B83EF6780A0831DD0EF5BAFC7F /* SubscriptionDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscriptionDisposable.swift; path = RxSwift/Disposables/SubscriptionDisposable.swift; sourceTree = ""; }; + D9B2492996E165BFC534464E236D156B /* Delegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Delegate.swift; path = Sources/Utility/Delegate.swift; sourceTree = ""; }; + DA59903AD3A3526D13DE998E598C38D0 /* RequestInterceptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestInterceptor.swift; path = Source/RequestInterceptor.swift; sourceTree = ""; }; + DA84C6A812BF3CA2DBF1C72DE1CF51AD /* URL+Moya.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URL+Moya.swift"; path = "Sources/Moya/URL+Moya.swift"; sourceTree = ""; }; + DBC75D414B7C90FC374C4A13AF4A840F /* Single.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Single.swift; path = RxSwift/Traits/PrimitiveSequence/Single.swift; sourceTree = ""; }; + DC84512D0DDD4881AFCBFA883B4A2576 /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = ""; }; + DCE94BC8E5E955F41A2D9EBA6404EEB0 /* WeakMapTable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = WeakMapTable.debug.xcconfig; sourceTree = ""; }; + DCF146EB75E35C581A80660A0EEFD3DB /* SharedSequence+Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SharedSequence+Occupiable.swift"; path = "Sources/RxOptional/SharedSequence+Occupiable.swift"; sourceTree = ""; }; + DDA09D4DA3ECDCB54E45AAFC08D8147B /* UISearchController+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UISearchController+Rx.swift"; path = "RxCocoa/iOS/UISearchController+Rx.swift"; sourceTree = ""; }; + DDB121071E6042ACACF52DE92E8CD117 /* AsyncLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncLock.swift; path = RxSwift/Concurrency/AsyncLock.swift; sourceTree = ""; }; + DE21B5ED730084531226545C08113246 /* Do.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Do.swift; path = RxSwift/Observables/Do.swift; sourceTree = ""; }; + DE3EF7F5045501A42098CAC3AE58FE99 /* RxRelay-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxRelay-dummy.m"; sourceTree = ""; }; + DF449EA8D58112E521A67DE60691A6E8 /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = ""; }; + DF670FA5A4A33CCE57668799B81CA103 /* GroupedObservable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupedObservable.swift; path = RxSwift/GroupedObservable.swift; sourceTree = ""; }; + DFA56849F5DE994B5018FC1D2AF92A79 /* RequestTaskMap.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestTaskMap.swift; path = Source/RequestTaskMap.swift; sourceTree = ""; }; + E0586A843F34E357B328D2435C1A013F /* UICollectionView+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UICollectionView+Rx.swift"; path = "RxCocoa/iOS/UICollectionView+Rx.swift"; sourceTree = ""; }; + E0695D1C29C6138C11D724CF53ACC9AA /* RxKeyboard.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxKeyboard.swift; path = Sources/RxKeyboard/RxKeyboard.swift; sourceTree = ""; }; + E06A867E82C40F63DA7410165D6CD9D4 /* RxSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.debug.xcconfig; sourceTree = ""; }; + E0A75933EDED7A4F4045EA25F43705C1 /* ConstraintDSL.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintDSL.swift; path = Source/ConstraintDSL.swift; sourceTree = ""; }; + E273DA1ABEFE2D592713DBA119CD62EA /* Alamofire-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Alamofire-Info.plist"; sourceTree = ""; }; + E2C676318093FBCFB2246067631A58EF /* Infallible+Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Infallible+Create.swift"; path = "RxSwift/Traits/Infallible/Infallible+Create.swift"; sourceTree = ""; }; + E4560FB2D62A52B48ABA668C2D52B0FA /* Indicator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Indicator.swift; path = Sources/Views/Indicator.swift; sourceTree = ""; }; + E45933F627929FAE9B1703FD90DA0A5A /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = ""; }; + E4F6CA5E6817E11248EE348A2948A32C /* HistoricalSchedulerTimeConverter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalSchedulerTimeConverter.swift; path = RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift; sourceTree = ""; }; + E5B15BDA51BDC454532ED2D9A1907C74 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + E601B063596B29C8FA9E230A58C7C9E4 /* Result+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Result+Alamofire.swift"; path = "Source/Result+Alamofire.swift"; sourceTree = ""; }; + E681413DEA7C965F98B1079942B03B2D /* UITapGestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITapGestureRecognizer+RxGesture.swift"; path = "Pod/Classes/iOS/UITapGestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + E7236C80DFDC481BE672BF29BCC5A810 /* ImmediateSchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmediateSchedulerType.swift; path = RxSwift/ImmediateSchedulerType.swift; sourceTree = ""; }; + E772BF09ABA1EDA1E4E042812B2C0258 /* Kingfisher-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Kingfisher-umbrella.h"; sourceTree = ""; }; + E79EF8C64565ADA3706AD2C390ED83DF /* RxKeyboard.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxKeyboard.modulemap; sourceTree = ""; }; + E7A7C144282684316D1EF957F5E799CC /* RxCollectionViewDataSourceType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxCollectionViewDataSourceType.swift; path = RxCocoa/iOS/Protocols/RxCollectionViewDataSourceType.swift; sourceTree = ""; }; + E7C52BE8AC815365504F738459DCB223 /* Zip+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+Collection.swift"; path = "RxSwift/Observables/Zip+Collection.swift"; sourceTree = ""; }; + E7E514832148389E324E11FA75B5E01E /* SchedulerType+SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerType+SharedSequence.swift"; path = "RxCocoa/Traits/SharedSequence/SchedulerType+SharedSequence.swift"; sourceTree = ""; }; + E8587E662D9BB586058FD7B01BE2D6CE /* NSSlider+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSSlider+Rx.swift"; path = "RxCocoa/macOS/NSSlider+Rx.swift"; sourceTree = ""; }; + E8D99107F111E432502DED0FC55A8E2C /* Observable+Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Observable+Response.swift"; path = "Sources/RxMoya/Observable+Response.swift"; sourceTree = ""; }; + E9586510E37B5681FB6AADF92BA9D7F9 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = ""; }; + E9AA7247DCF2B96CF9E63CBF836647B6 /* RxGesture-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxGesture-dummy.m"; sourceTree = ""; }; + EA5A2563E7B810ADA234E0F8784489DE /* ObserverType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverType.swift; path = RxSwift/ObserverType.swift; sourceTree = ""; }; + EAB461B4EBF324AF601660F07C2BCCC3 /* UITabBar+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UITabBar+Rx.swift"; path = "RxCocoa/iOS/UITabBar+Rx.swift"; sourceTree = ""; }; + EB022452187D41E7F42D0948E7434A8F /* OperationQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "OperationQueue+Alamofire.swift"; path = "Source/OperationQueue+Alamofire.swift"; sourceTree = ""; }; + EB2B2D6096DB34F76569778B1476724C /* Then.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Then.swift; path = Sources/Then/Then.swift; sourceTree = ""; }; + EC0BB34EF34FBCBB1C078AD77235F23E /* SharedSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SharedSequence.swift; path = RxCocoa/Traits/SharedSequence/SharedSequence.swift; sourceTree = ""; }; + EC3565F7226AE8E36660F3E74A8C0FE1 /* ConstraintInsetTarget.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConstraintInsetTarget.swift; path = Source/ConstraintInsetTarget.swift; sourceTree = ""; }; + ED3A64C1E2529428946B355FCB6B5FC4 /* SkipUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipUntil.swift; path = RxSwift/Observables/SkipUntil.swift; sourceTree = ""; }; + ED53DE91F4C272E6FB0370FFA9E796B8 /* ParameterEncoder.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoder.swift; path = Source/ParameterEncoder.swift; sourceTree = ""; }; + EDB8368E589367DB669D3A56A1F8BA9F /* ConcurrentDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentDispatchQueueScheduler.swift; path = RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift; sourceTree = ""; }; + EDC026FE611683BEE3072436ACF9D373 /* SchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SchedulerType.swift; path = RxSwift/SchedulerType.swift; sourceTree = ""; }; + EE161522C23575B91DDC594B441B7BD4 /* ElementAt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ElementAt.swift; path = RxSwift/Observables/ElementAt.swift; sourceTree = ""; }; + EE311C39ABEE1C0FB78F2E24C491F725 /* SubscribeOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscribeOn.swift; path = RxSwift/Observables/SubscribeOn.swift; sourceTree = ""; }; + EE6B0D13D69707C400846003291B2335 /* RequestModifier.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestModifier.swift; path = Sources/Networking/RequestModifier.swift; sourceTree = ""; }; + EEC66579C5F1F02826BF9C1686D8707F /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = RxSwift/Observables/Filter.swift; sourceTree = ""; }; + EF71D1A257411BD265F92CEEB67B5BA0 /* ObserveOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserveOn.swift; path = RxSwift/Observables/ObserveOn.swift; sourceTree = ""; }; + F0F6DF1C0E4F84458D0557CC1F821417 /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = ""; }; + F142DDE132EF8A5EBCF46D6ACDA01F6D /* BehaviorRelay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorRelay.swift; path = RxRelay/BehaviorRelay.swift; sourceTree = ""; }; + F151CB6133D7074B28F0B937BF2D79F7 /* AnonymousObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousObserver.swift; path = RxSwift/Observers/AnonymousObserver.swift; sourceTree = ""; }; + F1CDFC9D7A9444618D362EE72CC0409C /* GestureRecognizer+RxGesture.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "GestureRecognizer+RxGesture.swift"; path = "Pod/Classes/GestureRecognizer+RxGesture.swift"; sourceTree = ""; }; + F23056540E877D988A24E3EEAF40AAA3 /* SnapKit-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SnapKit-Info.plist"; sourceTree = ""; }; + F2557918BF9933D64091643D162DB95C /* Resource.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Resource.swift; path = Sources/General/ImageSource/Resource.swift; sourceTree = ""; }; + F3C90D56176225B4FAA0DC43055F9DF8 /* BooleanDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BooleanDisposable.swift; path = RxSwift/Disposables/BooleanDisposable.swift; sourceTree = ""; }; + F413F529858A70B988218D837F257C20 /* RxKeyboard.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxKeyboard.release.xcconfig; sourceTree = ""; }; + F45B2D5AB9FF6D88F21C47028E52D536 /* UIApplication+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIApplication+Rx.swift"; path = "RxCocoa/iOS/UIApplication+Rx.swift"; sourceTree = ""; }; + F4EC30E4E057BAE7942DA492B444D188 /* Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Optional.swift; path = RxSwift/Observables/Optional.swift; sourceTree = ""; }; + F5D6245BE197BE0939BF18614974BD8C /* BehaviorSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorSubject.swift; path = RxSwift/Subjects/BehaviorSubject.swift; sourceTree = ""; }; + F618D4A7D0EEA5A73E4C314AA46B8BEA /* Kingfisher.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Kingfisher.debug.xcconfig; sourceTree = ""; }; + F6504BCF17D95402FFD37D4659BB4BA6 /* RxKeyboard.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxKeyboard.debug.xcconfig; sourceTree = ""; }; + F75FE74FFEA7A12D8086AE0B51C46438 /* SessionDataTask.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDataTask.swift; path = Sources/Networking/SessionDataTask.swift; sourceTree = ""; }; + F76BF5CC68B3DFCB0F410122752EB458 /* KingfisherOptionsInfo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KingfisherOptionsInfo.swift; path = Sources/General/KingfisherOptionsInfo.swift; sourceTree = ""; }; + F7D997A24F304525DFFAE87DF1135851 /* Kingfisher.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Kingfisher.modulemap; sourceTree = ""; }; + F7EB2DCB6E7E5BB489CBAF3C2D6B58CC /* UIButton+Kingfisher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIButton+Kingfisher.swift"; path = "Sources/Extensions/UIButton+Kingfisher.swift"; sourceTree = ""; }; + F7FC3376E007142721F9DA68136378BF /* GIFAnimatedImage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GIFAnimatedImage.swift; path = Sources/Image/GIFAnimatedImage.swift; sourceTree = ""; }; + F829D4BEF0BD6BB6BE9DE2154F5033AC /* UIDatePicker+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIDatePicker+Rx.swift"; path = "RxCocoa/iOS/UIDatePicker+Rx.swift"; sourceTree = ""; }; + F8310AE15F075C3E7489072290E10DDF /* SnapKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SnapKit-dummy.m"; sourceTree = ""; }; + F871A38E83037454EDA2124CE4157868 /* InvocableScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableScheduledItem.swift; path = RxSwift/Schedulers/Internal/InvocableScheduledItem.swift; sourceTree = ""; }; + FA843D6AB97FD90B26B1D0E01D497C88 /* RxGesture.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxGesture.modulemap; sourceTree = ""; }; + FB7C0A4C6CFA8B75BD43073740823051 /* Endpoint.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Endpoint.swift; path = Sources/Moya/Endpoint.swift; sourceTree = ""; }; + FBB421ED6CD2B9AF612F29ED3FC148F8 /* Then.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Then.debug.xcconfig; sourceTree = ""; }; + FC2115B37BDF88CFCFE5541F7F7DAFC7 /* ObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableType.swift; path = RxSwift/ObservableType.swift; sourceTree = ""; }; + FCC440E972F7AC19379252857A741525 /* Alamofire.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.release.xcconfig; sourceTree = ""; }; + FCC9A445FF41F08E7369515E8542CF05 /* RxGesture-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxGesture-prefix.pch"; sourceTree = ""; }; + FD189668F73C4478C262146C7DAC1379 /* Image.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Image.swift; path = Sources/Image/Image.swift; sourceTree = ""; }; + FDDDAE2AB3150E7160F64CD9E04C8108 /* ObservableConvertibleType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableConvertibleType.swift; path = RxSwift/ObservableConvertibleType.swift; sourceTree = ""; }; + FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; FE92E7767620E6C25BB552C06593F692 /* WeakMapTable */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = WeakMapTable; path = WeakMapTable.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FEF86576B3BC2C624247A929A5548B8C /* Occupiable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Occupiable.swift; path = Sources/RxOptional/Occupiable.swift; sourceTree = ""; }; - FF0D240E4B550EF6B461CE28BEE9A8F8 /* URL+Moya.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "URL+Moya.swift"; path = "Sources/Moya/URL+Moya.swift"; sourceTree = ""; }; - FF429810ADD169082D559A31C48C0AA7 /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = ""; }; + FE994ABC2B8CCEBF9198EF423F7CFED9 /* RequestTypeWrapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RequestTypeWrapper.swift; path = Sources/Moya/RequestTypeWrapper.swift; sourceTree = ""; }; + FF514E93F2B1B04A571217FB14AF0BC6 /* Just.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Just.swift; path = RxSwift/Observables/Just.swift; sourceTree = ""; }; FF8B264DFE802855D5D67E7CDDABFC3C /* RxRelay */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxRelay; path = RxRelay.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FFBA22373B923B396F06EDB2B7C31084 /* AnonymousDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousDisposable.swift; path = RxSwift/Disposables/AnonymousDisposable.swift; sourceTree = ""; }; + FFDFCCEDCA159CF8D62E07EF62C98EA5 /* Driver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Driver.swift; path = RxCocoa/Traits/Driver/Driver.swift; sourceTree = ""; }; + FFEF85AF403B7B977C4FCECCAFA1254A /* KFImage.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KFImage.swift; path = Sources/SwiftUI/KFImage.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -1190,11 +1333,11 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 196A7BDE6859D67C7576788F9D45FFA4 /* Frameworks */ = { + 4BEEEDCED941B16CF809C922DB2BE726 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4B5C473D289BC98027224AE3A39F6BC4 /* Foundation.framework in Frameworks */, + 15465B97E1B031BE054EBBB8320B105D /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1222,11 +1365,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 6839065D8C5C0D4F4251BA5A9A998E55 /* Frameworks */ = { + 81DB1665E1495609510BA493822E5A85 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 3D948EAB2024915C163EFB2D0F19E933 /* Foundation.framework in Frameworks */, + E719A3B025B9DACE693130120BD9B927 /* Accelerate.framework in Frameworks */, + 420C200A05BB29E1D299D1BADE9139D2 /* CFNetwork.framework in Frameworks */, + 3AD5DBB915C2623991F7DBACD173BBB4 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 84EBE56FB4388EE49A559E22FAD0A7DB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 17A54AD23D0A61E3D0579ECFCA892C4D /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1271,188 +1424,551 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - B326B9580F6F0B5E3BBB68AD11B28FA3 /* Frameworks */ = { + D90EA79DC82BC7EDC1BB3F35365563AB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - EF0B5626F747ABC4CA9EFA47D563A7A7 /* Foundation.framework in Frameworks */, + 74FEC7C4E1892BFDDDDAAC3A6680F1D3 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - D65171DB472C7C6FBE30A18E092654C8 /* Frameworks */ = { + F0747E756A4D18381DD563D52B463E49 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B5EB590AE3D58F046034D893AD724EA0 /* Foundation.framework in Frameworks */, + 9B3FD723742B11C8C826ED04531B5266 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 02E974ACD4FBA0EC9C49D481C8B62980 /* Core */ = { + 0529FB9B8AB66A8CAE70938D42DD915E /* RxOptional */ = { isa = PBXGroup; children = ( - 8F43CAE833D52085FC1C7EBB3E05D31A /* AccessTokenPlugin.swift */, - D81621E84B9485D73C824B2FCB4C983D /* AnyEncodable.swift */, - 182E45D5F2080C753B57B6887B8BAF68 /* Atomic.swift */, - 42992AE3E4FAB2BAE69FCEFB0261C251 /* Cancellable.swift */, - E4CF0CE9953A00F1BBC5CBD09709D816 /* CredentialsPlugin.swift */, - 72D2CA26CB640CE0EC9A058D60EDAF7E /* Endpoint.swift */, - F869B224D547FA95ACE69C44547C264F /* Image.swift */, - 00EB4C86DE6A5E15E805584E28D60AC6 /* Moya+Alamofire.swift */, - 2C96425E17FA65E564E3827B3F06D4B5 /* MoyaError.swift */, - 56B0B17B38E65E3680210795657FD5ED /* MoyaProvider.swift */, - D970640E8BE9CB97D1C086F4D17B60BB /* MoyaProvider+Defaults.swift */, - 66EABC313F90C337FB4D339D3459CE57 /* MoyaProvider+Internal.swift */, - 28574D7CCD44D201D60FB08A4D11343A /* MultipartFormData.swift */, - 21355156E8E865C8BD2B0DB892461151 /* MultiTarget.swift */, - B722A2F9D14E61E165AD64647980E659 /* NetworkActivityPlugin.swift */, - EE917D893654CCB1277E8D66AF27F7A2 /* NetworkLoggerPlugin.swift */, - 4869D8080C04575E7ADADE3038139A79 /* Plugin.swift */, - 310A12D8750783762D5D9FE270707A1D /* RequestTypeWrapper.swift */, - 21D2344D3B30B2244EF52687FDCEF6E9 /* Response.swift */, - 6C64425A952BD8460A018B0DBF91FCE4 /* TargetType.swift */, - 8DA3630B8F5FCE38171CA9C116CD0FFE /* Task.swift */, - FF0D240E4B550EF6B461CE28BEE9A8F8 /* URL+Moya.swift */, - F8790F5E6A1B3497A0BEDCE979CD0AB6 /* URLRequest+Encoding.swift */, - F6A8C8E2AFB1D2CD7A4C529AC3971D9C /* ValidationType.swift */, + CDF4F1A8C907E650FF6E14AC44224879 /* Observable+Occupiable.swift */, + 341B949E5823A75F7194B636CC6CB65C /* Observable+Optional.swift */, + 2E7728788680A90D85AD3FC28A20085A /* Occupiable.swift */, + 398A52D8E7870847178B2C759A580CAE /* OptionalType.swift */, + 84DBAF49746DF6BF7832B96A059EC403 /* RxOptionalError.swift */, + DCF146EB75E35C581A80660A0EEFD3DB /* SharedSequence+Occupiable.swift */, + 2CB38B4E8B463DCD48991F0B1A2E1B19 /* SharedSequence+Optional.swift */, + 5F7E91B724566357012CC886B3F47E39 /* Support Files */, ); - name = Core; + name = RxOptional; + path = RxOptional; sourceTree = ""; }; - 03C5C200A0787E300053CFA8F53CA094 /* Frameworks */ = { + 0F6621828405D12062DE7C1065DDF9E3 /* RxCocoa */ = { isa = PBXGroup; children = ( - 42770F1B96541EE8183D1D6A56FFEDCB /* iOS */, + 50B97292A8C82756424F9C6B2F4DC59D /* _RX.h */, + AAD5C9138AAC8CDF223AF617A9071219 /* _RX.m */, + D3E2F1A5882AD6FB9F9C9946BB5CEED3 /* _RXDelegateProxy.h */, + 4AC21468215D4244C158C6508665EAEF /* _RXDelegateProxy.m */, + 0D0D44D007E8BA47EE9185CFC9F78391 /* _RXKVOObserver.h */, + CD55DB924DA0F0F9BB41695D80E0587C /* _RXKVOObserver.m */, + 21AC075E5B15FDE72E14809D750F9BC5 /* _RXObjCRuntime.h */, + 7B288DFA22961A9BA702ECAA453CEEFE /* _RXObjCRuntime.m */, + DC84512D0DDD4881AFCBFA883B4A2576 /* Bag.swift */, + A4B39DA908C3312A8016B7824CC11AB1 /* BehaviorRelay+Driver.swift */, + 1442ED345A63D5216F13BF4E15750D04 /* ControlEvent.swift */, + 1C9BC6725DABD37DFEFEF62A4A9336BE /* ControlEvent+Driver.swift */, + 5A8817F530C753F4B4A64B2D4B34A94F /* ControlEvent+Signal.swift */, + 71945E4542079157E5F2F124CF5FE18D /* ControlProperty.swift */, + 867561C483C174516C45401655F41092 /* ControlProperty+Driver.swift */, + 08E6707FEB2B55EEF99BEED68B7BD084 /* ControlTarget.swift */, + 2B850E0D8BD5B353D053FF720363039C /* DelegateProxy.swift */, + 45EAD8EB891EE3C0E2773B4EAE79B23B /* DelegateProxyType.swift */, + 898F21A3E3ADAB60B82D309A867C3E8E /* DispatchQueue+Extensions.swift */, + FFDFCCEDCA159CF8D62E07EF62C98EA5 /* Driver.swift */, + 7F1AA7F68B1FB6564D9E367D3A91DE88 /* Driver+Subscription.swift */, + 5B432C1475F39FE88D12A5FB09F2001E /* Infallible+Bind.swift */, + C8B948FAA50AEBD08AAC3AD63911F259 /* InfiniteSequence.swift */, + CBDFC81F0EAA142D8ABBEF87B4166634 /* ItemEvents.swift */, + 71669F9D3760D8D05B1A754C11E35042 /* KVORepresentable.swift */, + D19164811CAA48A9F27D4F68A0A5CEF4 /* KVORepresentable+CoreGraphics.swift */, + 95B69903BFC36F1E4D71B1DFABACF25E /* KVORepresentable+Swift.swift */, + 01F4A5561B2991217B59B4309D9A7056 /* NotificationCenter+Rx.swift */, + 276553CFC5B43BCB9A72FA9F2F15F200 /* NSButton+Rx.swift */, + D77720AC93C54E6C47A02827FEBF0B49 /* NSControl+Rx.swift */, + 0E46F87C22EAB653B3844AF6D19434DC /* NSObject+Rx.swift */, + 575C80D06860D4AACF80A271AC52C1D1 /* NSObject+Rx+KVORepresentable.swift */, + 769A0E2C7188C728B1D999DD0BE0B2FC /* NSObject+Rx+RawRepresentable.swift */, + E8587E662D9BB586058FD7B01BE2D6CE /* NSSlider+Rx.swift */, + 38C184324C8E05E2FB4D372904DD27CD /* NSTextField+Rx.swift */, + 2963C968454064C663ADC2DC9659CC75 /* NSTextStorage+Rx.swift */, + D31CD0F25CD659C218DF24EB9D34E254 /* NSTextView+Rx.swift */, + 1C33FC01EFA08410BC3C7B7ABC57286E /* NSView+Rx.swift */, + C492E8F0A255F9A40FCD491F42C58D2C /* Observable+Bind.swift */, + B98F3175CE05C24ECB21764FFA0A919A /* ObservableConvertibleType+Driver.swift */, + D39D4EBDD7EE373E1B27288097AEE642 /* ObservableConvertibleType+SharedSequence.swift */, + 95C95D4629F97F17AE927BDEB180DA2F /* ObservableConvertibleType+Signal.swift */, + BCF5D9A8EBFC3DA2024D6BAE3CC4E5A8 /* Platform.Darwin.swift */, + B90A4C19F4821338EA608C13C37A8508 /* Platform.Linux.swift */, + CB4BFD376E4184DCE6B00DCB82A33C4F /* PriorityQueue.swift */, + D620593C1A3E157D3524974BEE253211 /* PublishRelay+Signal.swift */, + 4C4467F965592B5BDECFD17CFB2B9183 /* Queue.swift */, + A48D3D24C3E035B78A9C0C5437F09105 /* RecursiveLock.swift */, + 62BCAD9032EF5F985C5F78928911BE2B /* RxCocoa.h */, + 13C6B07DE24FF5446411E04B5036013C /* RxCocoa.swift */, + 14215D6229C32AB1BEF3383EE8C7F4A4 /* RxCocoaObjCRuntimeError+Extensions.swift */, + CD5E1FE29B3E23A481F267E970AF9949 /* RxCocoaRuntime.h */, + 978AB9CF138873A1F9580865AB13CE52 /* RxCollectionViewDataSourcePrefetchingProxy.swift */, + 40C0F47441D83FDA8E5C373CF3B8FB7D /* RxCollectionViewDataSourceProxy.swift */, + E7A7C144282684316D1EF957F5E799CC /* RxCollectionViewDataSourceType.swift */, + 1190A6A2A2F89878E51F8CC441E76038 /* RxCollectionViewDelegateProxy.swift */, + 7383795D6F008DBFFA5074D9124BB972 /* RxCollectionViewReactiveArrayDataSource.swift */, + 8E2597B61971EA69438CD54A41B83858 /* RxNavigationControllerDelegateProxy.swift */, + 58DAEE3C52EA8857E6C446D7170ADB35 /* RxPickerViewAdapter.swift */, + 65DB5287928A68D874A7EA824CD69B32 /* RxPickerViewDataSourceProxy.swift */, + 91FBE650EAE160EA0D6DF9725771C858 /* RxPickerViewDataSourceType.swift */, + 33BA0251DFA07251C5EB9A95A7FB99A0 /* RxPickerViewDelegateProxy.swift */, + 61B9E41F30AFDF922932765BAF33E4CB /* RxScrollViewDelegateProxy.swift */, + 21470ADDB21E91DC70C62D3BE5B47E5F /* RxSearchBarDelegateProxy.swift */, + 45A0899448B72D93EA95FA74DC682018 /* RxSearchControllerDelegateProxy.swift */, + 31F887EB9028E0FCB0701BC2718F58A4 /* RxTabBarControllerDelegateProxy.swift */, + 08A379D3D30E693B07910C345D5C1B4C /* RxTabBarDelegateProxy.swift */, + B3460105B04739E33F351BE647E034B7 /* RxTableViewDataSourcePrefetchingProxy.swift */, + 57835B52463EFD5E88EDDEE8192BCC25 /* RxTableViewDataSourceProxy.swift */, + 88394A06D161E2889342C39761299ADE /* RxTableViewDataSourceType.swift */, + 078D1607A2C46DCF07DD9819807BA4D4 /* RxTableViewDelegateProxy.swift */, + 6E77385002C7B2357879B1C6E6D33928 /* RxTableViewReactiveArrayDataSource.swift */, + 2217A4E4CA165D860BCAE722CCB0798E /* RxTarget.swift */, + 43F3A208636AEC1C05F36D6861E4392D /* RxTextStorageDelegateProxy.swift */, + D744159E37264908783DE0F1DDF27773 /* RxTextViewDelegateProxy.swift */, + A25F0605398FBE5DB283E859525B7D6A /* RxWKNavigationDelegateProxy.swift */, + E7E514832148389E324E11FA75B5E01E /* SchedulerType+SharedSequence.swift */, + D7393910085A13A640E3DEF86BC7305E /* SectionedViewDataSourceType.swift */, + EC0BB34EF34FBCBB1C078AD77235F23E /* SharedSequence.swift */, + 396ED5B9591BB403E6416F27A30573AB /* SharedSequence+Operators.swift */, + D27192295DC207A5613F79F66DD6FDC0 /* SharedSequence+Operators+arity.swift */, + 62ACF6787A6FF09ADC707B120319724C /* Signal.swift */, + 5E335D889D28E55E8D929BD42511A03D /* Signal+Subscription.swift */, + 1D0FE00E0A36DFB2EB07566DABA13FF7 /* TextInput.swift */, + 3A25CAF801071554A6D72F31BE2F1224 /* UIActivityIndicatorView+Rx.swift */, + F45B2D5AB9FF6D88F21C47028E52D536 /* UIApplication+Rx.swift */, + 91E1E64FC2FDF4805E20AB67F700AC1F /* UIBarButtonItem+Rx.swift */, + 1FE61624AE942D76D3A8E6E374DCD7F2 /* UIButton+Rx.swift */, + E0586A843F34E357B328D2435C1A013F /* UICollectionView+Rx.swift */, + 0D531FA6FE4C29E0979CA038B9B9941C /* UIControl+Rx.swift */, + F829D4BEF0BD6BB6BE9DE2154F5033AC /* UIDatePicker+Rx.swift */, + CD079C5223B838C223C950CD53095A12 /* UIGestureRecognizer+Rx.swift */, + 262561B38533297CE95B5C3B0D735EA2 /* UINavigationController+Rx.swift */, + 35540BE66B6B442084C87D9C407FFAE6 /* UIPickerView+Rx.swift */, + 4BE1B5C99C3A0EC0E75F89A7DD98BFB0 /* UIRefreshControl+Rx.swift */, + CCFA88846D6E26F398D9EF2DC9267058 /* UIScrollView+Rx.swift */, + 80077D4E830DA3CB56BA4B122E9CF144 /* UISearchBar+Rx.swift */, + DDA09D4DA3ECDCB54E45AAFC08D8147B /* UISearchController+Rx.swift */, + 548060E13DD325BA5E8D45CCEAC7A487 /* UISegmentedControl+Rx.swift */, + 424D0EF96A3DD51D9ECD565C6C4156C8 /* UISlider+Rx.swift */, + A1F8A8EBE1469F81E5DAAE48C7781ED3 /* UIStepper+Rx.swift */, + 13DB966C46198F45BBA553F7D62EBC83 /* UISwitch+Rx.swift */, + EAB461B4EBF324AF601660F07C2BCCC3 /* UITabBar+Rx.swift */, + AF3BFCE2F76FF80378B4C1003D10F710 /* UITabBarController+Rx.swift */, + B24DCF789FFC218C25E3C9DDC21ABAD3 /* UITableView+Rx.swift */, + 4A8F16B86EFBCF671E2DE4E8851CB1F1 /* UITextField+Rx.swift */, + 7E353D430852E50F0AF9390D914A68FC /* UITextView+Rx.swift */, + 8C078BC0EC521E2F0449FAFA47A4EC6E /* URLSession+Rx.swift */, + 4B35B61E1E801B2B08597A5C2B578194 /* WKWebView+Rx.swift */, + BE2D066D75146A42629B9E40430D0717 /* Support Files */, ); - name = Frameworks; + name = RxCocoa; + path = RxCocoa; sourceTree = ""; }; - 0700D09BE40C9ED3261F20EE976D8A35 /* Support Files */ = { + 12DABCDFC95043B0F952DB289C457E72 /* RxSwift */ = { isa = PBXGroup; children = ( - 34C40CD8E178BDB139BE093564B9BC4F /* ReactorKit.modulemap */, - A169A58B8A03892AFCAF64795BB7214B /* ReactorKit-dummy.m */, - 7186CFFCC6DCDA7D9B7BEF86493D6766 /* ReactorKit-Info.plist */, - 6E5B220452318D8DC354F881D7EF1EDC /* ReactorKit-prefix.pch */, - 15027DF69A52107B9CA80BA314B51DD8 /* ReactorKit-umbrella.h */, - 523529671442C995D95B58B6C592B7FA /* ReactorKit.debug.xcconfig */, - 23008DB1376D11B8A40A9B9B617147A2 /* ReactorKit.release.xcconfig */, + 766FB3CFACDD61AFEACD948FAA45EE8B /* AddRef.swift */, + 5E713DD71F597D2C3F0FFCBA03758EC3 /* Amb.swift */, + FFBA22373B923B396F06EDB2B7C31084 /* AnonymousDisposable.swift */, + F151CB6133D7074B28F0B937BF2D79F7 /* AnonymousObserver.swift */, + AF1A720E4B22FD9E8DC61C7E804D8501 /* AnyObserver.swift */, + 6A5DF48D6E7CD671EE35E0D241373838 /* AsMaybe.swift */, + 062B9C99FDB3338CFBB1A47A5AEF09AA /* AsSingle.swift */, + DDB121071E6042ACACF52DE92E8CD117 /* AsyncLock.swift */, + D492A4F4C8823EF5F8FD15EE440B17F6 /* AsyncSubject.swift */, + 0C63F96FE70BA103DB34F0340AE17FF3 /* AtomicInt.swift */, + 9239163FF22AAFFC2B2799EC195B2309 /* Bag.swift */, + A9197729420500CE22ADE259FE73335B /* Bag+Rx.swift */, + F5D6245BE197BE0939BF18614974BD8C /* BehaviorSubject.swift */, + 6666A1435CE3F8ACCD1F6C0C219DCB05 /* BinaryDisposable.swift */, + 04BC6A9293D8618859C3F258CD341E5B /* Binder.swift */, + F3C90D56176225B4FAA0DC43055F9DF8 /* BooleanDisposable.swift */, + C3D32973BA034A931C64724E9CC829DB /* Buffer.swift */, + A8793DCB9447424B8DD078DCB3ADA852 /* Cancelable.swift */, + 1E07FD7CD1AC3694EC4DBF178E172BF7 /* Catch.swift */, + BC12038DE738824617B099DABCAEB700 /* CombineLatest.swift */, + B95DB6F1BCBF3D9ED91957FF8E0EFD0E /* CombineLatest+arity.swift */, + B8B137794E9128EA9DDD1C118B80C251 /* CombineLatest+Collection.swift */, + 6D4D12DA223970541894D02B014A0B65 /* CompactMap.swift */, + BBC2777FD00F1236536EAD1E3D796543 /* Completable.swift */, + AA42BD1F053CF49D832A5A463220E407 /* Completable+AndThen.swift */, + 2B05979775F280DFB75408EC07A02BC0 /* CompositeDisposable.swift */, + A6C085FFE831E810B0F1D5FFFF422594 /* Concat.swift */, + EDB8368E589367DB669D3A56A1F8BA9F /* ConcurrentDispatchQueueScheduler.swift */, + 5D2DD9EB9AF5950BC94C0A365C3EBF29 /* ConcurrentMainScheduler.swift */, + 1AD7C75EE9060D64E413E4D08190FE30 /* ConnectableObservableType.swift */, + 8B4A3B5AF08E12A6FD047158300D1373 /* Create.swift */, + 8151B7FD34F1C1C621A517E04D7D2FAC /* CurrentThreadScheduler.swift */, + A2D782664FD21E470A7CDC63737D937C /* Date+Dispatch.swift */, + 098AAB08ECAE12B0F2775A729D244C76 /* Debounce.swift */, + 4602D0498BCF7A3E03E652F8B782F9C7 /* Debug.swift */, + 6B6735FA55A112868233A7BE8A4598EC /* Decode.swift */, + 07F70BFA05B5DD21D31B4ACDC36D2867 /* DefaultIfEmpty.swift */, + 71A163AD9A3C051D525B474642015F12 /* Deferred.swift */, + 5C38CC7F7BEF387C78EB95CFAFB9B1A7 /* Delay.swift */, + C780A6D2482C87B06501DB5B85C9CD98 /* DelaySubscription.swift */, + BB112BE6D790F2BDA7E8A704C2C11A47 /* Dematerialize.swift */, + DF449EA8D58112E521A67DE60691A6E8 /* DispatchQueue+Extensions.swift */, + 0D84D50BCB4E7BBF59481C307AE4173C /* DispatchQueueConfiguration.swift */, + 13E22D87101C3A54B4A22AC5B3CEF0AF /* Disposable.swift */, + 50AD84071DA07339CE213DE4F8E05C9E /* Disposables.swift */, + 2CD524495A0BD40C84FE09E7B63C3D7C /* DisposeBag.swift */, + 8EE0288D4711C1B2D0895B94FC519CD9 /* DisposeBase.swift */, + 08AA7BD9CD95B6A82C50BE5ABF511D3B /* DistinctUntilChanged.swift */, + DE21B5ED730084531226545C08113246 /* Do.swift */, + EE161522C23575B91DDC594B441B7BD4 /* ElementAt.swift */, + 5438E37FBD2B0B13FBE46037B56E4F8F /* Empty.swift */, + 108C446699F1D322590C1F290F678B3C /* Enumerated.swift */, + 25606CCA69C76154E053B8092EDC57D8 /* Error.swift */, + AB36473D5DDEBE7E88811700A4C74977 /* Errors.swift */, + A5F7BD01E7D9E70B18A5AEB5FC79210A /* Event.swift */, + EEC66579C5F1F02826BF9C1686D8707F /* Filter.swift */, + 1909DB8BDB3BB35EC7F7057CFCB666B7 /* First.swift */, + 8B9D9EB1126CE65BA42FF82F540A7118 /* Generate.swift */, + 3AAF72A8E08C59275F48610B889BD2DC /* GroupBy.swift */, + DF670FA5A4A33CCE57668799B81CA103 /* GroupedObservable.swift */, + B84D003E4CAD07F8A2F2BDA9D897FD09 /* HistoricalScheduler.swift */, + E4F6CA5E6817E11248EE348A2948A32C /* HistoricalSchedulerTimeConverter.swift */, + E7236C80DFDC481BE672BF29BCC5A810 /* ImmediateSchedulerType.swift */, + 8AF776FE8DC3EB33F2FB61E2CEE651B9 /* Infallible.swift */, + 01460C645C1BCA11742D4D08D7A4AE87 /* Infallible+CombineLatest+arity.swift */, + E2C676318093FBCFB2246067631A58EF /* Infallible+Create.swift */, + D8697D028E4067A296C98222C39EFD80 /* Infallible+Operators.swift */, + 711220E69BA6788F924715DDFC9AA233 /* Infallible+Zip+arity.swift */, + B981D8AE0793C177B202F365042B4635 /* InfiniteSequence.swift */, + F871A38E83037454EDA2124CE4157868 /* InvocableScheduledItem.swift */, + 91C457A77256FB47AB4317BC6FD7E15D /* InvocableType.swift */, + FF514E93F2B1B04A571217FB14AF0BC6 /* Just.swift */, + D7AB3139E84272AF514B893318F96FBC /* Lock.swift */, + 48D24EA8F5AA10AA94ECDA82C81E767C /* LockOwnerType.swift */, + 05E776AA2BA79C2856CC460CB57CA1E1 /* MainScheduler.swift */, + 6528D460B75569F0CFE9BE4D3FFA8142 /* Map.swift */, + 1FD90A281C7139EDB6D732FE2A8291EE /* Materialize.swift */, + 7819AB2F7969D9DB7C663DFFE247397B /* Maybe.swift */, + 97E554E60E64B6520044383AF89D1B25 /* Merge.swift */, + C7B8335F7A7B84C0DE3E2DD8FA03B3DF /* Multicast.swift */, + CB47BB53121B268CCD0B8839686E9097 /* Never.swift */, + 2A6CB1B9312CD06503A2B64FD2F1693A /* NopDisposable.swift */, + 8F7998E837CF9AAF85854D4E0946012D /* Observable.swift */, + FDDDAE2AB3150E7160F64CD9E04C8108 /* ObservableConvertibleType.swift */, + 7315360DB0B7B0DCFE360FFDD881F4CE /* ObservableConvertibleType+Infallible.swift */, + FC2115B37BDF88CFCFE5541F7F7DAFC7 /* ObservableType.swift */, + 3C3F00DD951042C7A877B0236DB49339 /* ObservableType+Extensions.swift */, + C6009B2A6EC93BF66A3D46C61737BF30 /* ObservableType+PrimitiveSequence.swift */, + EF71D1A257411BD265F92CEEB67B5BA0 /* ObserveOn.swift */, + B1E992D3E2DEB3D1C1D835F65CD6035E /* ObserverBase.swift */, + EA5A2563E7B810ADA234E0F8784489DE /* ObserverType.swift */, + 80889D70DD1A934B130DA76B777C3A17 /* OperationQueueScheduler.swift */, + F4EC30E4E057BAE7942DA492B444D188 /* Optional.swift */, + 65077E38D343E839D85898159746659D /* Platform.Darwin.swift */, + 4A52B0E4C315B369B3ACA5466E30E8E7 /* Platform.Linux.swift */, + 0AF0711C0A4C036D557F3E511BB8BD16 /* PrimitiveSequence.swift */, + 152862AEECDDC42B8443A9F79685B23C /* PrimitiveSequence+Zip+arity.swift */, + 1695F344E1AD50D652D2C7ECE880BF38 /* PriorityQueue.swift */, + BC8041F95DD624E38B8E571F8DF5448B /* Producer.swift */, + CCF4AFD32307195FA9E088A3062AB25D /* PublishSubject.swift */, + 4211FE213FFC5A3B69BEC31DCC071440 /* Queue.swift */, + B94ABE564B84480D5BAE681C439BB36A /* Range.swift */, + 25CC1FFB99E0F290EEA489BCA4B606C5 /* Reactive.swift */, + A3297E45A1DB160CD768619C82170CC9 /* RecursiveLock.swift */, + 77CA4CDFE9AF8496260BB29CA166F6C3 /* RecursiveScheduler.swift */, + 2422214CA4087AD5BC976ECDE1D247A1 /* Reduce.swift */, + 1F2769015C650C76E25E739B660B3841 /* RefCountDisposable.swift */, + 2620E19540F1574EB94858071B5B38B6 /* Repeat.swift */, + 6A9B9625E3E6572C2C00386B411E5AC9 /* ReplaySubject.swift */, + 837F1DAE2365DC18456103B7DE325095 /* RetryWhen.swift */, + A9E792445D835EA2565340C71A423B2C /* Rx.swift */, + 30553E2BD5A19159B76F7ACCA9D21457 /* RxMutableBox.swift */, + 709C0F50CA56FB1126B4D65F85744F58 /* Sample.swift */, + 2852EF8647633A0BE43CFC65940A0534 /* Scan.swift */, + 186BB8974E1F03F45F096256B855AA30 /* ScheduledDisposable.swift */, + 645CFBF86EE3549D5E75C630392B6626 /* ScheduledItem.swift */, + 0720C11E81B5E1ECBC305F51DE42C8EB /* ScheduledItemType.swift */, + 08F8967558B3EEDE4A74B824D1404BDE /* SchedulerServices+Emulation.swift */, + EDC026FE611683BEE3072436ACF9D373 /* SchedulerType.swift */, + A95E9B19D12B87DE8B820D6D18991700 /* Sequence.swift */, + 8FE60A4C443C1F83909E26CCC702C03B /* SerialDispatchQueueScheduler.swift */, + 6E96DC07853329455B1443B5CA85106C /* SerialDisposable.swift */, + 019CA5BB2FD887434BEDD9702F75F7F6 /* ShareReplayScope.swift */, + DBC75D414B7C90FC374C4A13AF4A840F /* Single.swift */, + 743CCDB05750853CFD7C71B5C9713D2D /* SingleAssignmentDisposable.swift */, + 19273E9DCC416179DC321C9C50A8F708 /* SingleAsync.swift */, + A2F587E8A774BA992DD6D6E709B19F6D /* Sink.swift */, + 53AEC852F71F8C02939EF72983A9B8A1 /* Skip.swift */, + ED3A64C1E2529428946B355FCB6B5FC4 /* SkipUntil.swift */, + 946AF4A789BFD08291E492E2E59ABC14 /* SkipWhile.swift */, + 169A9CA539B0F49EA4E2239BD62CF156 /* StartWith.swift */, + 61A944A0DDA272F38D2D831B29AB1E7C /* SubjectType.swift */, + EE311C39ABEE1C0FB78F2E24C491F725 /* SubscribeOn.swift */, + D94368B83EF6780A0831DD0EF5BAFC7F /* SubscriptionDisposable.swift */, + 6ED974BA16EB9285C91F54B416F60030 /* SwiftSupport.swift */, + 127CFD8700048450F369BFB14863F904 /* Switch.swift */, + A9629DA3FCA854F210E2AFA0AA06DF8E /* SwitchIfEmpty.swift */, + 6EEFA7B098C64A3E54665DA5B7AC04AD /* SynchronizedDisposeType.swift */, + B58E7E85088483755816AC1E162DDEF2 /* SynchronizedOnType.swift */, + 22D71F3985853E94EBBC2A122B8EEA1C /* SynchronizedUnsubscribeType.swift */, + 10805C1556699DE8ED7316AD2DC6945D /* TailRecursiveSink.swift */, + 58FA6EB1F898086CC736EC5D0A502FE4 /* Take.swift */, + 4A78D39CAF5E8150E51853B464A467EF /* TakeLast.swift */, + 277C3A6FCD597864D0A5F326AE4DE25A /* TakeWithPredicate.swift */, + 524ADAB99BE1524FE954224A67BD9078 /* Throttle.swift */, + 72071B97E13F663057C172BAFB151951 /* Timeout.swift */, + 8FB1C44863D4FCAA531431F224671E7E /* Timer.swift */, + 80BB11E978FC14A7F0172243A84F51C3 /* ToArray.swift */, + D02BE6BFB52A616E1C25C1DD988CB501 /* Using.swift */, + A1402B751BDDF320D303F8497C99D4E2 /* VirtualTimeConverterType.swift */, + 3E4187131843216545646A7831F25FB8 /* VirtualTimeScheduler.swift */, + 20FCA5D664D198000FEBBCA7AAE4FF21 /* Window.swift */, + 213E500D638C91A93184A530ADD45E16 /* WithLatestFrom.swift */, + 8E779763D50449B806C0A9FBFC784ABD /* WithUnretained.swift */, + 0845E6A83B2845A92B470F5721C4EC0F /* Zip.swift */, + 731BA767D4014C8428A1620E3808762A /* Zip+arity.swift */, + E7C52BE8AC815365504F738459DCB223 /* Zip+Collection.swift */, + 85EA62655204C8EC93B21A5169A93F4D /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/ReactorKit"; + name = RxSwift; + path = RxSwift; sourceTree = ""; }; - 195027B9311BE0C6C86FE2D0AC00ACC4 /* RxOptional */ = { + 1409B08C1C772F191DD5BA5348D79EA2 /* Pods */ = { isa = PBXGroup; children = ( - AA81F9AAB59331702700CECD668F3A64 /* Observable+Occupiable.swift */, - CC9373C73AB4309EB897389ED7CCDF7B /* Observable+Optional.swift */, - FEF86576B3BC2C624247A929A5548B8C /* Occupiable.swift */, - 0EAF452A43D490D8FDCFE6ABAD0A4005 /* OptionalType.swift */, - 2EB073CB20085ADFA06CEA755F06ADBC /* RxOptionalError.swift */, - 54B8BB02E99DD2B4CA3F7D8D7DD0635E /* SharedSequence+Occupiable.swift */, - 50CFE539ADB60FF5B7C77719DA379001 /* SharedSequence+Optional.swift */, - BC0B0A8277D9C355FF892103825EE992 /* Support Files */, + B4032D0A686307428AABCBAF772F0618 /* Alamofire */, + 3A0DBFA7D031469F89AD5AC395B186F7 /* Kingfisher */, + 54E3F2F754F046D067BED3BE71798BD8 /* Moya */, + F7406EF266F26765A8F55915F2F9CB55 /* ReactorKit */, + 0F6621828405D12062DE7C1065DDF9E3 /* RxCocoa */, + 2654B76466496AD8770220A8C62B15DF /* RxGesture */, + E348E7969DD0DDBDA30DC31E9AB366B4 /* RxKeyboard */, + 0529FB9B8AB66A8CAE70938D42DD915E /* RxOptional */, + F6C3CA70F49BBE211B68CE9C6AB9FC57 /* RxRelay */, + 12DABCDFC95043B0F952DB289C457E72 /* RxSwift */, + 4BBC1C0B8D40B3A50FB56AA3338616E8 /* SnapKit */, + 859CF17486935E2A693F6AD57945BFAB /* SwiftGen */, + F5D461E14D6BCE2F00D8368369FF42A1 /* Then */, + B0ECA0ADC17690A9514C8F06D32BE377 /* WeakMapTable */, ); - name = RxOptional; - path = RxOptional; + name = Pods; sourceTree = ""; }; - 2083D82EC5BCD48311F4324023CD543C /* Support Files */ = { + 2654B76466496AD8770220A8C62B15DF /* RxGesture */ = { isa = PBXGroup; children = ( - 56F4E716C0335BA6DA95CD073EC3F01A /* RxCocoa.modulemap */, - BEE564B8EFD3CF35C82D4B66FFA4805B /* RxCocoa-dummy.m */, - 9C80B96D14897B58C49132761CC17FE7 /* RxCocoa-Info.plist */, - 5A459DBE766E9EC7E87150D89DE0D3B6 /* RxCocoa-prefix.pch */, - 6B890F2BA2C042BC0A7E6B69C65A3F0E /* RxCocoa-umbrella.h */, - E04CB9E78518323637B3F7BBA9DDD57A /* RxCocoa.debug.xcconfig */, - 055385E069112238C9323DC710B98508 /* RxCocoa.release.xcconfig */, + 96B9ED41A3BDE8CDEB32C40205C9279E /* ForceTouchGestureRecognizer.swift */, + 1C9AE95BF3A43C0592E1001882D724DF /* GenericRxGestureRecognizerDelegate.swift */, + 02E3893090E9D274B53FBA44829589AB /* GestureFactory.swift */, + F1CDFC9D7A9444618D362EE72CC0409C /* GestureRecognizer+RxGesture.swift */, + B10438718EEDFE0E9F5469DBDE030E84 /* SharedTypes.swift */, + BD3628ECEBB6023F3FF7E46563003B60 /* TouchDownGestureRecognizer.swift */, + CF0EBF26E7189B58BDACA5ACDEF015C1 /* TransformGestureRecognizers.swift */, + C926CB7774778E85AE7C7D6B41962A9A /* UIHoverGestureRecognizer+RxGesture.swift */, + 0B86DBE62EC1A7AB2690A43A3C57E759 /* UILongPressGestureRecognizer+RxGesture.swift */, + 1905B18C86B83DCD7217F328C639689B /* UIPanGestureRecognizer+RxGesture.swift */, + 9A6E56F21CF22D8FD74E691494EF68CA /* UIPinchGestureRecognizer+RxGesture.swift */, + B32563BB64EB7C7E015B985AB2269B68 /* UIRotationGestureRecognizer+RxGesture.swift */, + 455E5D5D61859DE2E77651A9CD786341 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */, + 704FFF3C269815512F3CD567EB177777 /* UISwipeGestureRecognizer+RxGesture.swift */, + E681413DEA7C965F98B1079942B03B2D /* UITapGestureRecognizer+RxGesture.swift */, + 9392EFA81635D1AC09CD32A925B8D2A1 /* View+RxGesture.swift */, + 9776999DCE206E1A1D5729FB5B7A1181 /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/RxCocoa"; + name = RxGesture; + path = RxGesture; sourceTree = ""; }; - 27D917E1A51157A0361965AEDBDA99E2 /* SnapKit */ = { + 3161AD06C2BD0F2F216753A52A96C1D6 /* Core */ = { isa = PBXGroup; children = ( - E10DBDE9E3CE762B08D307081D9D0011 /* Constraint.swift */, - F77FE450D73FCBE85ACF4C8DBD99613F /* ConstraintAttributes.swift */, - D5939ED615CBDA815F0287572E30F094 /* ConstraintConfig.swift */, - E5B0924D2A3DEE5564E6713E5E531589 /* ConstraintConstantTarget.swift */, - E0297F226DBE30A48DFBB888D4A14DAA /* ConstraintDescription.swift */, - 16947BCE24FE1861ADB9F664210B47BA /* ConstraintDirectionalInsets.swift */, - 2F4792D16FABC140BE3B475AFB61F011 /* ConstraintDirectionalInsetTarget.swift */, - 08470FDE73B735D3A47BC949B79927DC /* ConstraintDSL.swift */, - 1D64F8722E4B5C4EDEF4F10197C1D2B6 /* ConstraintInsets.swift */, - 054A735A3A0C480025558FA06BA3BD0C /* ConstraintInsetTarget.swift */, - E16BCA9E120E032727C533E4E2719C1A /* ConstraintItem.swift */, - 9433DC4D556BD9F87BCEC697348A642A /* ConstraintLayoutGuide.swift */, - D3BA2A09C2805665BF66923C3540D06E /* ConstraintLayoutGuide+Extensions.swift */, - EF7821CE31D9E88AEFD61ED544C57603 /* ConstraintLayoutGuideDSL.swift */, - B7B7A48D8D099D10435F58610BECA33A /* ConstraintLayoutSupport.swift */, - B29B3D10D0342BE2F082E19004787982 /* ConstraintLayoutSupportDSL.swift */, - 534C5A4024B8335586BB4DB49613C6F9 /* ConstraintMaker.swift */, - 9ADA69F3EBDD57725226DA75565CD94A /* ConstraintMakerEditable.swift */, - 9D4D3F7EECEFCFF8DC8DE1AA46D46883 /* ConstraintMakerExtendable.swift */, - BDDB8060620CD6B1D229910B892A1AF0 /* ConstraintMakerFinalizable.swift */, - F59C99859A20E204AC49C2946E621C42 /* ConstraintMakerPriortizable.swift */, - 5860F56668E6C7627A432E64B858C1F8 /* ConstraintMakerRelatable.swift */, - 7D0315940D38D5971DFB71BF13FB6AB9 /* ConstraintMultiplierTarget.swift */, - 0EE8FC3916F17B77E838C4A166E7F252 /* ConstraintOffsetTarget.swift */, - 8900BE39D2B4894C2929A528E64BB711 /* ConstraintPriority.swift */, - 88E3C69EABBEE909DF6DCAA0A74B3C97 /* ConstraintPriorityTarget.swift */, - 6EAFC99CD228E8742D92B6FC305064C8 /* ConstraintRelatableTarget.swift */, - 68F688AE3657DF43517D1862AC4D76EB /* ConstraintRelation.swift */, - C39C26B6EEABFE7AB5E5AC038BF3FA25 /* ConstraintView.swift */, - 878E60D0CB8AB267E671C246C0027645 /* ConstraintView+Extensions.swift */, - 206F7B7FD7B10F1DCA20895E32AF6890 /* ConstraintViewDSL.swift */, - 77362768C448D8FBC4B249A10EDB4C21 /* Debugging.swift */, - 543B818DEE8C2E3D525118A2EA9BD05A /* LayoutConstraint.swift */, - 4A791CA2159D314414C51A57BC09D26E /* LayoutConstraintItem.swift */, - 51D953A7305A047C0757CE66115FC946 /* Typealiases.swift */, - 634CF36FA3309A91F25C2B61AF5314A6 /* UILayoutSupport+Extensions.swift */, - 81DCFFC3424624C82BF358F6BB1F4C0B /* Support Files */, + 000430863471C9B443DEAFF505628B87 /* AccessTokenPlugin.swift */, + 9175BFBDC844DF1D035A03205A23506B /* AnyEncodable.swift */, + 4A97AC69D321929364C3D5E833DED97D /* Atomic.swift */, + C3D2E8C137AA52DC5F0BFD889415E5BE /* Cancellable.swift */, + AB9CAA1455F01B340433FE4F3E9F589E /* CredentialsPlugin.swift */, + FB7C0A4C6CFA8B75BD43073740823051 /* Endpoint.swift */, + 61F1DEFC0411A62A2A94B7EE020EB03E /* Image.swift */, + 209B9E5EEE3F3E580588EEFA94928EEC /* Moya+Alamofire.swift */, + 649C47587BFC9BE8A7D846A3027EA5EC /* MoyaError.swift */, + D0B275F3F304C54F6617F701441270BD /* MoyaProvider.swift */, + 066E914C8B66464BFAD0B2887ADD1F7A /* MoyaProvider+Defaults.swift */, + CE067B1A38C0DA39392BF8A68FBC144D /* MoyaProvider+Internal.swift */, + C5530E9168BC92AE68A39D1C899ABDC8 /* MultipartFormData.swift */, + 3426599AB11430B37B98F0E69967BFFC /* MultiTarget.swift */, + A9044D9DD6F453A8067B2FEC561B82DD /* NetworkActivityPlugin.swift */, + 0DFE96EC690EB58606025C205D52FAD9 /* NetworkLoggerPlugin.swift */, + 4CA999E166ABBC67E1B0CC5B63FABA7B /* Plugin.swift */, + FE994ABC2B8CCEBF9198EF423F7CFED9 /* RequestTypeWrapper.swift */, + D0E4DDE26C2CBD92890F0119FFF60159 /* Response.swift */, + 6A083734FEF1C10485D44E4610AE6E8E /* TargetType.swift */, + 5E4A42B187167A0767443AF440D5F8B6 /* Task.swift */, + DA84C6A812BF3CA2DBF1C72DE1CF51AD /* URL+Moya.swift */, + C1B3A94D6528A8F0222712D65C7DE134 /* URLRequest+Encoding.swift */, + 97D58F81DBEB9274EA35F8B684E8D802 /* ValidationType.swift */, ); - name = SnapKit; - path = SnapKit; + name = Core; sourceTree = ""; }; - 2D83DBFF321F6AEED8C0B9ABDA3421E1 /* Then */ = { + 31F7858CEB8C50937488E66660DAC7D2 /* Support Files */ = { isa = PBXGroup; children = ( - 7FFF40C88FB4C7D7DBFF0061D4EA1797 /* Then.swift */, - 43D2BBE3B04CDB99BD3B74FF2B895978 /* Support Files */, + 2A98D3DF1A8A862B48F8BB6EAF44B6C2 /* Then.modulemap */, + 8833F416785EB37346707B2A9284B773 /* Then-dummy.m */, + 4DFCBA6125C08A7D5CCF56BF0B36190B /* Then-Info.plist */, + 2FDE6183155B4A171E8D976818DD92EC /* Then-prefix.pch */, + 81F6F4FC5877400F57221E5571E26914 /* Then-umbrella.h */, + FBB421ED6CD2B9AF612F29ED3FC148F8 /* Then.debug.xcconfig */, + D2AC5C57AA6357F3815DE453637393DA /* Then.release.xcconfig */, ); - name = Then; - path = Then; + name = "Support Files"; + path = "../Target Support Files/Then"; sourceTree = ""; }; - 42770F1B96541EE8183D1D6A56FFEDCB /* iOS */ = { + 3A0DBFA7D031469F89AD5AC395B186F7 /* Kingfisher */ = { isa = PBXGroup; children = ( - 087D7AA4D01FCEF78D17984A40E1EEF5 /* CFNetwork.framework */, - E73EEF4EEAED11ABDCB1B17B55A75355 /* Foundation.framework */, - 14EABD36049BE9D07F798AE9543EF734 /* UIKit.framework */, + 88457CE7F9C1492C792B1B2B6EACF059 /* AnimatedImageView.swift */, + 1A5631D8B9153B5B3B1ECBCD93F2E544 /* AuthenticationChallengeResponsable.swift */, + 633AE66DC06472DBBA8C586AFFB65FAC /* AVAssetImageDataProvider.swift */, + 29094B5546D47F167C46D26D59A1DF5F /* Box.swift */, + 8AFF3E45CCB7E3B9CB0563744F7404AD /* CacheSerializer.swift */, + 8273BEE7717FD457243087C6FEFE00A5 /* CallbackQueue.swift */, + 3E4EA5D2AF939426E7DE570A84559469 /* CPListItem+Kingfisher.swift */, + D9B2492996E165BFC534464E236D156B /* Delegate.swift */, + 4A5356F5B410BD23C8CAAD90E67848DA /* DiskStorage.swift */, + 35FB164A2990DD8A693140CE761004CC /* ExtensionHelpers.swift */, + 9CCDD8A108083FF2F0B9858561C25A12 /* Filter.swift */, + 8EB9D3E901CD6958621DC0F4F08B808C /* FormatIndicatedCacheSerializer.swift */, + F7FC3376E007142721F9DA68136378BF /* GIFAnimatedImage.swift */, + 8EE2939092B79510CD7B3E5BFC5A1A8E /* GraphicsContext.swift */, + FD189668F73C4478C262146C7DAC1379 /* Image.swift */, + 6AC03C75907407F406DC19966A8A36CD /* ImageBinder.swift */, + 26777925C0D19D7A815BC398E797F355 /* ImageCache.swift */, + 1BBA53C1B2560BFA23A8E70EBF6C80BF /* ImageContext.swift */, + 07BD503C9EBEA2C72E43D2BC3B4FCBB8 /* ImageDataProcessor.swift */, + C45038E030FE608F637BC67A2FB72D8E /* ImageDataProvider.swift */, + A4722260193AE8267A529057B10DCD2A /* ImageDownloader.swift */, + 00C009399C87EEE19427D6F9357A7D70 /* ImageDownloaderDelegate.swift */, + 845C813599F1FD6C64FE76C160011587 /* ImageDrawing.swift */, + 512EADF883445DBC728A13EED3B8DDBB /* ImageFormat.swift */, + 473E682BDBC0C0F8CDB56F3F2C407969 /* ImageModifier.swift */, + 2541BDCB96717DCC520B80160852681F /* ImagePrefetcher.swift */, + B613566F989E8550569279A288BFBC2C /* ImageProcessor.swift */, + A067C758E4A03A992987150CE7E10687 /* ImageProgressive.swift */, + D51333F3D72EB02247887DBAC0FCA5A8 /* ImageTransition.swift */, + A195F5DF277D9C7C43A99CD0FAC950E1 /* ImageView+Kingfisher.swift */, + E4560FB2D62A52B48ABA668C2D52B0FA /* Indicator.swift */, + 139D77421F9173B0B0768909901F240E /* KF.swift */, + 0F073E5A83D58C040522BD24669783C7 /* KFAnimatedImage.swift */, + FFEF85AF403B7B977C4FCECCAFA1254A /* KFImage.swift */, + C11EA82F87C8F1DB28BCE8D504636F9E /* KFImageOptions.swift */, + B1B042844DDF1688A9B9152F53C7257A /* KFImageProtocol.swift */, + 29C4E795BCA9D772A76E2DD9B8A532B1 /* KFImageRenderer.swift */, + 71CFCD1FCA18BAFAF9ED1AA5D28AC351 /* KFOptionsSetter.swift */, + 21E9550ECD5D71F0C792172C470FEEF5 /* Kingfisher.swift */, + D822A4ABEBFEA36EAA337BC37258CF09 /* KingfisherError.swift */, + 33B2B5311FB10AB78E14E0FB45696C35 /* KingfisherManager.swift */, + F76BF5CC68B3DFCB0F410122752EB458 /* KingfisherOptionsInfo.swift */, + 2511B6F7755F9A4E77152E118410FA5A /* MemoryStorage.swift */, + 320B1608B3C82E5CBFD77B8DB4E71A5F /* NSButton+Kingfisher.swift */, + 55CCEE2687834AE988548F473BDBB728 /* NSTextAttachment+Kingfisher.swift */, + 7654B30D77E69027FBCF0AAABD7981B4 /* Placeholder.swift */, + 17070EEA602A1029BC8176E81089E7B9 /* RedirectHandler.swift */, + EE6B0D13D69707C400846003291B2335 /* RequestModifier.swift */, + F2557918BF9933D64091643D162DB95C /* Resource.swift */, + 0D37EC27D99BCCF8EB5BE161CAB0FD6A /* Result.swift */, + 10BBA38786E93A4B9DDC9FCF798E941B /* RetryStrategy.swift */, + 9C0A207BF1BCB135002A61BD63BF5808 /* Runtime.swift */, + F75FE74FFEA7A12D8086AE0B51C46438 /* SessionDataTask.swift */, + CD6A2A103866F700D2F5EFE0C40C5F29 /* SessionDelegate.swift */, + CA6B4786941D601225E096DEB55204F3 /* SizeExtensions.swift */, + A7DEE8EE2F6E59BDF2F6E0817056CF92 /* Source.swift */, + B760FF7C7B19BB5B6CBEADB979FE22B6 /* Storage.swift */, + AF0FC63FA73C8E4FDB3DB11EA6DA1C5A /* String+MD5.swift */, + 1A8EF2CFF0B197A350ACCBB5C7578843 /* TVMonogramView+Kingfisher.swift */, + F7EB2DCB6E7E5BB489CBAF3C2D6B58CC /* UIButton+Kingfisher.swift */, + 66F81450D04B365AC02E1389ED1A3F02 /* WKInterfaceImage+Kingfisher.swift */, + 8980C7AF3B9591BD81FEF317A7A616DE /* Support Files */, + ); + name = Kingfisher; + path = Kingfisher; + sourceTree = ""; + }; + 43AF1DC1CCD1471EAA993D7C26EF00A5 /* Products */ = { + isa = PBXGroup; + children = ( + 5D797E9A5C5782CE845840781FA1CC81 /* Alamofire */, + C3F44C782D64D7EB20B61CE3844EBFAD /* Kingfisher */, + 3756A9BBE41ABEE8DCBF5BCA6972C4DA /* Moya */, + 61B6CCFF300506C38BB04B0C508BE6D8 /* Pods-Instagram */, + B410DCBE90B3B7A03D73EA32F863D844 /* ReactorKit */, + BC432FD48A5932251F1CAFBC4BF74894 /* RxCocoa */, + 4C7573034822F093BCAF13EC6B7B8454 /* RxGesture */, + 38B05587552A2C1CC56A9560B7556ADD /* RxKeyboard */, + 7E82B375F620E71EA112AB528E5EDA8D /* RxOptional */, + FF8B264DFE802855D5D67E7CDDABFC3C /* RxRelay */, + 809C5FAB588354C9BA37DC3EAB8CB45C /* RxSwift */, + 979486118B3E90C08386079D57962701 /* SnapKit */, + 9317E4947CA2FE1B5D5999034C09CCA7 /* Then */, + FE92E7767620E6C25BB552C06593F692 /* WeakMapTable */, ); - name = iOS; + name = Products; sourceTree = ""; }; - 43D2BBE3B04CDB99BD3B74FF2B895978 /* Support Files */ = { + 4BBC1C0B8D40B3A50FB56AA3338616E8 /* SnapKit */ = { isa = PBXGroup; children = ( - 905E98D7D97B00C73EE282BC3E8FA334 /* Then.modulemap */, - 300E4E3EC4EDA9529BB46DAEC8EC108B /* Then-dummy.m */, - B07C230C972755CE919AFEA372DA9E40 /* Then-Info.plist */, - 43E48D43BE26A80ABB64A5E3C417EF6E /* Then-prefix.pch */, - 7107E6BAA711BF13F476344CDE9EBF6D /* Then-umbrella.h */, - 71E41C07F69D8243052807F2E585B8DB /* Then.debug.xcconfig */, - 77239CC919A4EDB337A4359D9A1B1462 /* Then.release.xcconfig */, + 4C28F52DA4A64A7CD4A2548C62820BFE /* Constraint.swift */, + ADD813AEE8A6C1CCC99F44A5C8CFF720 /* ConstraintAttributes.swift */, + AE9BAB1320614B692B20CF0BA7D7F076 /* ConstraintConfig.swift */, + AE2BB49DB71EFBDD2EBB14D92144BF8F /* ConstraintConstantTarget.swift */, + D657BD1BDA248292B42421FFE2FB30B3 /* ConstraintDescription.swift */, + A1EA49A72E64A1BDFE1F43C44C832D3F /* ConstraintDirectionalInsets.swift */, + 7021850CDD27EA17913A5F2BF6BCEF00 /* ConstraintDirectionalInsetTarget.swift */, + E0A75933EDED7A4F4045EA25F43705C1 /* ConstraintDSL.swift */, + A06B01F1FBCB1A7BA23BEF7ED068E6DF /* ConstraintInsets.swift */, + EC3565F7226AE8E36660F3E74A8C0FE1 /* ConstraintInsetTarget.swift */, + CAACE2BEA00686E5FFEB4C8D07AC78B4 /* ConstraintItem.swift */, + CB4049FE89DA90B917F1FCCF8FB47262 /* ConstraintLayoutGuide.swift */, + 035BBA7F0C50B291DA414CA6612C56EF /* ConstraintLayoutGuide+Extensions.swift */, + CCE60291356B1317A9E8935414533531 /* ConstraintLayoutGuideDSL.swift */, + A86A27F8EA7BD456BCEC19A094B8312C /* ConstraintLayoutSupport.swift */, + D15FAA4F90F7AD831758A2F69641A4C0 /* ConstraintLayoutSupportDSL.swift */, + C3F021C5C3C2580ACD8E5BA358CF573E /* ConstraintMaker.swift */, + 59C5F009C51417723067B7C08F197687 /* ConstraintMakerEditable.swift */, + 799F132C574F9599C1F8B8DD19FC83C6 /* ConstraintMakerExtendable.swift */, + 3D91D45C2B98662F4477F1EF8406D49C /* ConstraintMakerFinalizable.swift */, + C818975D61056F186C919FC85EB61D7E /* ConstraintMakerPriortizable.swift */, + 9BE54076C6F6D3CBAA6DF6CD1A673031 /* ConstraintMakerRelatable.swift */, + 0525B54CE10AF67DD5AFC4952F16A01C /* ConstraintMultiplierTarget.swift */, + 944F73B71BFF61E31E6A2FE8B4DC9C0A /* ConstraintOffsetTarget.swift */, + AF03C11C43CFFABC93BC018C4F4837F6 /* ConstraintPriority.swift */, + A8D1834BBA5468347091803F0D49C093 /* ConstraintPriorityTarget.swift */, + D1A244A9A69D44430E272EE3F935CEA7 /* ConstraintRelatableTarget.swift */, + 63C5760D4FE2F162E49026EC655FEE68 /* ConstraintRelation.swift */, + D011DDC8D06A46C95192BCA4BEAFF49B /* ConstraintView.swift */, + 0F4D63F4A5FF5E557345D35D4459A0F7 /* ConstraintView+Extensions.swift */, + 534ABEFA9FB4D62CC2180C01BB915306 /* ConstraintViewDSL.swift */, + D69C89CCEB4D687229179B3E18376A0E /* Debugging.swift */, + 503ED005B9AE7D545EB866AADC1557E5 /* LayoutConstraint.swift */, + 79637718523EA481A8B8AFE8FFE9DE3D /* LayoutConstraintItem.swift */, + D4713DDE01D30B1FE666EEDA31C258F3 /* Typealiases.swift */, + 7ACF1269BD96B3EAEA81EBF7FBFCBB40 /* UILayoutSupport+Extensions.swift */, + E61360CCA6E9D89A83A83D4A1ECD5C71 /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/Then"; + name = SnapKit; + path = SnapKit; sourceTree = ""; }; 4F6EFE2040E71341EE7B5B92E2212020 /* Pods-Instagram */ = { @@ -1472,237 +1988,99 @@ path = "Target Support Files/Pods-Instagram"; sourceTree = ""; }; - 5A76335AE87357990DFD57036E286FD8 /* Support Files */ = { + 54E3F2F754F046D067BED3BE71798BD8 /* Moya */ = { isa = PBXGroup; children = ( - D2B6C82224E97200DA5777721F11A144 /* WeakMapTable.modulemap */, - E0E7CD44B86706C16BEBEEC02743B70F /* WeakMapTable-dummy.m */, - B33405763486E78C119AEDE63CAAFC69 /* WeakMapTable-Info.plist */, - 61C60480E87FB4A2EBF180BE089F2184 /* WeakMapTable-prefix.pch */, - D6192819EBF5F7767065460E883F9EB1 /* WeakMapTable-umbrella.h */, - 62EF707C342621CD232306A2363592EA /* WeakMapTable.debug.xcconfig */, - BB2BDDC3B31C99B5888F3D137ED7B678 /* WeakMapTable.release.xcconfig */, + 3161AD06C2BD0F2F216753A52A96C1D6 /* Core */, + E1CA2EEBF62EF5FBDFB2338B637D96B8 /* RxSwift */, + AA18DC0408BF32FF11D8C408D80B1619 /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/WeakMapTable"; + name = Moya; + path = Moya; sourceTree = ""; }; - 5E6D4CCB099F819CB4876F686F0CA418 /* Support Files */ = { + 5F7E91B724566357012CC886B3F47E39 /* Support Files */ = { isa = PBXGroup; children = ( - E81D2BD64FAF7CC3E6AC9BDB9EE8BC75 /* Moya.modulemap */, - 29484A2ED86E75CEB5AA49D7B3929AB5 /* Moya-dummy.m */, - 31485807E4591D41B3AE84AABC684EC9 /* Moya-Info.plist */, - CEE39F264C8CA25AD25F411ACE8D886A /* Moya-prefix.pch */, - 0D8E4FF54D79503F8FA5EF6EAF09CCB6 /* Moya-umbrella.h */, - E411EE8D45F5A4758F72E9C6D11F295B /* Moya.debug.xcconfig */, - CD50F1396F2341B9FF9A8AB8247FF44A /* Moya.release.xcconfig */, + B07C2E2D0DAC2F4486CDE06DB443182F /* RxOptional.modulemap */, + B93FE95B2EE279B172F4CA1EEBA67BDB /* RxOptional-dummy.m */, + 2F48B31793C788DEC632BD7E3FDD93C9 /* RxOptional-Info.plist */, + B9489BFC487C03A6C6E7817FA32EE879 /* RxOptional-prefix.pch */, + D597F5F713453A46A29917FD7C9105D1 /* RxOptional-umbrella.h */, + C7C2EF9DA197A6FA5B742E3B3E1C9D35 /* RxOptional.debug.xcconfig */, + D00227063AD70B2F020D7F5FD27DD7F2 /* RxOptional.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/Moya"; - sourceTree = ""; - }; - 69644FD8724932B9FE9486121013A9A2 /* RxGesture */ = { - isa = PBXGroup; - children = ( - 0DA70304057D21E13447A3FE4A94BBD2 /* ForceTouchGestureRecognizer.swift */, - C88C559E260AF27B62BF4924CB768BD4 /* GenericRxGestureRecognizerDelegate.swift */, - 9BC92D4817352B32EE0DEF5B572F33BE /* GestureFactory.swift */, - CF9322A269D5351A0FD9E98FD8C92D90 /* GestureRecognizer+RxGesture.swift */, - F9BA12963CB9ADA27ADF8E11F123605B /* SharedTypes.swift */, - 15987D8F398459EEA22D7970304AEF53 /* TouchDownGestureRecognizer.swift */, - D4E309925AEEC09657129AD0CC9B8850 /* TransformGestureRecognizers.swift */, - 1C78D312B5BC420CFEB199D50E6ED48B /* UIHoverGestureRecognizer+RxGesture.swift */, - AEE8A849D6095ED994F8D765C1FE7B9E /* UILongPressGestureRecognizer+RxGesture.swift */, - 953E912DA87A0829969621A1E2050B26 /* UIPanGestureRecognizer+RxGesture.swift */, - A32BA6128473A9B31964E356A679357E /* UIPinchGestureRecognizer+RxGesture.swift */, - D1815C5019D73AE2B7B5E40DFF3FA1CD /* UIRotationGestureRecognizer+RxGesture.swift */, - BEDFBB9CB59E7D625AAB6BB215A4D626 /* UIScreenEdgePanGestureRecognizer+RxGesture.swift */, - 4727B6CF7FF03A9292C82EA8A2599317 /* UISwipeGestureRecognizer+RxGesture.swift */, - 905F351483D2A21B44922F4F64194014 /* UITapGestureRecognizer+RxGesture.swift */, - 53007CC04FF52976B127CF9E92E462EE /* View+RxGesture.swift */, - 852349783886DEF3F04098C42280293A /* Support Files */, - ); - name = RxGesture; - path = RxGesture; + path = "../Target Support Files/RxOptional"; sourceTree = ""; }; - 7FA31906FA49665485DCAD520272A363 /* Support Files */ = { + 74CE138F5FC68A968762D44D64B8BFA3 /* Support Files */ = { isa = PBXGroup; children = ( - 6F891E1BF2C0C6AA24053C9AD2ECC4CD /* RxKeyboard.modulemap */, - 02FFD491AD10A0F01151E7D764974AFF /* RxKeyboard-dummy.m */, - 77A37C6F64BCD888BC66C7F08B2973C4 /* RxKeyboard-Info.plist */, - D74339AF742C2FA803F689AA1E8BEA94 /* RxKeyboard-prefix.pch */, - 47D2A670E0EA9908F4F9540C9C83A5F2 /* RxKeyboard-umbrella.h */, - B540B55AF9A5DE48AC869B3375129488 /* RxKeyboard.debug.xcconfig */, - 9FC1F5D9D3580EC550E33F2302C48C7D /* RxKeyboard.release.xcconfig */, + E79EF8C64565ADA3706AD2C390ED83DF /* RxKeyboard.modulemap */, + D3624A4E950327F709E047EACB520788 /* RxKeyboard-dummy.m */, + 7307553D0CCBD91822C27A2B5723DB5C /* RxKeyboard-Info.plist */, + 94A8C498CBEFD0466191267FF8D2D346 /* RxKeyboard-prefix.pch */, + 8A538468EC500669191DEDB8C488820A /* RxKeyboard-umbrella.h */, + F6504BCF17D95402FFD37D4659BB4BA6 /* RxKeyboard.debug.xcconfig */, + F413F529858A70B988218D837F257C20 /* RxKeyboard.release.xcconfig */, ); name = "Support Files"; path = "../Target Support Files/RxKeyboard"; sourceTree = ""; }; - 81DCFFC3424624C82BF358F6BB1F4C0B /* Support Files */ = { + 7607FF661F8D4E0FFC960D2E97EA2FFA /* Support Files */ = { isa = PBXGroup; children = ( - B5BDB9F990E043E6E2439B1E74742410 /* SnapKit.modulemap */, - 963345BFB768D3D49AEDC923E4419224 /* SnapKit-dummy.m */, - 6E28D16E906E52A93AA28516EEE01156 /* SnapKit-Info.plist */, - 26D0462104222D5901006BFF2A0D4147 /* SnapKit-prefix.pch */, - CF2CD16A90166FFA57E755EEB4784E4B /* SnapKit-umbrella.h */, - 25554B9B8FD0F09D4151348CDA2CB403 /* SnapKit.debug.xcconfig */, - 2EDA9FCC111BF000BC7305BB7A67FEA5 /* SnapKit.release.xcconfig */, + 6E952E20C1DB43518B9D14BDE9AE9418 /* ReactorKit.modulemap */, + B0C7EF2B646794CE0926743FA902F0BA /* ReactorKit-dummy.m */, + C2B4514CAB7434706E52357A93BA62D5 /* ReactorKit-Info.plist */, + D46B329D35740489028D526E3F0FAA6B /* ReactorKit-prefix.pch */, + 7781987FAC23D10DE34FF2EBEC2581EF /* ReactorKit-umbrella.h */, + B10FEE1B39599976E4E3A87CD51BE95C /* ReactorKit.debug.xcconfig */, + 6AE6E5305759AB9521A78121B77D8D4B /* ReactorKit.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/SnapKit"; + path = "../Target Support Files/ReactorKit"; sourceTree = ""; }; - 8398C0608873F816735450C5ED28997C /* RxCocoa */ = { + 859CF17486935E2A693F6AD57945BFAB /* SwiftGen */ = { isa = PBXGroup; children = ( - 808B00F1DCD7B5EE0E7E80DAFA8359E6 /* _RX.h */, - 3181F60DE4F24941A0BBAF666B4D37F8 /* _RX.m */, - FDF6A6E12876E821A6DE43F87FDE4658 /* _RXDelegateProxy.h */, - A1397EA86B01053AB896609974B60346 /* _RXDelegateProxy.m */, - 1D86C8854B820674E97A284B32C620E9 /* _RXKVOObserver.h */, - 10249DD536C1876BF77A28AF8AC21725 /* _RXKVOObserver.m */, - CEAA247747745A7138E403F704D8A61F /* _RXObjCRuntime.h */, - 3EE70159B6A082247520DD4AE7F5C60A /* _RXObjCRuntime.m */, - 794783FE06553920EB6C294C5B8A5B78 /* Bag.swift */, - D6D14C3A52BEDFD875BEBE959CF7C1B3 /* BehaviorRelay+Driver.swift */, - F0F1F46CA80C1662BE67D9F65F18945A /* ControlEvent.swift */, - 05235A5139BBF4300568845DE299BA4B /* ControlEvent+Driver.swift */, - E3E87700931EE876E55B1803E53EC3D3 /* ControlEvent+Signal.swift */, - 56B5822580698E7B2A365E1D55547140 /* ControlProperty.swift */, - 3235B93C452F27ADE31D5CA92C609E01 /* ControlProperty+Driver.swift */, - 180A9FFBEEDB4F77DB91C274C992AC13 /* ControlTarget.swift */, - 067DE6AAD1F944BBD4DA09DEE5B4732C /* DelegateProxy.swift */, - 9E8B47E7BE33715E475BD5181855CB4C /* DelegateProxyType.swift */, - 9AAB70B82387A450BF2F68FECB9AD92A /* DispatchQueue+Extensions.swift */, - 0B9EF744A821266E54487FB9F446E9AB /* Driver.swift */, - 718FE18DF72D0F8582B39297BC37BDEB /* Driver+Subscription.swift */, - 044AF73F9F83C65BEC98C62BEFF0305B /* Infallible+Bind.swift */, - F4B19BA13E60FD0954B294926814DB01 /* InfiniteSequence.swift */, - 5BFA21C5AAD671B299F8D7B67353D075 /* ItemEvents.swift */, - 7DBA9DE753E193DAF7A7D8FF379CCF4E /* KVORepresentable.swift */, - C07C6F3CC08EBBE9701946763684E2D6 /* KVORepresentable+CoreGraphics.swift */, - 63F0BACC09C9D17E044FF856B0A89FA2 /* KVORepresentable+Swift.swift */, - 1F4FAFE56D1FD22685012D37CDACABB3 /* NotificationCenter+Rx.swift */, - A6FECA375FC6A7807BF288367B563B23 /* NSButton+Rx.swift */, - 0947800A80195DFB1FC0358A1B7AD23B /* NSControl+Rx.swift */, - 0DDCC76320905B3676860FBF9C2EFFDB /* NSObject+Rx.swift */, - 54E9A5DCB5D0FCAF9CC26EA8D12D887F /* NSObject+Rx+KVORepresentable.swift */, - 7770EE79C2BA41EDEECB7FB36B55A104 /* NSObject+Rx+RawRepresentable.swift */, - F7C6E0D11714369064C0B5B7975B16AF /* NSSlider+Rx.swift */, - 4C7C7F55182F22A8DBBF36814C1D5FC9 /* NSTextField+Rx.swift */, - 18FA131B44440DFBA8430016D1E28609 /* NSTextStorage+Rx.swift */, - 14AE00BF4007D19AEC1541E8ABE60F4D /* NSTextView+Rx.swift */, - 11BCF2C00923455E64C2CC036BE1CE2E /* NSView+Rx.swift */, - 6F37DCF9DF27DB5A573ABAC96358F4D0 /* Observable+Bind.swift */, - E9F4B275E3603794E231C5C04489240D /* ObservableConvertibleType+Driver.swift */, - 4C3B7D272BBC0253CEE203945825E238 /* ObservableConvertibleType+SharedSequence.swift */, - 5C3ED97FD0131D8D21F9021141A50FB1 /* ObservableConvertibleType+Signal.swift */, - BAB8A9774A35510C73D28CAB89AD6129 /* Platform.Darwin.swift */, - 0F486FD647BFEF34D98CAF2B5EDCE4B5 /* Platform.Linux.swift */, - B4FA7498E60FCAE76EF4182B15E95C56 /* PriorityQueue.swift */, - 5964D72BA9BE27A90339A1CD7AE91E4F /* PublishRelay+Signal.swift */, - AD6EEB752DE2D49ADD32CD3D42E6ADCE /* Queue.swift */, - 34EE2315461BE4B9A644447F7BB4C911 /* RecursiveLock.swift */, - 89DEDC926F604AB19792CDCC150D8712 /* RxCocoa.h */, - F4B5611007001AD28CAF10A19F7032EB /* RxCocoa.swift */, - 744200EA6035BEABB81572FB4BAB1242 /* RxCocoaObjCRuntimeError+Extensions.swift */, - A010D8FFF85D7926E559EC772651259A /* RxCocoaRuntime.h */, - 35EF881970D1AC76F70879BA7BC0336B /* RxCollectionViewDataSourcePrefetchingProxy.swift */, - C4CBAE4D3885D98C5913BC1D1FE22F32 /* RxCollectionViewDataSourceProxy.swift */, - CD0D7A02E256EEC1A04AD167759F03D9 /* RxCollectionViewDataSourceType.swift */, - 717F2BEA1E7D5ECFFE72B042FC91EB1A /* RxCollectionViewDelegateProxy.swift */, - 4F80F22AC190D643F58DB39B082F65CB /* RxCollectionViewReactiveArrayDataSource.swift */, - 0E88BC2A924CEECCD35DF5A753B2C4A8 /* RxNavigationControllerDelegateProxy.swift */, - 8C03244677FBCB3EA14572D24231FFAC /* RxPickerViewAdapter.swift */, - F89362897EBF41C1769EBD511DCE8653 /* RxPickerViewDataSourceProxy.swift */, - 988B6E404C7FE21A2F2419F54CEBC246 /* RxPickerViewDataSourceType.swift */, - 7D1C1BAEB2A7B60143A96FA6A211831C /* RxPickerViewDelegateProxy.swift */, - 8571FFFA390D5DE8E74665E3EBD52776 /* RxScrollViewDelegateProxy.swift */, - C6B2633F274D539B690F716237EA2D5D /* RxSearchBarDelegateProxy.swift */, - 0F6694B4A1D13D77A553024BA24540CF /* RxSearchControllerDelegateProxy.swift */, - AE98A573262ABCD111FA0D683B5C9EDD /* RxTabBarControllerDelegateProxy.swift */, - 4903E853AA93BEA45DDB4AA5CBF1B6E4 /* RxTabBarDelegateProxy.swift */, - 5323EF5E179129BC7A873DD30FA07563 /* RxTableViewDataSourcePrefetchingProxy.swift */, - DF7A7BF4F85AB2E58D05A34A13AE2547 /* RxTableViewDataSourceProxy.swift */, - 2879542042267BE5A80D866660666E79 /* RxTableViewDataSourceType.swift */, - 46C7E7E7F9CC214C6CB70B849522749A /* RxTableViewDelegateProxy.swift */, - 33F261EC6B8C9A4E1327CE0A39CC3360 /* RxTableViewReactiveArrayDataSource.swift */, - 7751D39D2B25528BB946CDAA2F1742C0 /* RxTarget.swift */, - 1D0493D1B0F34D1354A5803D9148F559 /* RxTextStorageDelegateProxy.swift */, - B8EE00399A5C97F77929FD5F6DCCC5D8 /* RxTextViewDelegateProxy.swift */, - 51210328BF4E7EF7D5F0701BF4E34980 /* RxWKNavigationDelegateProxy.swift */, - 76E004F108FD4D1B1FDBF678E582C8F7 /* SchedulerType+SharedSequence.swift */, - 714D4FE76016C740AED30DE7B968FC25 /* SectionedViewDataSourceType.swift */, - 73738B0286728AC9941251C1762B6B1B /* SharedSequence.swift */, - 860D00461DB00540BDEC0C88E1C8A76E /* SharedSequence+Operators.swift */, - 6F2FB86FCEA141BD90AD9E9EDC4DE70A /* SharedSequence+Operators+arity.swift */, - 90E60F7DF4F334F7E7F627DBB03A5E74 /* Signal.swift */, - C52D71ED249E3616249DB8DD9F468DF2 /* Signal+Subscription.swift */, - E6A55574FCE606CE3367D3FF96B640E6 /* TextInput.swift */, - A71C4C18F3523D6AAA3D47ADF9B766A5 /* UIActivityIndicatorView+Rx.swift */, - E9F66A66422833FABB1267FF226D001A /* UIApplication+Rx.swift */, - 5A6E160DF18D5C2511569FBF35368AEA /* UIBarButtonItem+Rx.swift */, - F1037FEEFC472FCECF10EC053400C6B1 /* UIButton+Rx.swift */, - 9FF9455B00A6D912035A370BBB1A78FE /* UICollectionView+Rx.swift */, - BC398C6738D0782FB79841DC267FC1BC /* UIControl+Rx.swift */, - 83E9689521D6E6ED448E83830B738DB6 /* UIDatePicker+Rx.swift */, - E5DA7EC2F4B48FFD548443C7077E4810 /* UIGestureRecognizer+Rx.swift */, - D1D4C3FAC2289834FECEF3E8665AC9A6 /* UINavigationController+Rx.swift */, - DA7DC0250C6F1703032F9D280024B952 /* UIPickerView+Rx.swift */, - 6824D6196E90AA7CACF4D72567C60598 /* UIRefreshControl+Rx.swift */, - 49AF3F74C4ADE4EC4E0334063397EE92 /* UIScrollView+Rx.swift */, - EA30691D73A8230A61C4B6E4443BCB38 /* UISearchBar+Rx.swift */, - EB869115A8A12A7A1AE0EF3D2B3D38F0 /* UISearchController+Rx.swift */, - 5E0F058C86E8A380FD10B9DAF8837BF8 /* UISegmentedControl+Rx.swift */, - 0F599884A3AD86866687FCB8A3122E65 /* UISlider+Rx.swift */, - 96EAB48275DC39FF1A22FB107E90462A /* UIStepper+Rx.swift */, - EE5831A46F62E9E1218147DA303026E6 /* UISwitch+Rx.swift */, - C36E07CBFAC420D4FC25991764335004 /* UITabBar+Rx.swift */, - F6BBC107899D7BA764E4B05F0E11AF77 /* UITabBarController+Rx.swift */, - 177FD66B50A2BF3FF90C3534EBDED55B /* UITableView+Rx.swift */, - 7E2E3F5FDA70AE6B2BFADAA8CD002262 /* UITextField+Rx.swift */, - 260C97BE5BF1E40D2A16E2E5074F34C8 /* UITextView+Rx.swift */, - 4571E1713BEBBF538815DE13FFCC9AFF /* URLSession+Rx.swift */, - 3EBA303BFD41D246F5C094B3F44BA28E /* WKWebView+Rx.swift */, - 2083D82EC5BCD48311F4324023CD543C /* Support Files */, + 9566D5167CC3DC4B9FB9670BCFAA910E /* Support Files */, ); - name = RxCocoa; - path = RxCocoa; + name = SwiftGen; + path = SwiftGen; sourceTree = ""; }; - 852349783886DEF3F04098C42280293A /* Support Files */ = { + 85EA62655204C8EC93B21A5169A93F4D /* Support Files */ = { isa = PBXGroup; children = ( - 39098764C905D7D5418BCA8FBAD9199E /* RxGesture.modulemap */, - F541AF9A6089446F1DDFAA46548D6EAB /* RxGesture-dummy.m */, - 23B0F8DC3E94CC43EC1984381539D106 /* RxGesture-Info.plist */, - CA2BE2F7E655587ED9CE5CB6037ED40C /* RxGesture-prefix.pch */, - 10738C938E8ACD9B1BAFB49AD0A6C47E /* RxGesture-umbrella.h */, - 04C66455493282BE29DE06B48237DCD3 /* RxGesture.debug.xcconfig */, - D3E5441DBD6E65EE33714F8B5858015F /* RxGesture.release.xcconfig */, + 27C8235DC5A5DAB6D33F887A1E4CA248 /* RxSwift.modulemap */, + B168A715D98F61EDDC960CB5C62C8405 /* RxSwift-dummy.m */, + 132BAEBF58B7A389DBBFA12EB571F738 /* RxSwift-Info.plist */, + CE5BD53FFE81A7BCBC95477A3370BC83 /* RxSwift-prefix.pch */, + 99B4612F9D30BBA790EB1536438134C7 /* RxSwift-umbrella.h */, + E06A867E82C40F63DA7410165D6CD9D4 /* RxSwift.debug.xcconfig */, + AF55E4C7BBDA945D895CE251989FEF17 /* RxSwift.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/RxGesture"; + path = "../Target Support Files/RxSwift"; sourceTree = ""; }; - 8C2216E03C18795E67823D111CE14D15 /* Support Files */ = { + 8980C7AF3B9591BD81FEF317A7A616DE /* Support Files */ = { isa = PBXGroup; children = ( - 39C9078112BAF359BB63A26ADD3605AC /* RxSwift.modulemap */, - DFAFD794CCDBFBE824567971E0A840FB /* RxSwift-dummy.m */, - E12B18EA8FDAA5875A8CC48F225F82BC /* RxSwift-Info.plist */, - 8C76494B390F65D864D884E5E6BFD55C /* RxSwift-prefix.pch */, - D68E33B37C0235F62E7C0ED06F62B17C /* RxSwift-umbrella.h */, - 55C3E5C329CDDB358F2758B5BF4BB134 /* RxSwift.debug.xcconfig */, - 4EF870D672BC32852BEDDE0A769A6355 /* RxSwift.release.xcconfig */, + F7D997A24F304525DFFAE87DF1135851 /* Kingfisher.modulemap */, + 09F88BAC7A8CD34F98202BD73B034260 /* Kingfisher-dummy.m */, + 3BF6C165DC1A977A2145D73934951985 /* Kingfisher-Info.plist */, + 490FEBD1563BE525E773001E48CB4266 /* Kingfisher-prefix.pch */, + E772BF09ABA1EDA1E4E042812B2C0258 /* Kingfisher-umbrella.h */, + F618D4A7D0EEA5A73E4C314AA46B8BEA /* Kingfisher.debug.xcconfig */, + 132E12E2A3AFCC2B08F930254022C725 /* Kingfisher.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/RxSwift"; + path = "../Target Support Files/Kingfisher"; sourceTree = ""; }; 8DA53D7463B9766F8259CC2643333792 /* Targets Support Files */ = { @@ -1713,412 +2091,283 @@ name = "Targets Support Files"; sourceTree = ""; }; - 8E14D1270100E03185F67E711802A8B9 /* RxRelay */ = { + 92F419EE629438C6104D36C1839FD727 /* Support Files */ = { isa = PBXGroup; children = ( - FA0AD9DF8D93EBD1D83C95AAC0F892D1 /* BehaviorRelay.swift */, - 3E63D0D0781A46309194AC1DD804277E /* Observable+Bind.swift */, - AC5764AC9D91361602086A2192BA4AC2 /* PublishRelay.swift */, - F725365BB3B40C833AF15E4380D13CED /* ReplayRelay.swift */, - 8099C281680720075FAD956577057E64 /* Utils.swift */, - 9A5642C23E80DBE0894E1F6CCD4A71F4 /* Support Files */, + 7A438100D724AC79A6B0CAB39BF6A937 /* Alamofire.modulemap */, + 8F33FAE2E56710751F5B05532A873307 /* Alamofire-dummy.m */, + E273DA1ABEFE2D592713DBA119CD62EA /* Alamofire-Info.plist */, + F0F6DF1C0E4F84458D0557CC1F821417 /* Alamofire-prefix.pch */, + 7DE07FF8519232235756FC737DB6401D /* Alamofire-umbrella.h */, + 90F1BC16FE4AA8AC06E7BC4ED934F6BF /* Alamofire.debug.xcconfig */, + FCC440E972F7AC19379252857A741525 /* Alamofire.release.xcconfig */, ); - name = RxRelay; - path = RxRelay; + name = "Support Files"; + path = "../Target Support Files/Alamofire"; sourceTree = ""; }; - 8F372D1D3DA0C4C73135801FEEAC167B /* RxSwift */ = { + 9566D5167CC3DC4B9FB9670BCFAA910E /* Support Files */ = { isa = PBXGroup; children = ( - A03225CEDCF16F5400EEE6D22E6F262D /* MoyaProvider+Rx.swift */, - BC4F54594E8FC009D1D240FCC8AA2ADA /* Observable+Response.swift */, - 05F7295783D92F6B903183E16406444A /* Single+Response.swift */, + 996C1A360141B206FBE1293D8477D4B4 /* SwiftGen.debug.xcconfig */, + 5B0FE2D0BC9661FB603E845D878CBC09 /* SwiftGen.release.xcconfig */, ); - name = RxSwift; + name = "Support Files"; + path = "../Target Support Files/SwiftGen"; sourceTree = ""; }; - 9A5642C23E80DBE0894E1F6CCD4A71F4 /* Support Files */ = { + 9776999DCE206E1A1D5729FB5B7A1181 /* Support Files */ = { isa = PBXGroup; children = ( - 98685640ED2208A8503C99415EAC8048 /* RxRelay.modulemap */, - F5B304D8191522561A75BDFC40857EB4 /* RxRelay-dummy.m */, - D073D74794376B63B0604C2789290645 /* RxRelay-Info.plist */, - E13B117F1AD257F9F9D881919D5D9F37 /* RxRelay-prefix.pch */, - 5CD0A8AA2ADD4B00D82F1601F74A1FD7 /* RxRelay-umbrella.h */, - 0F79519BBB6CCE3649B62B38E7ED5D26 /* RxRelay.debug.xcconfig */, - FD2BA46C07C2CB40DCC047220CCF563A /* RxRelay.release.xcconfig */, + FA843D6AB97FD90B26B1D0E01D497C88 /* RxGesture.modulemap */, + E9AA7247DCF2B96CF9E63CBF836647B6 /* RxGesture-dummy.m */, + B03245586FAA244DE020674D204B10D2 /* RxGesture-Info.plist */, + FCC9A445FF41F08E7369515E8542CF05 /* RxGesture-prefix.pch */, + 543BB1069988B702235690D776B23A79 /* RxGesture-umbrella.h */, + B73D3F59AA8CD9CD1DB8DB39478B6CD7 /* RxGesture.debug.xcconfig */, + C61E5D79FE23691306BC47756BF0297F /* RxGesture.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/RxRelay"; + path = "../Target Support Files/RxGesture"; sourceTree = ""; }; - 9C1984DBD3CEFB7AEB34ED10C83E1323 /* WeakMapTable */ = { + AA18DC0408BF32FF11D8C408D80B1619 /* Support Files */ = { isa = PBXGroup; children = ( - 84DCE23AFD00C0DB2E4114688B04B4FF /* WeakMapTable.swift */, - 5A76335AE87357990DFD57036E286FD8 /* Support Files */, + A782B8A6F6E407A1D5A2A14CF7A98A8A /* Moya.modulemap */, + 7E838281C4C03BB768D2ECBECC82A045 /* Moya-dummy.m */, + 0ED94543B0EE0CB3DED4A4E1E00FD684 /* Moya-Info.plist */, + 2F797A424679E095895999BDC1B14C09 /* Moya-prefix.pch */, + 1C83CD12EF1D11A40BC7D1CBC379A96E /* Moya-umbrella.h */, + 668C6506D816C542951AA9D159790543 /* Moya.debug.xcconfig */, + 65296427F14DC611309AECF7906439C5 /* Moya.release.xcconfig */, ); - name = WeakMapTable; - path = WeakMapTable; + name = "Support Files"; + path = "../Target Support Files/Moya"; sourceTree = ""; }; - A854BBA4632553A20EC3186B5816CFBA /* Pods */ = { + AD0857D421EACD8EA5F04E8AD7A4972E /* Support Files */ = { isa = PBXGroup; children = ( - B73D60FECB8937F810711A33424A6639 /* Alamofire */, - AAA7F0873F217D28EC6DBF3899839EC0 /* Moya */, - BCE356E6EC4587DAD7FB738A31D3BD66 /* ReactorKit */, - 8398C0608873F816735450C5ED28997C /* RxCocoa */, - 69644FD8724932B9FE9486121013A9A2 /* RxGesture */, - E7AE6A6FBC2358CE713A292A621B13E4 /* RxKeyboard */, - 195027B9311BE0C6C86FE2D0AC00ACC4 /* RxOptional */, - 8E14D1270100E03185F67E711802A8B9 /* RxRelay */, - F997C763ED04CFD960485554C51A8BA6 /* RxSwift */, - 27D917E1A51157A0361965AEDBDA99E2 /* SnapKit */, - CF4CABB6B184073F949B3330A2D42348 /* SwiftGen */, - 2D83DBFF321F6AEED8C0B9ABDA3421E1 /* Then */, - 9C1984DBD3CEFB7AEB34ED10C83E1323 /* WeakMapTable */, + A3AD1713D2974A4189E8D054C3515383 /* WeakMapTable.modulemap */, + BCC23757231191B04315BB7D91C4F6A9 /* WeakMapTable-dummy.m */, + D001E828833FDB24A1D65B051FEFE7EF /* WeakMapTable-Info.plist */, + 4790961C8494FF6F5E7F4476D9F50833 /* WeakMapTable-prefix.pch */, + 2CE652E871C7195FEBFE580C690CE676 /* WeakMapTable-umbrella.h */, + DCE94BC8E5E955F41A2D9EBA6404EEB0 /* WeakMapTable.debug.xcconfig */, + CD265D7D3283FD3690871CA451818F45 /* WeakMapTable.release.xcconfig */, ); - name = Pods; + name = "Support Files"; + path = "../Target Support Files/WeakMapTable"; sourceTree = ""; }; - AAA7F0873F217D28EC6DBF3899839EC0 /* Moya */ = { + B0ECA0ADC17690A9514C8F06D32BE377 /* WeakMapTable */ = { isa = PBXGroup; children = ( - 02E974ACD4FBA0EC9C49D481C8B62980 /* Core */, - 8F372D1D3DA0C4C73135801FEEAC167B /* RxSwift */, - 5E6D4CCB099F819CB4876F686F0CA418 /* Support Files */, + C8EEAAE3A79F78BC3A9CA3F26F1A9876 /* WeakMapTable.swift */, + AD0857D421EACD8EA5F04E8AD7A4972E /* Support Files */, ); - name = Moya; - path = Moya; + name = WeakMapTable; + path = WeakMapTable; sourceTree = ""; }; - B73D60FECB8937F810711A33424A6639 /* Alamofire */ = { + B4032D0A686307428AABCBAF772F0618 /* Alamofire */ = { isa = PBXGroup; children = ( - 5B11B1A6227E06356331FEA3E7EB9DEA /* AFError.swift */, - B05A24DECC971E402A67410FDC8423E2 /* Alamofire.swift */, - 1E3483B8019F0DBC85AA0166E9F7588C /* AlamofireExtended.swift */, - 46FAA81EEC08800D5D93C737B3FD95D2 /* AuthenticationInterceptor.swift */, - C83FE91AFEC5D17B8F75701927DCE986 /* CachedResponseHandler.swift */, - 6E8DB5A3756CFC4D57236DC3CF00A58F /* Combine.swift */, - BF9ABFAF771A6BC0672B85C956FF4CEE /* Concurrency.swift */, - BB94C796945A7F97D6BDED288CE41181 /* DispatchQueue+Alamofire.swift */, - 6B613994394E0A641B7DB6CDCDEB4434 /* EventMonitor.swift */, - D1A27EF6F67CABF1A948C202920D1383 /* HTTPHeaders.swift */, - BAC66FA4EE7F95A7BAF394FF22E3CDA7 /* HTTPMethod.swift */, - 42A137E136B6E28C4054B9AA55C042DC /* MultipartFormData.swift */, - 3E9DEC36CED0B83BB8558D4EC4AFFBC7 /* MultipartUpload.swift */, - CFA713923A13E0A75E10D90AF9E91E2D /* NetworkReachabilityManager.swift */, - 14AA57AB1C28BC366A2D8F3CE2E0A626 /* Notifications.swift */, - 352EEC90DD337163A0828FD712662EEC /* OperationQueue+Alamofire.swift */, - 16A62D3B3DB5F4D590F49A38779CD36F /* ParameterEncoder.swift */, - 2FB418F643C65BD4F326FA3384803360 /* ParameterEncoding.swift */, - 523DA5F51C6DD61306F2B209A67C3D11 /* Protected.swift */, - 8BEDCC154BF025B539DB5E0E7B76B4C8 /* RedirectHandler.swift */, - FC1FCA7E58A88574EE3C9DA15FDA327E /* Request.swift */, - 38F23C602549E81E76800F670B0C616C /* RequestInterceptor.swift */, - 577887B1C7DDCAE93626C4D6C9B4D936 /* RequestTaskMap.swift */, - A2697D36FDB0609BE48567E6196A34CD /* Response.swift */, - 0FD6A0CA7404220A63ED59E2401866A3 /* ResponseSerialization.swift */, - E5B678BE7F50C957235D46882EEBFEB9 /* Result+Alamofire.swift */, - A77EDD0F6D0629A182AEEE253F937D5C /* RetryPolicy.swift */, - CF089E24C4C0495A5390DB27F1D5AEE8 /* ServerTrustEvaluation.swift */, - C6B82B7E7EE235DE451ACF9BDDF34C27 /* Session.swift */, - DFB6E9E38B1CC3E814A432A6E93D7277 /* SessionDelegate.swift */, - EBADCBE1375382A5B0A78DD4539848C4 /* StringEncoding+Alamofire.swift */, - 803855B7F93FDE3E2D4ACAC245446E2A /* URLConvertible+URLRequestConvertible.swift */, - 2BAB4B18D0586BD78DF9873323C66233 /* URLEncodedFormEncoder.swift */, - C1753EC9C8842E93A8EDD3AC0B08F465 /* URLRequest+Alamofire.swift */, - 438A36BDCAA26D13D3CBA74F8BFBC18F /* URLSessionConfiguration+Alamofire.swift */, - 3E4FB9C27170779E2531C5F64EDB0618 /* Validation.swift */, - F38A268001F51C2DA73268C69529DFEE /* Support Files */, + C73C7FED0DF030FBF0B00573C4B0E42C /* AFError.swift */, + 8567067712EBDBAB27FBBA396BE8A35D /* Alamofire.swift */, + 6BDC476091BAE50413137ECA06DE051C /* AlamofireExtended.swift */, + 3A1503432FD486EEE0978026FC7A5D24 /* AuthenticationInterceptor.swift */, + 8D8E9A4D302DEB814075F0D2BC3F214D /* CachedResponseHandler.swift */, + 7FAD8CE633AFB9FF03E96CD40F26ED33 /* Combine.swift */, + D903B428E096757A532006748B58A733 /* Concurrency.swift */, + A1AF91BF648BEED0CFB46BD741220EB6 /* DispatchQueue+Alamofire.swift */, + 311A17018022B0DB9FEDAD6D746F6E24 /* EventMonitor.swift */, + 6299B86B15A578088239716671D46286 /* HTTPHeaders.swift */, + 0778183A242806F91ACC29A39CBAF8E6 /* HTTPMethod.swift */, + 4B0257139B6E64A02708B98678F8FD5A /* MultipartFormData.swift */, + 81F7DE293C3E6A35A8559075373D63F2 /* MultipartUpload.swift */, + 360B9167848655444F85D5A0F34718AD /* NetworkReachabilityManager.swift */, + 44103DC8921F9B0D12A650C484B00DD9 /* Notifications.swift */, + EB022452187D41E7F42D0948E7434A8F /* OperationQueue+Alamofire.swift */, + ED53DE91F4C272E6FB0370FFA9E796B8 /* ParameterEncoder.swift */, + 164AAD0967986B2A1C04EDE8D0F951D9 /* ParameterEncoding.swift */, + 426F234E89E871EB5492BDE445950884 /* Protected.swift */, + B9678C3AA6B1EF7B445F751D1B9473B3 /* RedirectHandler.swift */, + 696589C09F19D2E5A55BE4231D440221 /* Request.swift */, + DA59903AD3A3526D13DE998E598C38D0 /* RequestInterceptor.swift */, + DFA56849F5DE994B5018FC1D2AF92A79 /* RequestTaskMap.swift */, + E45933F627929FAE9B1703FD90DA0A5A /* Response.swift */, + E9586510E37B5681FB6AADF92BA9D7F9 /* ResponseSerialization.swift */, + E601B063596B29C8FA9E230A58C7C9E4 /* Result+Alamofire.swift */, + B1D14FE2AA8C4036D145678A0C73B1DC /* RetryPolicy.swift */, + 3FDA92254767A662C021F79C7EBBF9C2 /* ServerTrustEvaluation.swift */, + 62F59685D7FBE3C7ABC147FBF4128823 /* Session.swift */, + 50357999C33BA3E2E89C9C2A41731B81 /* SessionDelegate.swift */, + 811762FE40D51B3CCE3F77CFC2481AC4 /* StringEncoding+Alamofire.swift */, + 69DAE2B7780909ED70B47E71065EA37C /* URLConvertible+URLRequestConvertible.swift */, + C320DB64CB8D608FFB4640272802BC0A /* URLEncodedFormEncoder.swift */, + 61B182ABB7B73D4D1A87BA4C8456BF52 /* URLRequest+Alamofire.swift */, + 37E9A3B4705C6F8315A850E2AD971F58 /* URLSessionConfiguration+Alamofire.swift */, + 9172C07FE08CB7F3DA48AFAF048081C6 /* Validation.swift */, + 92F419EE629438C6104D36C1839FD727 /* Support Files */, ); name = Alamofire; path = Alamofire; sourceTree = ""; }; - BC0B0A8277D9C355FF892103825EE992 /* Support Files */ = { + B7D7A0F866DC3806C84588A0EC085968 /* iOS */ = { isa = PBXGroup; children = ( - 2941A45F9AD3154E522274EE4149EE00 /* RxOptional.modulemap */, - E6E9630D734FBEE5314E90FF271968E1 /* RxOptional-dummy.m */, - 783848DD55EEECA5064484479CFD2D0D /* RxOptional-Info.plist */, - 8811820A148FF95D54E20214B21EA0B4 /* RxOptional-prefix.pch */, - 1F77A77CF19FACD44D268BB5988F6B2C /* RxOptional-umbrella.h */, - 333AAB78732FA0DC450964427E5E4FA3 /* RxOptional.debug.xcconfig */, - 388B09C72906EEDB8165B01B5347684D /* RxOptional.release.xcconfig */, + CA7C1AC9E714BE70A11AA06F199AE741 /* Accelerate.framework */, + 26F6917775ACF0C52B3F34585C195A23 /* CFNetwork.framework */, + FE16F15DDF6B4A132FB65F10EA8AC5BF /* Foundation.framework */, + E5B15BDA51BDC454532ED2D9A1907C74 /* UIKit.framework */, ); - name = "Support Files"; - path = "../Target Support Files/RxOptional"; + name = iOS; sourceTree = ""; }; - BCE356E6EC4587DAD7FB738A31D3BD66 /* ReactorKit */ = { + BA4F31F07263C99FC76E66D632A59F09 /* Frameworks */ = { isa = PBXGroup; children = ( - 4335216CFD3A15BE90C273EA4D93CDB6 /* ActionSubject.swift */, - B91EFAA15EE51E9613E1032C01C4630E /* Exports.swift */, - 201AB1CB2F04D650AC6F2639C0C0C27D /* IdentityEquatable.swift */, - D23BE1A4AFC47F0575AE10541B426BAA /* IdentityHashable.swift */, - A5DF18B1B5FE8F19CEFBF9694CCB9443 /* Pulse.swift */, - 68AB2B0D6DD8A4788B318F5C00B0157E /* Reactor.swift */, - 36EDE5982176089CDC9F2FB7FF136740 /* Reactor+Pulse.swift */, - B70BD449E6F8A92EF5DE06C14921E1DA /* ReactorKitRuntime.h */, - 8DD7BFE076A52230E13B80C8EA4862CD /* ReactorKitRuntime.m */, - B32C7757FD713CFE9E44767804C18244 /* StateRelay.swift */, - AD8481B729DA28713857C42B6B2FE179 /* StoryboardView.swift */, - B294C59D083488E2BDB4D0A0693E1AD4 /* Stub.swift */, - A16933FFD3B253B971CC6F39FF36E991 /* View.swift */, - 0700D09BE40C9ED3261F20EE976D8A35 /* Support Files */, + B7D7A0F866DC3806C84588A0EC085968 /* iOS */, ); - name = ReactorKit; - path = ReactorKit; + name = Frameworks; sourceTree = ""; }; - C932743949B1EFB80290EA9BB6F4B978 /* Products */ = { + BE2D066D75146A42629B9E40430D0717 /* Support Files */ = { isa = PBXGroup; children = ( - 5D797E9A5C5782CE845840781FA1CC81 /* Alamofire */, - 3756A9BBE41ABEE8DCBF5BCA6972C4DA /* Moya */, - 61B6CCFF300506C38BB04B0C508BE6D8 /* Pods-Instagram */, - B410DCBE90B3B7A03D73EA32F863D844 /* ReactorKit */, - BC432FD48A5932251F1CAFBC4BF74894 /* RxCocoa */, - 4C7573034822F093BCAF13EC6B7B8454 /* RxGesture */, - 38B05587552A2C1CC56A9560B7556ADD /* RxKeyboard */, - 7E82B375F620E71EA112AB528E5EDA8D /* RxOptional */, - FF8B264DFE802855D5D67E7CDDABFC3C /* RxRelay */, - 809C5FAB588354C9BA37DC3EAB8CB45C /* RxSwift */, - 979486118B3E90C08386079D57962701 /* SnapKit */, - 9317E4947CA2FE1B5D5999034C09CCA7 /* Then */, - FE92E7767620E6C25BB552C06593F692 /* WeakMapTable */, + 45EAFD01DFDB00A9FFA0EE2F4E034929 /* RxCocoa.modulemap */, + 5F81AF160025ED89BC00E65979CAA57A /* RxCocoa-dummy.m */, + C7F7213D850C152F4E6883880B2DAED4 /* RxCocoa-Info.plist */, + BD2527818B473B9832AC7C8590A06E53 /* RxCocoa-prefix.pch */, + CBB849D087658992E5F15CD70550A915 /* RxCocoa-umbrella.h */, + 315A4FCD9BDA3A59891B7922F090721C /* RxCocoa.debug.xcconfig */, + 88E05300D5ACED733B17D05710D29D3D /* RxCocoa.release.xcconfig */, ); - name = Products; + name = "Support Files"; + path = "../Target Support Files/RxCocoa"; + sourceTree = ""; + }; + CCAE36B0270FB1D8C1B69FDACBFCFEDB /* Support Files */ = { + isa = PBXGroup; + children = ( + B8B831F0BF501E86750A584B96093C82 /* RxRelay.modulemap */, + DE3EF7F5045501A42098CAC3AE58FE99 /* RxRelay-dummy.m */, + 6E1FC123E5B276A369C02D8500EECEF9 /* RxRelay-Info.plist */, + 09CBAFF286078D613091191FDC43D123 /* RxRelay-prefix.pch */, + 55518D35AC2EEF791F9CBF1698733D35 /* RxRelay-umbrella.h */, + 3D696111C894C979A29EBD5A4FA8FC5F /* RxRelay.debug.xcconfig */, + 92EADEE98AFD36412A164CD4583155C7 /* RxRelay.release.xcconfig */, + ); + name = "Support Files"; + path = "../Target Support Files/RxRelay"; sourceTree = ""; }; CF1408CF629C7361332E53B88F7BD30C = { isa = PBXGroup; children = ( 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, - 03C5C200A0787E300053CFA8F53CA094 /* Frameworks */, - A854BBA4632553A20EC3186B5816CFBA /* Pods */, - C932743949B1EFB80290EA9BB6F4B978 /* Products */, + BA4F31F07263C99FC76E66D632A59F09 /* Frameworks */, + 1409B08C1C772F191DD5BA5348D79EA2 /* Pods */, + 43AF1DC1CCD1471EAA993D7C26EF00A5 /* Products */, 8DA53D7463B9766F8259CC2643333792 /* Targets Support Files */, ); sourceTree = ""; }; - CF4CABB6B184073F949B3330A2D42348 /* SwiftGen */ = { + E1CA2EEBF62EF5FBDFB2338B637D96B8 /* RxSwift */ = { isa = PBXGroup; children = ( - DC23D834D94907ED1B33EA3A5DF16680 /* Support Files */, + B6C7E905CFCA4B4B31DFC57EA1B1006F /* MoyaProvider+Rx.swift */, + E8D99107F111E432502DED0FC55A8E2C /* Observable+Response.swift */, + 48A710424A0771F196A89889DAF0EBC8 /* Single+Response.swift */, ); - name = SwiftGen; - path = SwiftGen; + name = RxSwift; + sourceTree = ""; + }; + E348E7969DD0DDBDA30DC31E9AB366B4 /* RxKeyboard */ = { + isa = PBXGroup; + children = ( + E0695D1C29C6138C11D724CF53ACC9AA /* RxKeyboard.swift */, + 74CE138F5FC68A968762D44D64B8BFA3 /* Support Files */, + ); + name = RxKeyboard; + path = RxKeyboard; sourceTree = ""; }; - DC23D834D94907ED1B33EA3A5DF16680 /* Support Files */ = { + E61360CCA6E9D89A83A83D4A1ECD5C71 /* Support Files */ = { isa = PBXGroup; children = ( - BAEA26E5A0E2B82BD83578C05E5BCAE6 /* SwiftGen.debug.xcconfig */, - 9733A2F460991DEBAE2A4A6373B4D31E /* SwiftGen.release.xcconfig */, + 537FAB5EABB42903ECE23CD67F3C13EF /* SnapKit.modulemap */, + F8310AE15F075C3E7489072290E10DDF /* SnapKit-dummy.m */, + F23056540E877D988A24E3EEAF40AAA3 /* SnapKit-Info.plist */, + 108E6D3AFD31C5AF2A8F5B11CEAE97A1 /* SnapKit-prefix.pch */, + 417AE7B7778466DB76BB64F16AFC0E4E /* SnapKit-umbrella.h */, + CF9087015E5243440A1329BE6F597A2A /* SnapKit.debug.xcconfig */, + 7D63BB28F3BAA093DDC64A233EC06F37 /* SnapKit.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/SwiftGen"; + path = "../Target Support Files/SnapKit"; sourceTree = ""; }; - E7AE6A6FBC2358CE713A292A621B13E4 /* RxKeyboard */ = { + F5D461E14D6BCE2F00D8368369FF42A1 /* Then */ = { isa = PBXGroup; children = ( - 8ABC4368B496175D683B636C8B9A2CA4 /* RxKeyboard.swift */, - 7FA31906FA49665485DCAD520272A363 /* Support Files */, + EB2B2D6096DB34F76569778B1476724C /* Then.swift */, + 31F7858CEB8C50937488E66660DAC7D2 /* Support Files */, ); - name = RxKeyboard; - path = RxKeyboard; + name = Then; + path = Then; sourceTree = ""; }; - F38A268001F51C2DA73268C69529DFEE /* Support Files */ = { + F6C3CA70F49BBE211B68CE9C6AB9FC57 /* RxRelay */ = { isa = PBXGroup; children = ( - 755625A552CB4A4844215BD9E6812CB3 /* Alamofire.modulemap */, - DFC9730861EB6724EC9C622B1DEBBA85 /* Alamofire-dummy.m */, - 9AEFB7F4CE00E3DA2784025216B3CD81 /* Alamofire-Info.plist */, - E2F2FC6B652A5B12A9D36BB02FDD4A16 /* Alamofire-prefix.pch */, - BD7589D60650BDC1A7F0A9EEA44D9187 /* Alamofire-umbrella.h */, - 08D5424B32A74E8215AEE4F389E08CD8 /* Alamofire.debug.xcconfig */, - 972B6880FE33F1692D0DF0444904E818 /* Alamofire.release.xcconfig */, + F142DDE132EF8A5EBCF46D6ACDA01F6D /* BehaviorRelay.swift */, + 600EE0BFF98611F12B6B6978C39FEAB6 /* Observable+Bind.swift */, + 611262C4C2D79421F9C1B2EFCCE5ADB1 /* PublishRelay.swift */, + 2CD9DE184CCD638DD4B8739E9C6ACEA1 /* ReplayRelay.swift */, + 9C688DCAAEB684B86FF2F1A29892D1B5 /* Utils.swift */, + CCAE36B0270FB1D8C1B69FDACBFCFEDB /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/Alamofire"; + name = RxRelay; + path = RxRelay; sourceTree = ""; }; - F997C763ED04CFD960485554C51A8BA6 /* RxSwift */ = { + F7406EF266F26765A8F55915F2F9CB55 /* ReactorKit */ = { isa = PBXGroup; children = ( - BB580C86B8DA2DDB40110305D03FC737 /* AddRef.swift */, - 054339B84DDE440F012B13DD799A801B /* Amb.swift */, - B5C488575AA10795CC8E9B6CF36857ED /* AnonymousDisposable.swift */, - C57A6D496B5D666BC82DAB0A8C42FE2E /* AnonymousObserver.swift */, - 11AC398CC589E4C338A16FC75ACDF299 /* AnyObserver.swift */, - EB981652736C533DE27A4E6EDEFCF40C /* AsMaybe.swift */, - E5039D6B8EED282AC88714328E2E808F /* AsSingle.swift */, - 007E552A45E73395AEAC18513C160905 /* AsyncLock.swift */, - 1F3014CFF77BF32C095A8E9478F6026D /* AsyncSubject.swift */, - 40F16C949AEC0CA65AC099EB1B985C17 /* AtomicInt.swift */, - 7F284E3D0EA4D1AB5240CAAACE97F3ED /* Bag.swift */, - 8D5DFBABC19732735CECC3070EF28F79 /* Bag+Rx.swift */, - 6EF4C9B8552025190300BFBF9CEC3B61 /* BehaviorSubject.swift */, - DBED98EE28B74C41071C29EE2BFA68D7 /* BinaryDisposable.swift */, - 20BFE5C48A074B4DABCCE1D4103A4B1E /* Binder.swift */, - EAD62592B8537A56F6DE79E30F8FEEBB /* BooleanDisposable.swift */, - 6029F2D4AAC32E8DA5F4495C055B724B /* Buffer.swift */, - A030B678CB4749FE0A32AE7363BFFD31 /* Cancelable.swift */, - 82DFE39997410678FF195BCB0BBF8C2D /* Catch.swift */, - 796CBF60955D95BE12F4BCFBFF9186FE /* CombineLatest.swift */, - B4F4CFAE1178DF75BDF760E071F537B5 /* CombineLatest+arity.swift */, - 0469742C52358EADCD2F40E1A0852BDB /* CombineLatest+Collection.swift */, - 602A4268E46BE38D1E3EAD9A40EF866E /* CompactMap.swift */, - 57C2F06F01F24E77201BC003F9016A25 /* Completable.swift */, - 2C146685C2BAD74E75E3199DB158D6F4 /* Completable+AndThen.swift */, - 7737C7C0F804606EF472F97DFB116343 /* CompositeDisposable.swift */, - 246D49991DD0D2038D3E36B7A4955792 /* Concat.swift */, - 2CE4B2F6B3AD87DC31399128CDEE5A9D /* ConcurrentDispatchQueueScheduler.swift */, - F6AB62EFAA60CEC262A724655DD4ABC9 /* ConcurrentMainScheduler.swift */, - 783E3196489A69C00E9C0D32AE13850F /* ConnectableObservableType.swift */, - E66241FCCF6FF8B4ECF8BC158FA0813D /* Create.swift */, - 74DD102E8A79BA4E78FF81F57C8DBD13 /* CurrentThreadScheduler.swift */, - 9312968996F3DD5C7F718803DE8D5125 /* Date+Dispatch.swift */, - 21F1E402DAEF7F79F5FAE19C4FE79530 /* Debounce.swift */, - E2D03D1D427E1B3AD6A1D392EF12041F /* Debug.swift */, - 8DBF03E89A66BC0ED113149FA25314E8 /* Decode.swift */, - 709171001ACD33D421A0151F4045C555 /* DefaultIfEmpty.swift */, - 98F693C03A52A38F27FCD0A9CFD07222 /* Deferred.swift */, - 55CBBA8F20C9FF1FD1A82078CDFD1CC7 /* Delay.swift */, - A02EA7BACD2FCA7BB87B7DA468D17247 /* DelaySubscription.swift */, - 3D93D3434120BD7DB00C6FAB48FC0330 /* Dematerialize.swift */, - 015B65503A023CD4DD62EABA640825B6 /* DispatchQueue+Extensions.swift */, - 7BD7FC8594544F611A2FDCA0CA23271C /* DispatchQueueConfiguration.swift */, - 3128177CA402A50F67C41CD0FBF2D27D /* Disposable.swift */, - 8F4E8D5356D05F5265042338BD2057C2 /* Disposables.swift */, - 0B3142520F72B10908E882AE8FF5D3EE /* DisposeBag.swift */, - 296AEA5E34BAC8F338D180C27493080D /* DisposeBase.swift */, - BF508FF0B3E546960CE4F12C4ACDD69D /* DistinctUntilChanged.swift */, - 7E605BFE9FF02313BFE760837DD3FA2E /* Do.swift */, - 6D2F58A0D323A37BD54B3A6622EBC48D /* ElementAt.swift */, - A747CB02DE8D68E73C9EB3ECEC7D399D /* Empty.swift */, - 83E610867086D679F173FFDD4FC226D8 /* Enumerated.swift */, - 9F46548B315EBAC425A765B6125A0BF6 /* Error.swift */, - 61D9D09E371936C1C816A7015978E90C /* Errors.swift */, - 15408AECF0A4578A87267F591199ADE0 /* Event.swift */, - 43011D74D0DF9C0F1686A2FC6896F0C5 /* Filter.swift */, - 969D313B26E405CD7223A06CBD6739EC /* First.swift */, - 6D11FE213CD73CD37E250D1C792DBCB1 /* Generate.swift */, - D10A437D9235F52C5A792698A8626AA2 /* GroupBy.swift */, - 5CEA3D89FF147A9209D5605F6057C88A /* GroupedObservable.swift */, - AE69515243ADE72347BA65A5C894A85F /* HistoricalScheduler.swift */, - B66C2F57C26269519043F10808BBF9DD /* HistoricalSchedulerTimeConverter.swift */, - C62EE1015A51F1FA22AF8EE847F7A393 /* ImmediateSchedulerType.swift */, - D29C83FCA2C7DB9EB767361A3E17BEF3 /* Infallible.swift */, - 5A4FFA3031844E039BF287CB9A3BED4B /* Infallible+CombineLatest+arity.swift */, - 0F593D0E8AC59D2DF8CC401589F6A307 /* Infallible+Create.swift */, - 2C072944164CCD7846B1B91A58DA56CD /* Infallible+Operators.swift */, - 093BDF9F1AC680D3A9C73C616FEA4A53 /* Infallible+Zip+arity.swift */, - E3C77BAB00B5E895B08D48866339D575 /* InfiniteSequence.swift */, - DD0C7505340B7ACDEFD2DD6B2B06B36A /* InvocableScheduledItem.swift */, - DC31CAFF0297E3B8FF1C608661188AEB /* InvocableType.swift */, - A7A598980521BA743A95893A6EB2CF24 /* Just.swift */, - D965FAEEB92040A085E7AAAC7DEBE63B /* Lock.swift */, - 151B4932FB5A4CF4543D3537C59B416E /* LockOwnerType.swift */, - C86DA7E616B8A125D807071B1596043A /* MainScheduler.swift */, - 612E84A141BB52B45ABDC0F44CF8A820 /* Map.swift */, - 5932905FCB14781E087A591A86A8A267 /* Materialize.swift */, - 123B65E510C6563668C227BCFA354222 /* Maybe.swift */, - 11008A58ACAC831C59A486BAFD6B3B07 /* Merge.swift */, - F437CF974065CCE6171374108E450321 /* Multicast.swift */, - 5247DAF484473F523ABF4B8C7A131719 /* Never.swift */, - 17F3F8D362F83879FDABA99EBB72401C /* NopDisposable.swift */, - 55CE8E317EA065775461AF5C2330A097 /* Observable.swift */, - E0266BF9CFB826EDDCFC13C7E0A958F9 /* ObservableConvertibleType.swift */, - 63530B11202248B9BCB428C74C428B06 /* ObservableConvertibleType+Infallible.swift */, - 7EAA7D7EE1BE27B1875C800B4978363F /* ObservableType.swift */, - 8FB84899336A4CA5B4B9D16151BA27C6 /* ObservableType+Extensions.swift */, - C964B77057E61E6BEC146AA65FD8E8EE /* ObservableType+PrimitiveSequence.swift */, - D2DFFAB3F3536611DCC0A4ABFB1D7A03 /* ObserveOn.swift */, - DD98B406100DCF9F466BAA4ADC75A053 /* ObserverBase.swift */, - 2C42F3900862C51BF56CC8F5BE28B44F /* ObserverType.swift */, - 275AFB46D96EA97D9E7D0FBE10D4969D /* OperationQueueScheduler.swift */, - 90F4BB9ED99DFF5CF7386AD135F6B23F /* Optional.swift */, - 4918618AB8F3AA96C76D54650D58EBF5 /* Platform.Darwin.swift */, - 80B844C3D90DE4E87A4E307CC7F20DB9 /* Platform.Linux.swift */, - 8AB22D1A9452D29624DFE494F11D10EF /* PrimitiveSequence.swift */, - E540EBA4FBA3EBA12456955FB7F22F16 /* PrimitiveSequence+Zip+arity.swift */, - FF429810ADD169082D559A31C48C0AA7 /* PriorityQueue.swift */, - 9343CD8C6406E19E1C5A17CAE5A49188 /* Producer.swift */, - 57D1BB3817361ECBE99D8ECC1D04E889 /* PublishSubject.swift */, - 7F93AA75142B4DA5E036DF4599449109 /* Queue.swift */, - 51C87204562A318CD303726A89763BBB /* Range.swift */, - A89F61E429CA1DC7C50F1FC0EECBD07F /* Reactive.swift */, - FB0811C2CA959CCF232320EF797DF450 /* RecursiveLock.swift */, - 568D2C349984DEF51C52BF5E454E00EB /* RecursiveScheduler.swift */, - 9AB946B66C176ED06A98B044EE3A7FF3 /* Reduce.swift */, - 300232FC414A1EE7676E7ACA1C9860D8 /* RefCountDisposable.swift */, - DAF516BDFD4363B662ABAA8E3296E4FD /* Repeat.swift */, - CECC38BDBFE7476A8B565A33DE544AD2 /* ReplaySubject.swift */, - 442FB4FF606BACDCA03236B76F49A6D1 /* RetryWhen.swift */, - BA79EBD740D063EC2FE7610BA95F6A7A /* Rx.swift */, - 1FA859BE6C9482EAD1E7D5F3CD1835FF /* RxMutableBox.swift */, - 0D3D1855FFEDCCE10C5CDE04EEB28100 /* Sample.swift */, - E2E7CFAA3BAF5ECEF2AE2936E6742FE2 /* Scan.swift */, - CC66EC8B913EBECD53F5E4EE086A1EE6 /* ScheduledDisposable.swift */, - F9F36650EA30EC5861A6E105F0A8CDF7 /* ScheduledItem.swift */, - CA90C4718CF3DB81F0533B0B8505FF08 /* ScheduledItemType.swift */, - 85E7B7155D6073B9BD1DD5D9F71E00F9 /* SchedulerServices+Emulation.swift */, - CC08A1DB650DA12511E7ACF3FD833906 /* SchedulerType.swift */, - EDD8B695DF72001157AE608336943DDB /* Sequence.swift */, - 9BC86148BC9FBE30BAFBA81C3211EF16 /* SerialDispatchQueueScheduler.swift */, - AC20F79B859E2EA7D35038C80B7FF047 /* SerialDisposable.swift */, - 8E87C5BB83558637FF551E56C62670A2 /* ShareReplayScope.swift */, - 4F25A4728BA5FDB512539D66C3D57B3F /* Single.swift */, - F8755F70EBE021FA9FC9F4EA7B2EC378 /* SingleAssignmentDisposable.swift */, - 6F24BD31B11D9116A4370033B217526D /* SingleAsync.swift */, - 580C07C20D4B91975EE023495E0E9DB6 /* Sink.swift */, - B3CAB360E1DE3B181545BF523351B6A1 /* Skip.swift */, - D19D61F1B152B6622EF55BB7FE1D8750 /* SkipUntil.swift */, - F02FC33C1F3ECFAEC33A924127364D8A /* SkipWhile.swift */, - C9CD895DF24D8A8EAC14E4096FF9CF69 /* StartWith.swift */, - CFDAA8BC564E497B5FF67F42C7C03679 /* SubjectType.swift */, - 2BD5D60ADD2E9496395B7244399D89B4 /* SubscribeOn.swift */, - 6E15252D095246A98DB0924DC54C66C8 /* SubscriptionDisposable.swift */, - 09526484ED4A46250C50E639B9E57CC4 /* SwiftSupport.swift */, - A5930AE62CAA1C0ADE55F398EF765400 /* Switch.swift */, - 2382E1791FBE01D89B01196D3AEB8A62 /* SwitchIfEmpty.swift */, - 22D6B3C1120FDEF2EA976CFA769266CA /* SynchronizedDisposeType.swift */, - E3D76B812593C46182D5AC6BC61B0AE2 /* SynchronizedOnType.swift */, - 1DD12F155FC564179AD208AD1831FD36 /* SynchronizedUnsubscribeType.swift */, - 94893EB3CEAF945C6004E0946EC70858 /* TailRecursiveSink.swift */, - 60F35EC785BA80C735B4E9B3246A93EC /* Take.swift */, - D65E87D2C01D6A1C912EBB867FC007C3 /* TakeLast.swift */, - 97AE8AD2EE8A869F2E8EDB996FC8CE15 /* TakeWithPredicate.swift */, - 127DE17A1CEFA087654D1E2F684D9BED /* Throttle.swift */, - 6F4EE04F039DC0A68AF0384B6443B8B3 /* Timeout.swift */, - 1D221F39AD650982E88458C82AFA1EEA /* Timer.swift */, - 81ABDD1C13D64396DFC44864F3DCF17D /* ToArray.swift */, - 7EF6AD3688E30D8DADD996F4B8AF330B /* Using.swift */, - 61C4F3E9971FCBDBADED1CEDFDECD823 /* VirtualTimeConverterType.swift */, - 557BD12597B8D211B889CA9723DFD4F8 /* VirtualTimeScheduler.swift */, - 32A8A8A05F9F8AE24499299C9F6767B4 /* Window.swift */, - CE56111F5DBEF7D45FD7377ACA6FA4CB /* WithLatestFrom.swift */, - 5FF934E8D70F0A013A56535925353276 /* WithUnretained.swift */, - 61B2EF1B8DD30320C95ACA9F36E6F3A8 /* Zip.swift */, - 4B493452C8541838E7C8161C08836B18 /* Zip+arity.swift */, - 06AFFFBD95E62B02E6DBCD3E6769465B /* Zip+Collection.swift */, - 8C2216E03C18795E67823D111CE14D15 /* Support Files */, + 41A25ABF63DC1DDD40B00378B095B9C5 /* ActionSubject.swift */, + 755D9E9846EF618B2E66AE08C22A62A1 /* Exports.swift */, + B2F7C06EC6A3318142553E67EB92D329 /* IdentityEquatable.swift */, + B954917DA26CF3AE989B1FD572BEC7B9 /* IdentityHashable.swift */, + 2252602278DDB4033E4BE2F9A4A6C190 /* Pulse.swift */, + A8A582419F97A5E1F7E520A3478819E1 /* Reactor.swift */, + 5F588190C2E7D5B271DF830489459106 /* Reactor+Pulse.swift */, + 0487B08F474AF08AD173F0BC60D5C4B4 /* ReactorKitRuntime.h */, + 4E7C606832931FC459E99A657F948097 /* ReactorKitRuntime.m */, + 0F09340553726BD1D3B1AE501648DBE3 /* StateRelay.swift */, + 34B94ADE356F10E6FFB87EB7AD85F8F1 /* StoryboardView.swift */, + 7A1CF70DE0BF6F46E0D34007C9834B58 /* Stub.swift */, + CD55DB7D81D9F399AC629E33E687F565 /* View.swift */, + 7607FF661F8D4E0FFC960D2E97EA2FFA /* Support Files */, ); - name = RxSwift; - path = RxSwift; + name = ReactorKit; + path = ReactorKit; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 00EAA677D79824AE2D7749E533B0E8D2 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 6300060B63725D113F578392F2396061 /* RxSwift-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 0BB88D8B14383748A8CE24805678071B /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -2173,19 +2422,19 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 5B12051FCC7D76391D6BF886D91693BC /* Headers */ = { + 68C080E99CC775EA126ACD19897DECB3 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 152572FAF68B8B94B0B3974A4FAEF5B8 /* WeakMapTable-umbrella.h in Headers */, + D4BC07F35E116F20A7491DBE42F0B03A /* RxRelay-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 8C4C1ED05102B5029825A68E26E8FAB2 /* Headers */ = { + 7AE52B176E9872452FD890FC7F460CE1 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - EA1EF91EB16C03CF30EEC0B80F24E66E /* RxRelay-umbrella.h in Headers */, + 122980E44B15C64CF0B14DC94D7EB5C9 /* Kingfisher-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2197,36 +2446,36 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - C93F84784181AAAE7D64326C1B62A0C2 /* Headers */ = { + B0E81F6C5E521D1E830CF136D5D2AE71 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 0C82CCD0E2CE1F2C2C226D70363F582E /* RxSwift-umbrella.h in Headers */, + 14D4FA8B23D1301DB865C67BF07D7567 /* Pods-Instagram-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - CD0738214FB33A592A5446D275F002F4 /* Headers */ = { + BD9CD3988CD9B10D48CFD498F32C9121 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 64702E011ADECD00DF0BEC45AFDC95B9 /* ReactorKit-umbrella.h in Headers */, - 578F143C5BCF1F8A98F976B341B0D4A0 /* ReactorKitRuntime.h in Headers */, + A0D5E7C251734AFCDB8EF693ADA3450D /* WeakMapTable-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - D0482E511DA59C90F7DB62C353302CD0 /* Headers */ = { + CD0738214FB33A592A5446D275F002F4 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - A892A3F92A4B151AD508CFCD080082A4 /* Then-umbrella.h in Headers */, + 64702E011ADECD00DF0BEC45AFDC95B9 /* ReactorKit-umbrella.h in Headers */, + 578F143C5BCF1F8A98F976B341B0D4A0 /* ReactorKitRuntime.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - E9E64EDA6283BC315BD6BA6E9F7D96EE /* Headers */ = { + D0482E511DA59C90F7DB62C353302CD0 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 73D15984AE9C8A38CBCAAC1ECED7CE34 /* Pods-Instagram-umbrella.h in Headers */, + A892A3F92A4B151AD508CFCD080082A4 /* Then-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2245,8 +2494,8 @@ buildRules = ( ); dependencies = ( - A6D9632564FE5F833969B27C46920D26 /* PBXTargetDependency */, - 3E8DEFC88F3FDD6825D7D34426A37576 /* PBXTargetDependency */, + 1FA9096C8DD056A39937B026E501EEEF /* PBXTargetDependency */, + A80F9371F69C53EE69949C05FC3BEEA1 /* PBXTargetDependency */, ); name = Moya; productName = Moya; @@ -2283,8 +2532,8 @@ buildRules = ( ); dependencies = ( - B135FD282DBA2825930B935D17CBBA97 /* PBXTargetDependency */, - 4B8297FEB801A6E244473181BE7025F7 /* PBXTargetDependency */, + 857E399AAE931C9A84617A08C96BD3E8 /* PBXTargetDependency */, + BFCC32E6D4BEDA0FF765DDAB6C1572F3 /* PBXTargetDependency */, ); name = RxOptional; productName = RxOptional; @@ -2293,17 +2542,17 @@ }; 4622BFEF3DC16E8BD15EEFC30D4D0084 /* RxRelay */ = { isa = PBXNativeTarget; - buildConfigurationList = DAE5FE0817CE9B7B99B48B9856936CB6 /* Build configuration list for PBXNativeTarget "RxRelay" */; + buildConfigurationList = 29D79175D22BD5F4D7E72BBD7170093F /* Build configuration list for PBXNativeTarget "RxRelay" */; buildPhases = ( - 8C4C1ED05102B5029825A68E26E8FAB2 /* Headers */, - 9346AF9ACD9309D3785B21A720378404 /* Sources */, - 6839065D8C5C0D4F4251BA5A9A998E55 /* Frameworks */, - D6B2EB1E381612F1A81636B506A68762 /* Resources */, + 68C080E99CC775EA126ACD19897DECB3 /* Headers */, + CEF11602117B5F6D81DA3F59C89F544E /* Sources */, + F0747E756A4D18381DD563D52B463E49 /* Frameworks */, + FB7F52442F403D4BAA1650FFFCF637DF /* Resources */, ); buildRules = ( ); dependencies = ( - D1E06DBF672069366CCCB367C3FCBB03 /* PBXTargetDependency */, + 59538F1C780DBA00FBD3B225BEB49C46 /* PBXTargetDependency */, ); name = RxRelay; productName = RxRelay; @@ -2322,8 +2571,8 @@ buildRules = ( ); dependencies = ( - 5D0C9B4061D81435975683AF53D83861 /* PBXTargetDependency */, - 986B82634CE25EB1F90623E38AF5B16E /* PBXTargetDependency */, + AB8474083D031612AE8AD1A6E4BB1DC6 /* PBXTargetDependency */, + E637C94D357C6F245AF6180A4ADD6BB7 /* PBXTargetDependency */, ); name = RxKeyboard; productName = RxKeyboard; @@ -2342,8 +2591,8 @@ buildRules = ( ); dependencies = ( - B4218BD79DC031D6C8C6D37B80367C63 /* PBXTargetDependency */, - D2CF4DDFD1897F1FC32EE814241D8D1C /* PBXTargetDependency */, + C231E9BEA659359D8D6020C6D68A6145 /* PBXTargetDependency */, + D5CD6B511217E3C08DD5C18CAEEB5BF4 /* PBXTargetDependency */, ); name = RxCocoa; productName = RxCocoa; @@ -2352,29 +2601,30 @@ }; 8D43E6275A1CF5733D31692A1828AE52 /* Pods-Instagram */ = { isa = PBXNativeTarget; - buildConfigurationList = 76C78C00354F80BA99D2E973BB4D3100 /* Build configuration list for PBXNativeTarget "Pods-Instagram" */; + buildConfigurationList = 21F7DB82697EE82632D1E16BD8C2B785 /* Build configuration list for PBXNativeTarget "Pods-Instagram" */; buildPhases = ( - E9E64EDA6283BC315BD6BA6E9F7D96EE /* Headers */, - 6DF1D19250078605753489D43804F7B3 /* Sources */, - B326B9580F6F0B5E3BBB68AD11B28FA3 /* Frameworks */, - 258A5F004F10AFCC05F3EAAD7405F699 /* Resources */, + B0E81F6C5E521D1E830CF136D5D2AE71 /* Headers */, + ABA70A770B00FF5464D097DF4C5964A7 /* Sources */, + 84EBE56FB4388EE49A559E22FAD0A7DB /* Frameworks */, + B0A64DA4C2AA22D84862840F10AE7ABF /* Resources */, ); buildRules = ( ); dependencies = ( - B6C348144007B5C1A038A1D121C40444 /* PBXTargetDependency */, - A6F13BCDEE3C66B528DDB23EB51F6459 /* PBXTargetDependency */, - A34DA6F7C3B83F03EE03CABF66607CC1 /* PBXTargetDependency */, - 843665512C946E26900B0055726734A8 /* PBXTargetDependency */, - E5D8595D1850C86E4694A290113E1E5A /* PBXTargetDependency */, - BAF48D999727266B5C2F1B22F8D80A47 /* PBXTargetDependency */, - F8824114D93B416A1280035B449300D2 /* PBXTargetDependency */, - 82702505F2B179A4CF1C58F1AADDE312 /* PBXTargetDependency */, - EEF75D934D6A20F482FCD0D460E1658F /* PBXTargetDependency */, - 67E50555BEC1978BDC12A823636EBB41 /* PBXTargetDependency */, - 22E84F6E7C885BA4959A4F4EE467B32A /* PBXTargetDependency */, - 78744EDE46910D834E8CFF2E9AC01E11 /* PBXTargetDependency */, - E730B146E3EB3E2EABD27FF3BB95CC21 /* PBXTargetDependency */, + DA72C0971EA6916D3B37A937D2777AEB /* PBXTargetDependency */, + ED2C80C6C7EEE33E9D08C01C52F114B2 /* PBXTargetDependency */, + 419479E4E5CCC55B54D0282269C404B9 /* PBXTargetDependency */, + 773B192F4BE2D7DD0A4510C3D9D8F5F2 /* PBXTargetDependency */, + B55D795CB7648D98B09A84A03E3E83A8 /* PBXTargetDependency */, + 56AF55B409EA9F29C37E505CDA36D5FA /* PBXTargetDependency */, + D22C074E0893A8C7D5F85D90FCCC024F /* PBXTargetDependency */, + 144E7B6322401C93D42A29F593094DB3 /* PBXTargetDependency */, + E7CCCAD1A80110CDB605CFB7DF1AE599 /* PBXTargetDependency */, + 5B1BFCF764696F26DEC31E0126DB679D /* PBXTargetDependency */, + B614E6E1CD25D8B832A1B47549DABD6A /* PBXTargetDependency */, + 3B4262704C25DF8730EA3CEF8E0FD76F /* PBXTargetDependency */, + 15D559EDDC2754DE6DA2D2A6C15010A0 /* PBXTargetDependency */, + 8D736EBB1368F12C8A951C7A1143ABF2 /* PBXTargetDependency */, ); name = "Pods-Instagram"; productName = Pods_Instagram; @@ -2393,8 +2643,8 @@ buildRules = ( ); dependencies = ( - 0BE99D40AE8A99003C107036B4788673 /* PBXTargetDependency */, - ED977013C23921056AEB8D4741E239B6 /* PBXTargetDependency */, + 08A1071EEE772DB0860EE3DB140F76EC /* PBXTargetDependency */, + 38840427A98526EF18D30344E90020FB /* PBXTargetDependency */, ); name = ReactorKit; productName = ReactorKit; @@ -2431,22 +2681,40 @@ buildRules = ( ); dependencies = ( - 75F7D0EB1FA367132FD94077A47CD52E /* PBXTargetDependency */, - 80EA556F0B74900FCC4498274EAEEDB2 /* PBXTargetDependency */, + 7D8AFB4A227B13F7D6617A360FADCF07 /* PBXTargetDependency */, + 26BF07254C0633A3C622E54162945EFA /* PBXTargetDependency */, ); name = RxGesture; productName = RxGesture; productReference = 4C7573034822F093BCAF13EC6B7B8454 /* RxGesture */; productType = "com.apple.product-type.framework"; }; + E8022D22FAA6690B5E1C379C1BCE1491 /* Kingfisher */ = { + isa = PBXNativeTarget; + buildConfigurationList = 69ACD8654734266A348C6FF68E734010 /* Build configuration list for PBXNativeTarget "Kingfisher" */; + buildPhases = ( + 7AE52B176E9872452FD890FC7F460CE1 /* Headers */, + 3C1DA515D615F8CE75565ACE14378882 /* Sources */, + 81DB1665E1495609510BA493822E5A85 /* Frameworks */, + CFEB3E9FD20A01120B40D65B82D8F26F /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Kingfisher; + productName = Kingfisher; + productReference = C3F44C782D64D7EB20B61CE3844EBFAD /* Kingfisher */; + productType = "com.apple.product-type.framework"; + }; EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */ = { isa = PBXNativeTarget; - buildConfigurationList = 3B9D6B699AFED969254317EBF1EBC5CA /* Build configuration list for PBXNativeTarget "RxSwift" */; + buildConfigurationList = BDB66082F8D81DEBF2D8D3564DD76335 /* Build configuration list for PBXNativeTarget "RxSwift" */; buildPhases = ( - C93F84784181AAAE7D64326C1B62A0C2 /* Headers */, - 410A27D00D05178F1D910B38C7CFE7C2 /* Sources */, - 196A7BDE6859D67C7576788F9D45FFA4 /* Frameworks */, - 00CEE32720FA4760D1A1BB63B303515B /* Resources */, + 00EAA677D79824AE2D7749E533B0E8D2 /* Headers */, + 01743EAA790CC34F61CE561E5EF6D9B9 /* Sources */, + 4BEEEDCED941B16CF809C922DB2BE726 /* Frameworks */, + 76572B022A14F280500A45E54F3B4766 /* Resources */, ); buildRules = ( ); @@ -2477,12 +2745,12 @@ }; FDAD00A3F94FDF0C9810CDD8F98A86EF /* WeakMapTable */ = { isa = PBXNativeTarget; - buildConfigurationList = 83832E18BA37CE39892BD3A21B019DA6 /* Build configuration list for PBXNativeTarget "WeakMapTable" */; + buildConfigurationList = 6E2AC950D5D2DD4907C5524E79415770 /* Build configuration list for PBXNativeTarget "WeakMapTable" */; buildPhases = ( - 5B12051FCC7D76391D6BF886D91693BC /* Headers */, - 0FBE693B0947778CDCD184E5F5721E77 /* Sources */, - D65171DB472C7C6FBE30A18E092654C8 /* Frameworks */, - 69BDF84675998985E8C49542C0072D29 /* Resources */, + BD9CD3988CD9B10D48CFD498F32C9121 /* Headers */, + 6B5FF6F39793CE49FE4FB5D77750F306 /* Sources */, + D90EA79DC82BC7EDC1BB3F35365563AB /* Frameworks */, + 08CF1B5CCFA06CDF0583B9F8D3677BF7 /* Resources */, ); buildRules = ( ); @@ -2511,11 +2779,12 @@ en, ); mainGroup = CF1408CF629C7361332E53B88F7BD30C; - productRefGroup = C932743949B1EFB80290EA9BB6F4B978 /* Products */; + productRefGroup = 43AF1DC1CCD1471EAA993D7C26EF00A5 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( EAAA1AD3A8A1B59AB91319EE40752C6D /* Alamofire */, + E8022D22FAA6690B5E1C379C1BCE1491 /* Kingfisher */, 17F9141D333DA1A7BE5937F227221070 /* Moya */, 8D43E6275A1CF5733D31692A1828AE52 /* Pods-Instagram */, A1203CD3729E2B15A69645AB5CB42157 /* ReactorKit */, @@ -2534,13 +2803,6 @@ /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 00CEE32720FA4760D1A1BB63B303515B /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; 08C52A0B42B9DFC342690EC119C9DFCA /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -2548,7 +2810,7 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 258A5F004F10AFCC05F3EAAD7405F699 /* Resources */ = { + 08CF1B5CCFA06CDF0583B9F8D3677BF7 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -2583,14 +2845,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 69BDF84675998985E8C49542C0072D29 /* Resources */ = { + 6CDA50238A9EC1D9DC10611EF51EEA96 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 6CDA50238A9EC1D9DC10611EF51EEA96 /* Resources */ = { + 76572B022A14F280500A45E54F3B4766 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -2604,7 +2866,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - D6B2EB1E381612F1A81636B506A68762 /* Resources */ = { + B0A64DA4C2AA22D84862840F10AE7ABF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CFEB3E9FD20A01120B40D65B82D8F26F /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -2625,9 +2894,181 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FB7F52442F403D4BAA1650FFFCF637DF /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 01743EAA790CC34F61CE561E5EF6D9B9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CAEF0A82855FA23ADA53ECBD00CE0E84 /* AddRef.swift in Sources */, + 9AFC8AB7A45A8BF4139F6C026F60B895 /* Amb.swift in Sources */, + 09C5C0B7138C3221326DF57BCD269810 /* AnonymousDisposable.swift in Sources */, + 190772BF92832611B1D90040A88C7B20 /* AnonymousObserver.swift in Sources */, + C3733DE49714AFFBDC17317570D42ED3 /* AnyObserver.swift in Sources */, + 0EE49DF1A1C225B173626E165176A2AA /* AsMaybe.swift in Sources */, + 7306D324AB9F0A5702A90F1069801968 /* AsSingle.swift in Sources */, + 1604745CEC98C0D4E82466B59ED2D444 /* AsyncLock.swift in Sources */, + 0CD12EA136001005C900211CFE94E98B /* AsyncSubject.swift in Sources */, + 19A89C7C2B8BAC76E28E34329A0F7314 /* AtomicInt.swift in Sources */, + 09949E358402F9A8F48F228E8B6E89A5 /* Bag.swift in Sources */, + F05ADB235969AD8B593AE2A6AD1581EF /* Bag+Rx.swift in Sources */, + 388E3FFF3E2897178517F3DA89DD4A92 /* BehaviorSubject.swift in Sources */, + F499B29379725FD27CD254A11BD49DE3 /* BinaryDisposable.swift in Sources */, + 9FCBC718B6764D88CBA6AD43A24CF60C /* Binder.swift in Sources */, + E87D89CFF81FFAE17143EE40AEA95047 /* BooleanDisposable.swift in Sources */, + D2882D04B52870A20CE9902A2BE29BFE /* Buffer.swift in Sources */, + C605A06D501EE732BC2B1912480D2B5E /* Cancelable.swift in Sources */, + CBCD6A61DCDEF2EBE16FA5AB5EF9F687 /* Catch.swift in Sources */, + 0358870AFB27EA0CE24AB0E4B39A4A2A /* CombineLatest.swift in Sources */, + 48C4CA9512FBBD095D70554BF6179723 /* CombineLatest+arity.swift in Sources */, + BECAE5E69D8316DF1B7627D789FEDDE1 /* CombineLatest+Collection.swift in Sources */, + 4521F30AAAC2F4B3B5E2AC8E8EA999C3 /* CompactMap.swift in Sources */, + 17BCA724981FE7659E28876A94BF3DB3 /* Completable.swift in Sources */, + E40AABA4EC7F2C936EA1B2911788591E /* Completable+AndThen.swift in Sources */, + 2F91CE9BE364679267AA2270C33500B4 /* CompositeDisposable.swift in Sources */, + E0F72E7ECCDF2391E6001C3B41C4B740 /* Concat.swift in Sources */, + 83C1F93C68B743C9575E2E3282AD4019 /* ConcurrentDispatchQueueScheduler.swift in Sources */, + 2300F8E8F32BCCE26337C738B02ED98C /* ConcurrentMainScheduler.swift in Sources */, + F96DF36075F6499833B0487F05445097 /* ConnectableObservableType.swift in Sources */, + 1F05B157CBBAF8A1CE7490B7FECDB11B /* Create.swift in Sources */, + 532009D87AAB7C815FB0A173F8157773 /* CurrentThreadScheduler.swift in Sources */, + 7B9601EB6FDFB15AD75160B9A2C9C6E3 /* Date+Dispatch.swift in Sources */, + CE46B9454211FC227543E4BDF0AD293B /* Debounce.swift in Sources */, + A5F70FDB2A71B1650723371A098E3CB8 /* Debug.swift in Sources */, + 0D640640FA9D1B4482CA33E46B8743C2 /* Decode.swift in Sources */, + B20CE8A04328293FE27C2DF47923EF46 /* DefaultIfEmpty.swift in Sources */, + 342BF0CCAD16C7EFBC040A6CB81C5388 /* Deferred.swift in Sources */, + E5DDDA2CDBFFB7BC51393948862D8A86 /* Delay.swift in Sources */, + 58466295514BD20CA85BD93CC51BD705 /* DelaySubscription.swift in Sources */, + E6EE36E667D8AA10159DDD2116D2D571 /* Dematerialize.swift in Sources */, + 1E6B14528A108BDEB1649B42846AA947 /* DispatchQueue+Extensions.swift in Sources */, + 88B1214335FED8C16535368924EF1D4F /* DispatchQueueConfiguration.swift in Sources */, + F0EB5C948D4559333D4E71031B3CEF40 /* Disposable.swift in Sources */, + 1EFE2F1A2A2CFDF8153F93A089AC5EDF /* Disposables.swift in Sources */, + 7BFC4501EF1DA084B0C9F1B72EA5BDF9 /* DisposeBag.swift in Sources */, + E63CF5B15629395E891B541B14DEAEC2 /* DisposeBase.swift in Sources */, + 6A724EAA8C19E10474BC804590873B41 /* DistinctUntilChanged.swift in Sources */, + 8B38876E8C9C9BC75EA281D37E2BAE42 /* Do.swift in Sources */, + 8C2010530AD85CA470E28D7AEE11CB72 /* ElementAt.swift in Sources */, + 7F223F7DBDA21A5A05B21EC055E9F0A9 /* Empty.swift in Sources */, + 1BC946CC8206EA6BA50FFD4160227AB6 /* Enumerated.swift in Sources */, + 3AEFB3AC87DAAAEB20A0EDA6C3C27831 /* Error.swift in Sources */, + 634C22D17F9F39F86927D4242389F7CB /* Errors.swift in Sources */, + 2AF6DE6D69708E18BF76D4C27D9BA134 /* Event.swift in Sources */, + 0EA3AF3097A389F725266E49CFA3BF20 /* Filter.swift in Sources */, + 6B340A62A16B5699EC7E3EE955DCCBF6 /* First.swift in Sources */, + 0E2175FB4DD0643FBB8F5D5D7CB9F147 /* Generate.swift in Sources */, + 847304ACB4F1D931B9705746F5876CFA /* GroupBy.swift in Sources */, + 963B2D97589EDCEB9F312E2C04685CCC /* GroupedObservable.swift in Sources */, + C80E3F77D7E742ACED0BE820F1241B11 /* HistoricalScheduler.swift in Sources */, + 58129CDBA7F20265F0ADFD992563261B /* HistoricalSchedulerTimeConverter.swift in Sources */, + 2EE6A94025612FA162A28B5EB7B7DC94 /* ImmediateSchedulerType.swift in Sources */, + 300591878E7DA5A6A710C94955D7436F /* Infallible.swift in Sources */, + 7D84AD055575B3BD3208636AA14C4E08 /* Infallible+CombineLatest+arity.swift in Sources */, + CD1F563EDFE013A1CD13D04753F4917C /* Infallible+Create.swift in Sources */, + F6901A216FB4591A6FD94E2E6E0F2351 /* Infallible+Operators.swift in Sources */, + C8EA1308DC7629DD1A426605D5609A71 /* Infallible+Zip+arity.swift in Sources */, + 8CC43B5C2DC7F9A888D6BCAF85BFC1F7 /* InfiniteSequence.swift in Sources */, + 2732A27AB774CD0F68A525A4BBFF9927 /* InvocableScheduledItem.swift in Sources */, + 97D0CF847854D3BF7B55473E94B24338 /* InvocableType.swift in Sources */, + F294A8A1588485BACF1639D0CD3F5A51 /* Just.swift in Sources */, + 7C64479986A394F5F41852E8BA236C9B /* Lock.swift in Sources */, + 8B59EA998B0305E525A9E1103863B4C6 /* LockOwnerType.swift in Sources */, + 05646A4DD52DF210798C2484DCD02265 /* MainScheduler.swift in Sources */, + C180345A092060E8E1348B73B7258776 /* Map.swift in Sources */, + 7DC0A166A4DA3BBC0FCB3206500E78E7 /* Materialize.swift in Sources */, + 4F3C78A0CA3316BB450257B355B753A3 /* Maybe.swift in Sources */, + 788C277536B0710B2CDE749E1CF3138B /* Merge.swift in Sources */, + 3C87A90F223EBCAE205DCAF21526BE6C /* Multicast.swift in Sources */, + 6E34F0262560CD517DA11A965B3E3C01 /* Never.swift in Sources */, + D5029F6B66070901FBC1FADB8AB1C0FB /* NopDisposable.swift in Sources */, + 296200FAE1005C14B67C12FF29C72E0B /* Observable.swift in Sources */, + C52197E4E2FDBEB335C814829208908B /* ObservableConvertibleType.swift in Sources */, + 5747D1582265A2BC9406614A468AC8CA /* ObservableConvertibleType+Infallible.swift in Sources */, + 59F11466767102E275209E89F9148297 /* ObservableType.swift in Sources */, + EFA62B5D833E803B125D1DAB72E923D3 /* ObservableType+Extensions.swift in Sources */, + D2B3BB1510E2277E9371785035A6F935 /* ObservableType+PrimitiveSequence.swift in Sources */, + 7283809296CD8928705E54582370BA5C /* ObserveOn.swift in Sources */, + 675082B2D964CAF78F434C48DF283826 /* ObserverBase.swift in Sources */, + 3D313DCC67D3D1CC99C4ACB0723EFCBD /* ObserverType.swift in Sources */, + B51D5FAD4FCCFC116A85830B82166B87 /* OperationQueueScheduler.swift in Sources */, + 6EF08EB326353E1D4AF227B2B8A68CBF /* Optional.swift in Sources */, + 0E689699DDB0F5631C1CCF237933C457 /* Platform.Darwin.swift in Sources */, + ED27A1FFB900903EF1D27C1291551501 /* Platform.Linux.swift in Sources */, + 3F454CD41D4CBC88E5DAAF1DA45F553D /* PrimitiveSequence.swift in Sources */, + 5922975F9AB12F02C7B75CB1C6986E15 /* PrimitiveSequence+Zip+arity.swift in Sources */, + 10B82BCDE6EC0E1A9153E77646831796 /* PriorityQueue.swift in Sources */, + 3B692F7A2EB6F12F65269BDAABD6D193 /* Producer.swift in Sources */, + 4F345BB6F455F5C46B0359B4FC4C6079 /* PublishSubject.swift in Sources */, + FB83B2C1F3C46E735737A05B64D965A5 /* Queue.swift in Sources */, + 27B335F40523F9049965BE842D8D0EBA /* Range.swift in Sources */, + 02FA7315127F60A2F0692E75EC605B1E /* Reactive.swift in Sources */, + 1C4E9C18A55F3CCDA79208C0E83E19A6 /* RecursiveLock.swift in Sources */, + B5A0D8ADA555C7E902B69F17BC2209F1 /* RecursiveScheduler.swift in Sources */, + 95A8B1A86AC7AA5FCC0E6BA6B4CA7948 /* Reduce.swift in Sources */, + DF6875859187E9520F743F28E2D1001A /* RefCountDisposable.swift in Sources */, + D78346A7DAEB90F71457BE4B260E86D8 /* Repeat.swift in Sources */, + 866BD04597383AB5BDCED54EF92213DC /* ReplaySubject.swift in Sources */, + F72564D7015E0DFA8A79AA3A613F7ADD /* RetryWhen.swift in Sources */, + BC01158DBACA1E7B2F649F3156BAE8EA /* Rx.swift in Sources */, + D5B878B093F5D459195F2986B1D2FB6E /* RxMutableBox.swift in Sources */, + F0B6385DB5D48F634836849087071089 /* RxSwift-dummy.m in Sources */, + 491C26C7B25974FA7F7769AD46449B28 /* Sample.swift in Sources */, + F393F2C76AE9184CB67982F970F63BFB /* Scan.swift in Sources */, + 7965646D92CB36464695AC6D5F3E6524 /* ScheduledDisposable.swift in Sources */, + 780FAD3D68CFB718DD43D4EB3F4D6608 /* ScheduledItem.swift in Sources */, + 8A6A986AC031B0A7B323BD3F69AADCD2 /* ScheduledItemType.swift in Sources */, + AC984311D31DE8E9FDB1630A16A35D07 /* SchedulerServices+Emulation.swift in Sources */, + 262AAEA875904A500756DA242AFA7A62 /* SchedulerType.swift in Sources */, + 7FCD9D54DCE63D77FFE94968188DE8A0 /* Sequence.swift in Sources */, + A3C68CAEEE2D596DFCB8119A7FB03408 /* SerialDispatchQueueScheduler.swift in Sources */, + 1C3516A111D0A3B5CA8E27A2F92FCCD9 /* SerialDisposable.swift in Sources */, + 5D9AC06F45A57E97775BF007D9262B29 /* ShareReplayScope.swift in Sources */, + 013E9ABB8497EB38095B67851A878DF9 /* Single.swift in Sources */, + A62DEC8C9AF4D11282A2AC3CE3C0B877 /* SingleAssignmentDisposable.swift in Sources */, + 43A8FD3D7F7EE38920166043263A990A /* SingleAsync.swift in Sources */, + DF54E3E569087E6DEB241BA2DF7B7CE0 /* Sink.swift in Sources */, + 7690723AD4C8AEDE23A38E32C172FDDC /* Skip.swift in Sources */, + 15DBDB7F1C5C59C4007E976ECD006B33 /* SkipUntil.swift in Sources */, + 6E126F5AB809E5652ADF817747DF4C50 /* SkipWhile.swift in Sources */, + ABBF7674A0A45E268B4CAA46DA73CCA6 /* StartWith.swift in Sources */, + AD239A5A0431DB7156DC3623F9C03365 /* SubjectType.swift in Sources */, + DDF8AAC17E42031FE95E620D003D01F2 /* SubscribeOn.swift in Sources */, + 5E551F408D37341F119A1CB0108039E4 /* SubscriptionDisposable.swift in Sources */, + BEC58440099797D91F67EDFFB7DBDB42 /* SwiftSupport.swift in Sources */, + F23796BA5D840136FC306D2D1A166D8F /* Switch.swift in Sources */, + D354E7FE851291C02813B18DCFEBE549 /* SwitchIfEmpty.swift in Sources */, + 1EB7E1D7E280C499941E198EA4A49707 /* SynchronizedDisposeType.swift in Sources */, + CFA926C34CFC97A9406A139DFFF697EA /* SynchronizedOnType.swift in Sources */, + 909343241B239B72221A0CAE606956F9 /* SynchronizedUnsubscribeType.swift in Sources */, + 591252BC76F21696E81C8F2A18784958 /* TailRecursiveSink.swift in Sources */, + E0B0A4E70360F02AB54F35FF65396560 /* Take.swift in Sources */, + 0EE5A0BDAF2A6D43CBFD7F41E24A2A51 /* TakeLast.swift in Sources */, + EB212DB4FBE0BE4698F0CFED192B8374 /* TakeWithPredicate.swift in Sources */, + 8986096B5E02129208A4475D37F8CC91 /* Throttle.swift in Sources */, + B48ED01EFBC1AECCF10A7C41D6EEC628 /* Timeout.swift in Sources */, + 4DBC8939E5F09B3E09B2C866199A2EDD /* Timer.swift in Sources */, + 09D3BACFBD50D5FF766704E056EFC083 /* ToArray.swift in Sources */, + D42DCD41E2BC58936194363DC3E827F2 /* Using.swift in Sources */, + A3A94DBE2A3BD5D03217FC44FADADDD6 /* VirtualTimeConverterType.swift in Sources */, + 613C37D636FCE80E25014F0DE8AA1112 /* VirtualTimeScheduler.swift in Sources */, + 4447AC7B8BBF4BACCD7D30777D059BFF /* Window.swift in Sources */, + AD2A033B0B8BFA8C27E0A624B8048630 /* WithLatestFrom.swift in Sources */, + 0FC4194C941768DB962F68B1410CC124 /* WithUnretained.swift in Sources */, + 9D34B78F03AD84AC58DB4F2C519200AA /* Zip.swift in Sources */, + BC0321C370C921D0A6CC1EE1AE296D02 /* Zip+arity.swift in Sources */, + 2603BA8D552039E5770602DD95995659 /* Zip+Collection.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 06A02EF810C9B8F84BA558BBDB9E5D6E /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -2672,15 +3113,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 0FBE693B0947778CDCD184E5F5721E77 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 79CECBAB3ABEC91DA3674035322A2B82 /* WeakMapTable.swift in Sources */, - C3A65E8F41CBF423E2C4D9C1E4DE209E /* WeakMapTable-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 1FE75DC8004B2D4E2280578BDBC2D2FD /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -2725,176 +3157,81 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 410A27D00D05178F1D910B38C7CFE7C2 /* Sources */ = { + 3C1DA515D615F8CE75565ACE14378882 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F478BB40E8AD4A7080CC3B9339798631 /* AddRef.swift in Sources */, - B464CE0EAF3637624BCB6CE21BF47C1C /* Amb.swift in Sources */, - E20319E0AF4BAB015A6D4075EC19D58C /* AnonymousDisposable.swift in Sources */, - 2A9BCF0C1A05557B42B70182558961B7 /* AnonymousObserver.swift in Sources */, - 5C39718131159692D7B43220A38CF148 /* AnyObserver.swift in Sources */, - 4B3D44DF37653E5E67E85F5200F5209C /* AsMaybe.swift in Sources */, - F9DAFB7EB1C4813B47FB489CDE867397 /* AsSingle.swift in Sources */, - F6A27837078AAB0628F0864AE3DBDB42 /* AsyncLock.swift in Sources */, - DE2765A7344079656494C853C11192CE /* AsyncSubject.swift in Sources */, - 51AD4F54B1DE0D467A5CE4A3E06BB3A0 /* AtomicInt.swift in Sources */, - 1B88CB45AA2D79CE89EFA36D1BD59141 /* Bag.swift in Sources */, - 493551E5919A0FE35DB7800ACC88FC5A /* Bag+Rx.swift in Sources */, - 899DB02388C68934973A421438EB2079 /* BehaviorSubject.swift in Sources */, - DCB867B1E32350F95EB884385D773BC5 /* BinaryDisposable.swift in Sources */, - 6F765CD5847F9D3EBEC4DCEEACAD53B6 /* Binder.swift in Sources */, - 6BD6CEB2F219D16DF8744E7C3E34670F /* BooleanDisposable.swift in Sources */, - BB8ECADFFD79D195589606DE42B7D626 /* Buffer.swift in Sources */, - 73096BF316E09A6F4B14306C03D5B1F9 /* Cancelable.swift in Sources */, - 0DA4E40D63A9E706335A734F9CD6FDE9 /* Catch.swift in Sources */, - 8A299EEAE861BD75A706D89A1F46A5E3 /* CombineLatest.swift in Sources */, - 4FB76064D3A809D6E7DCF63DADF4ED68 /* CombineLatest+arity.swift in Sources */, - 5ABF042B517931D703661A5CF86A35A1 /* CombineLatest+Collection.swift in Sources */, - 71F4BBFAD916873F2758BCDA1007E3B0 /* CompactMap.swift in Sources */, - DA47793ABC60FDB57531AB457C11E1CD /* Completable.swift in Sources */, - F643B7014E54BCD1883A935FB90C9982 /* Completable+AndThen.swift in Sources */, - 636F27DBBE1057C706260535A0E9027D /* CompositeDisposable.swift in Sources */, - 355426B110941DBD8327AF449E56A949 /* Concat.swift in Sources */, - C2EA0358598E846F3095490F80732797 /* ConcurrentDispatchQueueScheduler.swift in Sources */, - 80FB3E4AFDE46B89C896922DFDF545BD /* ConcurrentMainScheduler.swift in Sources */, - F028315800C8E9131FB9A1F570D95080 /* ConnectableObservableType.swift in Sources */, - 9AB8EA328D6934E091D04070E552E3AC /* Create.swift in Sources */, - 2D6B88C1781640B33FF123C3317672C6 /* CurrentThreadScheduler.swift in Sources */, - E44FEE826077E889EFFED3F1B9E9C95E /* Date+Dispatch.swift in Sources */, - 6C8FFB702500BC6AA5650C13856A577C /* Debounce.swift in Sources */, - 5B7D4B45FCA7568239C1223D388FCD14 /* Debug.swift in Sources */, - FFFB8058F3A12710C648925ED00C466E /* Decode.swift in Sources */, - 4AB0B4A8F2C9558D558666E5FFE50EF8 /* DefaultIfEmpty.swift in Sources */, - 568AF0E1F57B76EA7D3F2C5C4FA591EC /* Deferred.swift in Sources */, - 6F1C780B1A61D7E9D0A211F4A6A22C4B /* Delay.swift in Sources */, - BAE57E2111C533574CA8522FA1F8F5EA /* DelaySubscription.swift in Sources */, - 9AD26F1B47061233CE3B354CD4E386CA /* Dematerialize.swift in Sources */, - 28AFBE3D9E04AE2F44892EC21E87391B /* DispatchQueue+Extensions.swift in Sources */, - 38CEB6A5F194CF52F1DDEEF0B79FC9EF /* DispatchQueueConfiguration.swift in Sources */, - E44E41257D6786E83696B4377BA8DB85 /* Disposable.swift in Sources */, - 72E7369F0761C28A44FF4701125F40C8 /* Disposables.swift in Sources */, - 2A3B775B9371120BAA921DC00FBCC7CC /* DisposeBag.swift in Sources */, - 34F22B1F61163E7423FDAAB8B3EBADD7 /* DisposeBase.swift in Sources */, - 4493F979336CED6E6E0FD5000BCFC918 /* DistinctUntilChanged.swift in Sources */, - 62E38E06E865EED0B9476625DE304BC9 /* Do.swift in Sources */, - 392E8181687F0A31534832D185CB65D1 /* ElementAt.swift in Sources */, - 0EB34A5A7AC1274874F7244D7303A3D8 /* Empty.swift in Sources */, - 4C4200BE48D25FF0CA06D82F5CD9E1C7 /* Enumerated.swift in Sources */, - 06BF9C77772206CF0ECE792C4E71C822 /* Error.swift in Sources */, - A48BBAE6212DE834C2ABF6668A0357C8 /* Errors.swift in Sources */, - B5370E13FAAB891CDDF91974FE8F969C /* Event.swift in Sources */, - 58C8EA54B9026DE7EF7B8811CBF147C9 /* Filter.swift in Sources */, - 4A62CBA8E7290CFD637D9D2ED8C0F7EA /* First.swift in Sources */, - CD629BDEF1E81E0256029E2199AB5314 /* Generate.swift in Sources */, - F113061F9B21F9BC5D6694C3BA2ADFAD /* GroupBy.swift in Sources */, - D5D393B53D07EB7AF497B265604F731C /* GroupedObservable.swift in Sources */, - 61AFA7B5D4DB7461E60168CDBDE8B2F9 /* HistoricalScheduler.swift in Sources */, - 2CEDA9E29391198D50F175711EAF6D2E /* HistoricalSchedulerTimeConverter.swift in Sources */, - 5829FB4C4D66ABC33C48DB6700A706AA /* ImmediateSchedulerType.swift in Sources */, - 3E670EDE68B054C222FE8309EA153CB7 /* Infallible.swift in Sources */, - 7C957219889D2ECF5C99D25B9BB65A40 /* Infallible+CombineLatest+arity.swift in Sources */, - C05CFB8C65E632C19EEDDA3E0B87C631 /* Infallible+Create.swift in Sources */, - F80F0ADB717CBA0A589F3DA6D9A97FFB /* Infallible+Operators.swift in Sources */, - E55D5A93E52D3EB30D411F08F0AE4FEF /* Infallible+Zip+arity.swift in Sources */, - 70AAAA59657D6B840AA92552D7FA916B /* InfiniteSequence.swift in Sources */, - 04FA699A625C1B928D181B3283E61362 /* InvocableScheduledItem.swift in Sources */, - 2D38E3CED1ABAACBB2F699C089CA57A6 /* InvocableType.swift in Sources */, - B110E7DE2DAB2F022A1DC8364BA12093 /* Just.swift in Sources */, - F19D337398D8DE7CB86DB3B7BE2FF3FB /* Lock.swift in Sources */, - 3C140C306BE0BAB0DEF961578C486E28 /* LockOwnerType.swift in Sources */, - CC7EB25D42FC5C1D8796CEF2F3BAA07B /* MainScheduler.swift in Sources */, - 41E7B54E5601E8F1ADF203A4C7DED99A /* Map.swift in Sources */, - 5BA6309F785627B92243824CE48D73A9 /* Materialize.swift in Sources */, - 565F4F4994CFBF0329289F4A4EF1CD37 /* Maybe.swift in Sources */, - 80861DF1D734019E3B9A4B2F51F3E791 /* Merge.swift in Sources */, - 7D6A9C3E9BF6E92252C5B173106A694E /* Multicast.swift in Sources */, - BA3500515090C3F7778FFFB05E0D4162 /* Never.swift in Sources */, - D3D6DB3C7E87F38B37930F02815C40B6 /* NopDisposable.swift in Sources */, - 5DD6FB9FFA9A79937B17F8A0C1BB07E2 /* Observable.swift in Sources */, - 00628FF27C02EFC486DCF649F7FE7A35 /* ObservableConvertibleType.swift in Sources */, - 3871DB8FED043FD3D3D58979D6180883 /* ObservableConvertibleType+Infallible.swift in Sources */, - 71B272F45BD8DB8BB8670B956F8A04BA /* ObservableType.swift in Sources */, - C5B85CE85D997B67462905D3CA3891FC /* ObservableType+Extensions.swift in Sources */, - 31958E8F65710FC2049B95E75F08EEBF /* ObservableType+PrimitiveSequence.swift in Sources */, - 680E503AEC8752F4A29A60D1215DC167 /* ObserveOn.swift in Sources */, - E973F0251DF1BD8F1F7FF77B3C40CF1F /* ObserverBase.swift in Sources */, - F5D78E2C6A5859A464FB0336462F6EAE /* ObserverType.swift in Sources */, - 046FB298CB265E8AF7E900BE725CC105 /* OperationQueueScheduler.swift in Sources */, - 7F807A9F028FA54615B03AD4B5180112 /* Optional.swift in Sources */, - C0B3C2A54FE4768B1D99E89228BD82CC /* Platform.Darwin.swift in Sources */, - 845D3899B817D0461950AB400C049EFF /* Platform.Linux.swift in Sources */, - 01C1C0E2C4A524104DEC9CE405D5D255 /* PrimitiveSequence.swift in Sources */, - 22DD01DE5DA61278C7A8CD64D8A5FDA9 /* PrimitiveSequence+Zip+arity.swift in Sources */, - 16FB6CB3555F30CE8F8C64594A618824 /* PriorityQueue.swift in Sources */, - D90ACC4AF242AEA71797B62955A3A073 /* Producer.swift in Sources */, - 33ED8120ADC9099482F1C9D7CD9E3AFB /* PublishSubject.swift in Sources */, - 537AA24A1751D35CB7AB15B3A37B0F24 /* Queue.swift in Sources */, - B9B3D47287B83D482B7D7C6D36C1C6A3 /* Range.swift in Sources */, - 6FE62421D3CE24A44DD72844024F8115 /* Reactive.swift in Sources */, - 0FFC091CC0510ACE235FECD4722BB36C /* RecursiveLock.swift in Sources */, - D1F00BDBF2078F4239F93C9D2920C49F /* RecursiveScheduler.swift in Sources */, - F0017E743BC47D42C2C0B6113C7C3898 /* Reduce.swift in Sources */, - 547C350D2200B9524D3E74EAECD5C703 /* RefCountDisposable.swift in Sources */, - 9F85E0119E8599036C6C15F4EFDCC9D8 /* Repeat.swift in Sources */, - 5BB691355F2B21BBBA56B14A2F3AB0FD /* ReplaySubject.swift in Sources */, - 7F94FE00C0D4463428115B7C79D6A31E /* RetryWhen.swift in Sources */, - D54CB6B01F7E75F2A0D9AFB36A60C934 /* Rx.swift in Sources */, - 074E212FE692210A41120E9C792FE7ED /* RxMutableBox.swift in Sources */, - 09A73E837E76C97E821370132067D766 /* RxSwift-dummy.m in Sources */, - 35162F02D4AEAB08C8A5A6C4ADE91E13 /* Sample.swift in Sources */, - DA129CBD945646BC6224811D62AB6EF5 /* Scan.swift in Sources */, - 5DE9413CB1A94402B6DCDBD5F5EA5324 /* ScheduledDisposable.swift in Sources */, - 1EF323F07C3B3476393D7A08D29D53B5 /* ScheduledItem.swift in Sources */, - C1C96867757427AEBA2F43C1748C7794 /* ScheduledItemType.swift in Sources */, - 351F0B5C08687F5BE887D74E63226299 /* SchedulerServices+Emulation.swift in Sources */, - 71A0223980F075278D2CA80D1FBEB989 /* SchedulerType.swift in Sources */, - 468EA5886BD506CF8385AF06B7CF39FB /* Sequence.swift in Sources */, - CA14935914985D415916ADA8E7215F8F /* SerialDispatchQueueScheduler.swift in Sources */, - B1E2E12C2D04D3D3D7017A3D882918AC /* SerialDisposable.swift in Sources */, - 988D138763F1795790FFB140D48AA384 /* ShareReplayScope.swift in Sources */, - 37A1E46BC4DF84BBFF24D44283AE3889 /* Single.swift in Sources */, - 308AA15947B67E820990BB2E6DA62629 /* SingleAssignmentDisposable.swift in Sources */, - 1EABA26D7F13FF50B9F8E3D8C02C3C7A /* SingleAsync.swift in Sources */, - D53B68107E2808198BDDD6FC15DC9DD2 /* Sink.swift in Sources */, - A348862730F5CDAB99ADB4982A699043 /* Skip.swift in Sources */, - CD9AC6BDB6F6DBE9720DCB24CA67652B /* SkipUntil.swift in Sources */, - F2C7431CA77F7449E84F36DD772A2D74 /* SkipWhile.swift in Sources */, - DCA88E9BCC6E21FF81B27A3F46B13F38 /* StartWith.swift in Sources */, - C2F3FD601EDD3206B738F840D0E70848 /* SubjectType.swift in Sources */, - 0A6CEDB2E2E4ED37F93F748C5FDB3F67 /* SubscribeOn.swift in Sources */, - 6EC47A04E6FEE5888CCDD1E2308A98A7 /* SubscriptionDisposable.swift in Sources */, - 850195ECBC482C367706D08ADF908435 /* SwiftSupport.swift in Sources */, - E5EC1754522CE4458E03EDA7BE03E887 /* Switch.swift in Sources */, - F0BD429D40831C406637596FA9056029 /* SwitchIfEmpty.swift in Sources */, - 9A99953786F180B8D5C43BEEF7D94F4B /* SynchronizedDisposeType.swift in Sources */, - B11BF529B3F2A37E37CCA6A591E6416E /* SynchronizedOnType.swift in Sources */, - EB786C8C39A85D6EAD535AE4F9B7440A /* SynchronizedUnsubscribeType.swift in Sources */, - ED19B4261AB5B8E95CF9CF1F9106F58C /* TailRecursiveSink.swift in Sources */, - 5DF17DDDE831ED60DA455CADF447728A /* Take.swift in Sources */, - 409D46CDA36C2CC12C0097FFC7581872 /* TakeLast.swift in Sources */, - CAB5CD8D5F0B18FDD2E1C53C78B26928 /* TakeWithPredicate.swift in Sources */, - D1B55BBE5EF9F829F6209A01F5EF3337 /* Throttle.swift in Sources */, - DA86A0970A97A43A818D58ED35CC66B1 /* Timeout.swift in Sources */, - FC24C2D109A520AE6ED8A4985F63F888 /* Timer.swift in Sources */, - F6B0B4D38FA2375348A59C0928C68C29 /* ToArray.swift in Sources */, - 51ECD749AD8A4A4F48A5E93A82AB60F1 /* Using.swift in Sources */, - 673F575E513DAFE204DBFD1D1AA2C85B /* VirtualTimeConverterType.swift in Sources */, - FC0237564385C5481724DF16DB0BAEDE /* VirtualTimeScheduler.swift in Sources */, - 0651C017EB053DFBD94184413F7D5A5D /* Window.swift in Sources */, - 5687C5C97B6EF74D7934F129368E8415 /* WithLatestFrom.swift in Sources */, - 566DE3C179A23A875167C63711486755 /* WithUnretained.swift in Sources */, - E7B4D8D2DCEA57906B9D1EA17503FBEB /* Zip.swift in Sources */, - C8B98A7D6E5C3E6158E8AE8E842E57EA /* Zip+arity.swift in Sources */, - 749D29FF8BB001C1940D07F2814F2649 /* Zip+Collection.swift in Sources */, + 1952485AFF7A1BCCA4D4B142E82FE627 /* AnimatedImageView.swift in Sources */, + 243D7CFE1D56ED80ACB2B3E71B4CB603 /* AuthenticationChallengeResponsable.swift in Sources */, + D603AA58EF97D461A57B2B1BCB883868 /* AVAssetImageDataProvider.swift in Sources */, + B25E07EA645911443A38DA1E68166156 /* Box.swift in Sources */, + CD7AC3E1C98EA54F7C05C36C52805220 /* CacheSerializer.swift in Sources */, + FF09824309346665E2F1F7F5A45FB10F /* CallbackQueue.swift in Sources */, + DBB8088E14A2ADEDB1CD840BAC835267 /* CPListItem+Kingfisher.swift in Sources */, + 457BE444ED617FA7D6851D6DAA9D7234 /* Delegate.swift in Sources */, + 1FEE89BF952BE7ACA46E642DA2E48CA2 /* DiskStorage.swift in Sources */, + 1185A2B40E14F2FCBC761FC99777CAD8 /* ExtensionHelpers.swift in Sources */, + 3AF7DB9AEFF47F1F7F91AF28440E4AC6 /* Filter.swift in Sources */, + DE532EF7D50A9CF68587DAD4C1A02BD7 /* FormatIndicatedCacheSerializer.swift in Sources */, + F24021BDE9B42D604E3341CAD8E34759 /* GIFAnimatedImage.swift in Sources */, + 582D59E0D2EF62E0575933C99B393704 /* GraphicsContext.swift in Sources */, + 70FEC06F54286257E1BA1ECA0C99198D /* Image.swift in Sources */, + 1AA89F327105C026976BF6E831B193A2 /* ImageBinder.swift in Sources */, + ED0C8BA7560D7324587B353E0960479F /* ImageCache.swift in Sources */, + F5414F8A5B40521D0E4AEEB28378CB49 /* ImageContext.swift in Sources */, + 80738D8956C9987CCCEDF551961E5069 /* ImageDataProcessor.swift in Sources */, + 0285857A24F66E925987A5876F0BE63B /* ImageDataProvider.swift in Sources */, + DD72DC30CF19FFC81AB19CD0B074000D /* ImageDownloader.swift in Sources */, + 881A35B28D93C56E46E305F6138B1A76 /* ImageDownloaderDelegate.swift in Sources */, + DAFC6CE6321395CF4523DD66DADBB9BA /* ImageDrawing.swift in Sources */, + E6D6C7D5E458A05CC736C340F853E9F6 /* ImageFormat.swift in Sources */, + F54DE563418B1783D6EC491A0C3A05DB /* ImageModifier.swift in Sources */, + 00BEA6029C428FEE644AC3D42AD83282 /* ImagePrefetcher.swift in Sources */, + EF9C4588CDA85AED8BBCF77451B2A35B /* ImageProcessor.swift in Sources */, + 5F852F38CBC282496CCBE37C51324B2F /* ImageProgressive.swift in Sources */, + 29FF13E23FD52E46D30530549410AD7C /* ImageTransition.swift in Sources */, + E5B664771063F1A9A372519A8466860B /* ImageView+Kingfisher.swift in Sources */, + DFCDE4638265B4CCD494ECA5D560DBEE /* Indicator.swift in Sources */, + DF4563832C19B8582C810BF502A5CA29 /* KF.swift in Sources */, + 7FFE4021A4F14124342AD41CE1117B3E /* KFAnimatedImage.swift in Sources */, + 5E27DD292D3A55657712DD7AFA7B8FCA /* KFImage.swift in Sources */, + 5ADB30DD9A03859018550A999ACB0652 /* KFImageOptions.swift in Sources */, + F9537B023E24AC4A724E301F7E372491 /* KFImageProtocol.swift in Sources */, + 0510E8EA51914CB2176AD0F173937FAB /* KFImageRenderer.swift in Sources */, + A316388A35648CB2987E761771456087 /* KFOptionsSetter.swift in Sources */, + A39D3555EC8B45B7D6B9505DDAF0F117 /* Kingfisher.swift in Sources */, + 4DCA9775E5CCF599460BDB46E77F6FA4 /* Kingfisher-dummy.m in Sources */, + 4F37E521D341C47CE73DDCF21BA95A52 /* KingfisherError.swift in Sources */, + 1FE693B5ACC6AD7320CEFC20B64546E4 /* KingfisherManager.swift in Sources */, + 05228565AAA7FCED4BAFB2B7EF71D53D /* KingfisherOptionsInfo.swift in Sources */, + 1FD2928BC156D990D68B105F518C60B6 /* MemoryStorage.swift in Sources */, + 059639E700DEFAEF08F56484E5F67BE7 /* NSButton+Kingfisher.swift in Sources */, + 59BC9047F4BEBBC06235608D974E230D /* NSTextAttachment+Kingfisher.swift in Sources */, + 506128E1CC424E40E2691546D9547549 /* Placeholder.swift in Sources */, + 2BE89C24BFD3FB663E37C607C289B3B6 /* RedirectHandler.swift in Sources */, + 509490FB1D30FEC59AE4BC21AEEBB7BB /* RequestModifier.swift in Sources */, + 22BD1346F66BFCB129AAA44EEF322AC9 /* Resource.swift in Sources */, + A88A844D5356E1690E445024CB796E09 /* Result.swift in Sources */, + 22216C300C763044344B9DBF97317E63 /* RetryStrategy.swift in Sources */, + EBB32304E8DD4BA115454E0050D47DED /* Runtime.swift in Sources */, + 7C7418FF01DD7BB909719682B634A8A5 /* SessionDataTask.swift in Sources */, + 0ED8FBFD9A86D21BF69137EC9350E575 /* SessionDelegate.swift in Sources */, + 57FC31B14C753B5C63CEF00560F8A6EF /* SizeExtensions.swift in Sources */, + 9B0A78AC22E7EDA755F51D86527E2D9C /* Source.swift in Sources */, + 25FC036BEA33CAB5D80F5A41644535D3 /* Storage.swift in Sources */, + BD382E78580D295D10100678D4F66A76 /* String+MD5.swift in Sources */, + F17B1F8F2B6580343025237455A29D61 /* TVMonogramView+Kingfisher.swift in Sources */, + 082EDC820D76DF95C71A5018112DE512 /* UIButton+Kingfisher.swift in Sources */, + 9F5FE22DA95B66B8DC21CB13BE25EC9B /* WKInterfaceImage+Kingfisher.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 6DF1D19250078605753489D43804F7B3 /* Sources */ = { + 6B5FF6F39793CE49FE4FB5D77750F306 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 6D228318E6423C426069B1D4E1F724CB /* Pods-Instagram-dummy.m in Sources */, + 49AB3FB8C6CC71161F5D4B2A782AC05A /* WeakMapTable.swift in Sources */, + E6DF3A3AA1B0196B04C7C3A011D07CD2 /* WeakMapTable-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2918,19 +3255,6 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 9346AF9ACD9309D3785B21A720378404 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 89C359CDCB82FD5C984C1F47B3B26D78 /* BehaviorRelay.swift in Sources */, - 0802AE98D9B18AC4744918BFD3D6885D /* Observable+Bind.swift in Sources */, - 1B189269B6D88983DAC186D6847D5DA3 /* PublishRelay.swift in Sources */, - AC55087BDCD78160D08B8F774BCD10A3 /* ReplayRelay.swift in Sources */, - 291D86B12486C4D5AFC7F1233E054E17 /* RxRelay-dummy.m in Sources */, - F6E3219367066E17074F979DF32FE076 /* Utils.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; 9E620A69BF83677390B7F6DE8639945F /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -2955,6 +3279,27 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + ABA70A770B00FF5464D097DF4C5964A7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 76E488F32A6E70932D009AA90C139CE5 /* Pods-Instagram-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CEF11602117B5F6D81DA3F59C89F544E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ECD058939035C3C01A0CA23D17F1511C /* BehaviorRelay.swift in Sources */, + 9A40ABC03C7699BC7C9749DA2EF57862 /* Observable+Bind.swift in Sources */, + 1A4A4E8A8ACB42F6A81F4016259A253E /* PublishRelay.swift in Sources */, + 173E89679BB2215AD20A84F9B297953C /* ReplayRelay.swift in Sources */, + DBAB64D890891FFB6B6A51D0D0ED9FA8 /* RxRelay-dummy.m in Sources */, + B40DAB402D9F6AB1B1552AC907746EDF /* Utils.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; D9DF5AEE1B525A8BA763D0DFA7241A71 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -3137,168 +3482,174 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 0BE99D40AE8A99003C107036B4788673 /* PBXTargetDependency */ = { + 08A1071EEE772DB0860EE3DB140F76EC /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 9B7E80934896B45677635139087FEAF7 /* PBXContainerItemProxy */; + targetProxy = 31A149576E6D1B339E7CC55A7EEDFF94 /* PBXContainerItemProxy */; }; - 22E84F6E7C885BA4959A4F4EE467B32A /* PBXTargetDependency */ = { + 144E7B6322401C93D42A29F593094DB3 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = SwiftGen; - target = 1E798429DCFA7906F6625CCFC1088744 /* SwiftGen */; - targetProxy = 380D1228B98E4161FF16D73BC89CF373 /* PBXContainerItemProxy */; + name = RxOptional; + target = 3D8B1104C8B4F5AD74F600289D7A12AD /* RxOptional */; + targetProxy = F8809BED81C59C873BAD5E817DB6841C /* PBXContainerItemProxy */; }; - 3E8DEFC88F3FDD6825D7D34426A37576 /* PBXTargetDependency */ = { + 15D559EDDC2754DE6DA2D2A6C15010A0 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxSwift; - target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 16C5F4061588297B895898DFE7A8EF6F /* PBXContainerItemProxy */; + name = Then; + target = C17AEFC79E770A2906EFAAB1A3757406 /* Then */; + targetProxy = 0E8F2F126FE35E82D5198625FA50C85B /* PBXContainerItemProxy */; + }; + 1FA9096C8DD056A39937B026E501EEEF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Alamofire; + target = EAAA1AD3A8A1B59AB91319EE40752C6D /* Alamofire */; + targetProxy = 658732B7FDD48E584B27BFBC08CD5D7B /* PBXContainerItemProxy */; }; - 4B8297FEB801A6E244473181BE7025F7 /* PBXTargetDependency */ = { + 26BF07254C0633A3C622E54162945EFA /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 983A167CDF928A74EBAE0F3150929C8A /* PBXContainerItemProxy */; + targetProxy = F36A38AC906AC4D1688EAA630D07AC0C /* PBXContainerItemProxy */; }; - 5D0C9B4061D81435975683AF53D83861 /* PBXTargetDependency */ = { + 38840427A98526EF18D30344E90020FB /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxCocoa; - target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; - targetProxy = ABD0D844BC0ADA27FFB7FB6AAD7BA4FF /* PBXContainerItemProxy */; + name = WeakMapTable; + target = FDAD00A3F94FDF0C9810CDD8F98A86EF /* WeakMapTable */; + targetProxy = EB0E6B1BC82C6D8F5613B0092C732BD6 /* PBXContainerItemProxy */; }; - 67E50555BEC1978BDC12A823636EBB41 /* PBXTargetDependency */ = { + 3B4262704C25DF8730EA3CEF8E0FD76F /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = SnapKit; - target = 19622742EBA51E823D6DAE3F8CDBFAD4 /* SnapKit */; - targetProxy = 63BB178C5E0EB191F8775F561F10A1E3 /* PBXContainerItemProxy */; + name = SwiftGen; + target = 1E798429DCFA7906F6625CCFC1088744 /* SwiftGen */; + targetProxy = B291DD5CF3825A4AFF5BB20D5B3C9ACD /* PBXContainerItemProxy */; }; - 75F7D0EB1FA367132FD94077A47CD52E /* PBXTargetDependency */ = { + 419479E4E5CCC55B54D0282269C404B9 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxCocoa; - target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; - targetProxy = 2FF9A365A096F7E0B6E8ADD0863CD538 /* PBXContainerItemProxy */; + name = Moya; + target = 17F9141D333DA1A7BE5937F227221070 /* Moya */; + targetProxy = D17C008D5D6299080BFD4B355694FEC0 /* PBXContainerItemProxy */; }; - 78744EDE46910D834E8CFF2E9AC01E11 /* PBXTargetDependency */ = { + 56AF55B409EA9F29C37E505CDA36D5FA /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = Then; - target = C17AEFC79E770A2906EFAAB1A3757406 /* Then */; - targetProxy = D78FAD4D63A61B65760EBA0BDB799DA2 /* PBXContainerItemProxy */; + name = RxGesture; + target = D77CA6E20D3F659D26E05339EBA33B59 /* RxGesture */; + targetProxy = 8CFF80D3501C63B530D199CF2C830602 /* PBXContainerItemProxy */; }; - 80EA556F0B74900FCC4498274EAEEDB2 /* PBXTargetDependency */ = { + 59538F1C780DBA00FBD3B225BEB49C46 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 8A4EF57A7882DA9FC4ACB185CFC2C123 /* PBXContainerItemProxy */; - }; - 82702505F2B179A4CF1C58F1AADDE312 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxRelay; - target = 4622BFEF3DC16E8BD15EEFC30D4D0084 /* RxRelay */; - targetProxy = C8CE201FFE85C562FB224B9BC4236627 /* PBXContainerItemProxy */; + targetProxy = A86DA4686E2B37AC14CC20ED744D0D48 /* PBXContainerItemProxy */; }; - 843665512C946E26900B0055726734A8 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = RxCocoa; - target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; - targetProxy = AE10439D75B127CB36B39AF1865026A8 /* PBXContainerItemProxy */; - }; - 986B82634CE25EB1F90623E38AF5B16E /* PBXTargetDependency */ = { + 5B1BFCF764696F26DEC31E0126DB679D /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 5203DC8A374BC9CC0CAFB2E8E033BE54 /* PBXContainerItemProxy */; + targetProxy = 85F1678F0A4F89B630692A99844426B5 /* PBXContainerItemProxy */; }; - A34DA6F7C3B83F03EE03CABF66607CC1 /* PBXTargetDependency */ = { + 773B192F4BE2D7DD0A4510C3D9D8F5F2 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = ReactorKit; target = A1203CD3729E2B15A69645AB5CB42157 /* ReactorKit */; - targetProxy = D22C30A7AA3A0CEA9F75668B76C234DA /* PBXContainerItemProxy */; + targetProxy = E0A7CDCA81FF34A4BC4431C8352BE9CF /* PBXContainerItemProxy */; }; - A6D9632564FE5F833969B27C46920D26 /* PBXTargetDependency */ = { + 7D8AFB4A227B13F7D6617A360FADCF07 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = Alamofire; - target = EAAA1AD3A8A1B59AB91319EE40752C6D /* Alamofire */; - targetProxy = 10CC2ECB5B8BA934E1691DC24A754F0B /* PBXContainerItemProxy */; - }; - A6F13BCDEE3C66B528DDB23EB51F6459 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = Moya; - target = 17F9141D333DA1A7BE5937F227221070 /* Moya */; - targetProxy = C5D35D3DC63F339EDC849BD6AC4A2B4E /* PBXContainerItemProxy */; + name = RxCocoa; + target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; + targetProxy = 8B50CF132D3D48C073A073E76ACE8F97 /* PBXContainerItemProxy */; }; - B135FD282DBA2825930B935D17CBBA97 /* PBXTargetDependency */ = { + 857E399AAE931C9A84617A08C96BD3E8 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxCocoa; target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; - targetProxy = 3C69081EC581DF58EC92845839EDD418 /* PBXContainerItemProxy */; + targetProxy = A0085E3CC9864C86C695F7E384004355 /* PBXContainerItemProxy */; }; - B4218BD79DC031D6C8C6D37B80367C63 /* PBXTargetDependency */ = { + 8D736EBB1368F12C8A951C7A1143ABF2 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxRelay; - target = 4622BFEF3DC16E8BD15EEFC30D4D0084 /* RxRelay */; - targetProxy = 7E2C66A289DEDD8EF98A69CFC55C2436 /* PBXContainerItemProxy */; + name = WeakMapTable; + target = FDAD00A3F94FDF0C9810CDD8F98A86EF /* WeakMapTable */; + targetProxy = 6FA4711BFE4A8A46AF681675604D68BD /* PBXContainerItemProxy */; }; - B6C348144007B5C1A038A1D121C40444 /* PBXTargetDependency */ = { + A80F9371F69C53EE69949C05FC3BEEA1 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = Alamofire; - target = EAAA1AD3A8A1B59AB91319EE40752C6D /* Alamofire */; - targetProxy = C8C56C78AB89114A5CBDE4F9F4EC4D8F /* PBXContainerItemProxy */; + name = RxSwift; + target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; + targetProxy = 8899917D04F99A8D06A96AB5D73259CA /* PBXContainerItemProxy */; }; - BAF48D999727266B5C2F1B22F8D80A47 /* PBXTargetDependency */ = { + AB8474083D031612AE8AD1A6E4BB1DC6 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxKeyboard; - target = 46E48C41E3556F8E41D231C8FD9B7471 /* RxKeyboard */; - targetProxy = 56810D1343583C9215BB68CDA01CAD22 /* PBXContainerItemProxy */; + name = RxCocoa; + target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; + targetProxy = 7A6CDBE3DEB09F0051652AD127EE6416 /* PBXContainerItemProxy */; }; - D1E06DBF672069366CCCB367C3FCBB03 /* PBXTargetDependency */ = { + B55D795CB7648D98B09A84A03E3E83A8 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxSwift; - target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = C47F3B6C62AF7676DCD714D0C0DBF544 /* PBXContainerItemProxy */; + name = RxCocoa; + target = 7AD0C6DCDC9CEC8A3C7C10C7FEE07BE6 /* RxCocoa */; + targetProxy = 1124B1C31001F52415D6F636D717381E /* PBXContainerItemProxy */; + }; + B614E6E1CD25D8B832A1B47549DABD6A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SnapKit; + target = 19622742EBA51E823D6DAE3F8CDBFAD4 /* SnapKit */; + targetProxy = 07818E46817988D2F66DCFDF72A17411 /* PBXContainerItemProxy */; }; - D2CF4DDFD1897F1FC32EE814241D8D1C /* PBXTargetDependency */ = { + BFCC32E6D4BEDA0FF765DDAB6C1572F3 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = 0D09013980C9D88E0D87974F933637A3 /* PBXContainerItemProxy */; + targetProxy = 9CC1FB8401E379E3F7B6E935688E10FA /* PBXContainerItemProxy */; }; - E5D8595D1850C86E4694A290113E1E5A /* PBXTargetDependency */ = { + C231E9BEA659359D8D6020C6D68A6145 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxGesture; - target = D77CA6E20D3F659D26E05339EBA33B59 /* RxGesture */; - targetProxy = 396EB3988F7BF5B676188358B9B96004 /* PBXContainerItemProxy */; + name = RxRelay; + target = 4622BFEF3DC16E8BD15EEFC30D4D0084 /* RxRelay */; + targetProxy = 9EFD61FACE0259FAF50127971B4FBD6B /* PBXContainerItemProxy */; }; - E730B146E3EB3E2EABD27FF3BB95CC21 /* PBXTargetDependency */ = { + D22C074E0893A8C7D5F85D90FCCC024F /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = WeakMapTable; - target = FDAD00A3F94FDF0C9810CDD8F98A86EF /* WeakMapTable */; - targetProxy = D83D6DCAA7E84923D030B8AFE906923C /* PBXContainerItemProxy */; + name = RxKeyboard; + target = 46E48C41E3556F8E41D231C8FD9B7471 /* RxKeyboard */; + targetProxy = 40961CF53B8534D502FFFF50122299A7 /* PBXContainerItemProxy */; }; - ED977013C23921056AEB8D4741E239B6 /* PBXTargetDependency */ = { + D5CD6B511217E3C08DD5C18CAEEB5BF4 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = WeakMapTable; - target = FDAD00A3F94FDF0C9810CDD8F98A86EF /* WeakMapTable */; - targetProxy = DE6FF2BE98E1D2084E5C63FC11DA9629 /* PBXContainerItemProxy */; + name = RxSwift; + target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; + targetProxy = 3C1D4596B02261AE6F07723B670DBD76 /* PBXContainerItemProxy */; + }; + DA72C0971EA6916D3B37A937D2777AEB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Alamofire; + target = EAAA1AD3A8A1B59AB91319EE40752C6D /* Alamofire */; + targetProxy = 0398B53269AB51FFFC5CAC17BF69CABF /* PBXContainerItemProxy */; }; - EEF75D934D6A20F482FCD0D460E1658F /* PBXTargetDependency */ = { + E637C94D357C6F245AF6180A4ADD6BB7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = RxSwift; target = EA9EA43B3B503823EE36C60D9C8A865F /* RxSwift */; - targetProxy = D1EBCE030B2DA6046F6BC9F68547F2D3 /* PBXContainerItemProxy */; + targetProxy = 7C9F4D07D0CEEABA33FD357D72CC28E7 /* PBXContainerItemProxy */; }; - F8824114D93B416A1280035B449300D2 /* PBXTargetDependency */ = { + E7CCCAD1A80110CDB605CFB7DF1AE599 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = RxOptional; - target = 3D8B1104C8B4F5AD74F600289D7A12AD /* RxOptional */; - targetProxy = 1F2277E5349A00FE6AD22398C938C3FB /* PBXContainerItemProxy */; + name = RxRelay; + target = 4622BFEF3DC16E8BD15EEFC30D4D0084 /* RxRelay */; + targetProxy = 39397BEB8FFAE2D871382C0CED5E912B /* PBXContainerItemProxy */; + }; + ED2C80C6C7EEE33E9D08C01C52F114B2 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Kingfisher; + target = E8022D22FAA6690B5E1C379C1BCE1491 /* Kingfisher */; + targetProxy = 39A9AB2AAB5446135888DD68C1D5FCB4 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 184630E80447A93605037F683F8F1A08 /* Debug */ = { + 0AE003EA3DE315BF4B6AA81C02942D54 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 0F79519BBB6CCE3649B62B38E7ED5D26 /* RxRelay.debug.xcconfig */; + baseConfigurationReference = AF55E4C7BBDA945D895CE251989FEF17 /* RxSwift.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3308,8 +3659,8 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxRelay/RxRelay-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxRelay/RxRelay-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RxSwift/RxSwift-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -3317,9 +3668,44 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/RxRelay/RxRelay.modulemap"; - PRODUCT_MODULE_NAME = RxRelay; - PRODUCT_NAME = RxRelay; + MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; + PRODUCT_MODULE_NAME = RxSwift; + PRODUCT_NAME = RxSwift; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.1; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 0F42921C18432D832D347141F32D35C6 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E06A867E82C40F63DA7410165D6CD9D4 /* RxSwift.debug.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RxSwift/RxSwift-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; + PRODUCT_MODULE_NAME = RxSwift; + PRODUCT_NAME = RxSwift; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; @@ -3332,7 +3718,7 @@ }; 2202230BF25CAB2FDC609A71D79055BB /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BAEA26E5A0E2B82BD83578C05E5BCAE6 /* SwiftGen.debug.xcconfig */; + baseConfigurationReference = 996C1A360141B206FBE1293D8477D4B4 /* SwiftGen.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -3348,7 +3734,7 @@ }; 34B22F5EB7E986E7C8479697F0986221 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 523529671442C995D95B58B6C592B7FA /* ReactorKit.debug.xcconfig */; + baseConfigurationReference = B10FEE1B39599976E4E3A87CD51BE95C /* ReactorKit.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3367,22 +3753,92 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/ReactorKit/ReactorKit.modulemap"; - PRODUCT_MODULE_NAME = ReactorKit; - PRODUCT_NAME = ReactorKit; + MODULEMAP_FILE = "Target Support Files/ReactorKit/ReactorKit.modulemap"; + PRODUCT_MODULE_NAME = ReactorKit; + PRODUCT_NAME = ReactorKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 35D83977B1A2ABC8F0E98364B6CC7AA2 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 92EADEE98AFD36412A164CD4583155C7 /* RxRelay.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/RxRelay/RxRelay-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RxRelay/RxRelay-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/RxRelay/RxRelay.modulemap"; + PRODUCT_MODULE_NAME = RxRelay; + PRODUCT_NAME = RxRelay; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.1; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 3914DEBBEEAB8A4B9DD4367F2704D034 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D2AC5C57AA6357F3815DE453637393DA /* Then.release.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Then/Then-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Then/Then-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/Then/Then.modulemap"; + PRODUCT_MODULE_NAME = Then; + PRODUCT_NAME = Then; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 3914DEBBEEAB8A4B9DD4367F2704D034 /* Release */ = { + 46D589341333A26EBAA3450CE236302A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 77239CC919A4EDB337A4359D9A1B1462 /* Then.release.xcconfig */; + baseConfigurationReference = 3D696111C894C979A29EBD5A4FA8FC5F /* RxRelay.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3392,32 +3848,31 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/Then/Then-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/Then/Then-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/RxRelay/RxRelay-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RxRelay/RxRelay-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/Then/Then.modulemap"; - PRODUCT_MODULE_NAME = Then; - PRODUCT_NAME = Then; + MODULEMAP_FILE = "Target Support Files/RxRelay/RxRelay.modulemap"; + PRODUCT_MODULE_NAME = RxRelay; + PRODUCT_NAME = RxRelay; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 47A23F0FF5EB6EFF72AB12156364E545 /* Debug */ = { + 4A61356E679AC7B65E171EB4C9C9BBB7 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 62EF707C342621CD232306A2363592EA /* WeakMapTable.debug.xcconfig */; + baseConfigurationReference = CD265D7D3283FD3690871CA451818F45 /* WeakMapTable.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3444,14 +3899,15 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; 4F18CCB175E70484BF6775AFF52DA9BE /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 9FC1F5D9D3580EC550E33F2302C48C7D /* RxKeyboard.release.xcconfig */; + baseConfigurationReference = F413F529858A70B988218D837F257C20 /* RxKeyboard.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3486,7 +3942,7 @@ }; 5F979E20277E9518A0EB2324C80E1EC1 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 388B09C72906EEDB8165B01B5347684D /* RxOptional.release.xcconfig */; + baseConfigurationReference = D00227063AD70B2F020D7F5FD27DD7F2 /* RxOptional.release.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -3520,10 +3976,12 @@ }; name = Release; }; - 75990901EA5EBF7AC50176D252123103 /* Debug */ = { + 6C514D317CCDF23EF9313621DE7DCF96 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B540B55AF9A5DE48AC869B3375129488 /* RxKeyboard.debug.xcconfig */; + baseConfigurationReference = D55CA032D57C65F1FA651EDB99AEBA2F /* Pods-Instagram.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -3532,31 +3990,33 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxKeyboard/RxKeyboard-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxKeyboard/RxKeyboard-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/RxKeyboard/RxKeyboard.modulemap"; - PRODUCT_MODULE_NAME = RxKeyboard; - PRODUCT_NAME = RxKeyboard; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 790208773E70411931D94DD48A77E8CD /* Release */ = { + 75990901EA5EBF7AC50176D252123103 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = BB2BDDC3B31C99B5888F3D137ED7B678 /* WeakMapTable.release.xcconfig */; + baseConfigurationReference = F6504BCF17D95402FFD37D4659BB4BA6 /* RxKeyboard.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3566,32 +4026,31 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/WeakMapTable/WeakMapTable-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/WeakMapTable/WeakMapTable-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/RxKeyboard/RxKeyboard-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/RxKeyboard/RxKeyboard-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/WeakMapTable/WeakMapTable.modulemap"; - PRODUCT_MODULE_NAME = WeakMapTable; - PRODUCT_NAME = WeakMapTable; + MODULEMAP_FILE = "Target Support Files/RxKeyboard/RxKeyboard.modulemap"; + PRODUCT_MODULE_NAME = RxKeyboard; + PRODUCT_NAME = RxKeyboard; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; 7D34C1F5EEAF808252A41D4904D30039 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E04CB9E78518323637B3F7BBA9DDD57A /* RxCocoa.debug.xcconfig */; + baseConfigurationReference = 315A4FCD9BDA3A59891B7922F090721C /* RxCocoa.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3623,47 +4082,9 @@ }; name = Debug; }; - 817247A5D943B7903F6E49ABC5C0D8B5 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D55CA032D57C65F1FA651EDB99AEBA2F /* Pods-Instagram.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; 90A4588B06F8745E7FCD1B00204D6241 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 972B6880FE33F1692D0DF0444904E818 /* Alamofire.release.xcconfig */; + baseConfigurationReference = FCC440E972F7AC19379252857A741525 /* Alamofire.release.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -3827,7 +4248,7 @@ }; 96859D0CBA06C4EA7691E92BBFBE3F95 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 055385E069112238C9323DC710B98508 /* RxCocoa.release.xcconfig */; + baseConfigurationReference = 88E05300D5ACED733B17D05710D29D3D /* RxCocoa.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3860,9 +4281,44 @@ }; name = Release; }; + 980A58862D8A5086E2825CF9017AC8DD /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F618D4A7D0EEA5A73E4C314AA46B8BEA /* Kingfisher.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Kingfisher/Kingfisher-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Kingfisher/Kingfisher-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/Kingfisher/Kingfisher.modulemap"; + PRODUCT_MODULE_NAME = Kingfisher; + PRODUCT_NAME = Kingfisher; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; 9E98C04A5FA16D8AD5D48C1861179497 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 08D5424B32A74E8215AEE4F389E08CD8 /* Alamofire.debug.xcconfig */; + baseConfigurationReference = 90F1BC16FE4AA8AC06E7BC4ED934F6BF /* Alamofire.debug.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -3897,7 +4353,7 @@ }; BD56FE5DA8DE765EC0B3C5976EAE795F /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 71E41C07F69D8243052807F2E585B8DB /* Then.debug.xcconfig */; + baseConfigurationReference = FBB421ED6CD2B9AF612F29ED3FC148F8 /* Then.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3929,11 +4385,10 @@ }; name = Debug; }; - C459268CE832AC80715AD113690B6034 /* Debug */ = { + BFD9E4B58F44191AF73A3434AAF6831F /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 8F1C05A6AAE90D295C98A6A46F23C0D6 /* Pods-Instagram.debug.xcconfig */; + baseConfigurationReference = 132E12E2A3AFCC2B08F930254022C725 /* Kingfisher.release.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -3943,32 +4398,32 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/Kingfisher/Kingfisher-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Kingfisher/Kingfisher-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + MODULEMAP_FILE = "Target Support Files/Kingfisher/Kingfisher.modulemap"; + PRODUCT_MODULE_NAME = Kingfisher; + PRODUCT_NAME = Kingfisher; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; C6E83B5CFB6B459347BF4E61A71DBCEB /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 333AAB78732FA0DC450964427E5E4FA3 /* RxOptional.debug.xcconfig */; + baseConfigurationReference = C7C2EF9DA197A6FA5B742E3B3E1C9D35 /* RxOptional.debug.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -4003,7 +4458,7 @@ }; C928E8473E74F44CE03246075413D971 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = E411EE8D45F5A4758F72E9C6D11F295B /* Moya.debug.xcconfig */; + baseConfigurationReference = 668C6506D816C542951AA9D159790543 /* Moya.debug.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -4038,7 +4493,7 @@ }; CB8A79F7382B0A1227C38D59E7968EEA /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 25554B9B8FD0F09D4151348CDA2CB403 /* SnapKit.debug.xcconfig */; + baseConfigurationReference = CF9087015E5243440A1329BE6F597A2A /* SnapKit.debug.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -4071,44 +4526,9 @@ }; name = Debug; }; - CCC2D48F00DFC18E120CAADC603EBC5A /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FD2BA46C07C2CB40DCC047220CCF563A /* RxRelay.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxRelay/RxRelay-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxRelay/RxRelay-Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MODULEMAP_FILE = "Target Support Files/RxRelay/RxRelay.modulemap"; - PRODUCT_MODULE_NAME = RxRelay; - PRODUCT_NAME = RxRelay; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.1; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; CF3B4AB84D0F77E437676BAFB9C2086C /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 9733A2F460991DEBAE2A4A6373B4D31E /* SwiftGen.release.xcconfig */; + baseConfigurationReference = 5B0FE2D0BC9661FB603E845D878CBC09 /* SwiftGen.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; @@ -4125,7 +4545,7 @@ }; DBDBEA1E66801F93BDE088E036662947 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CD50F1396F2341B9FF9A8AB8247FF44A /* Moya.release.xcconfig */; + baseConfigurationReference = 65296427F14DC611309AECF7906439C5 /* Moya.release.xcconfig */; buildSettings = { CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -4159,11 +4579,10 @@ }; name = Release; }; - DFFD31690F9CC8449FD1F803388E1D46 /* Release */ = { + DF47966690E6DA2A88BF08AF3630B7CB /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2EDA9FCC111BF000BC7305BB7A67FEA5 /* SnapKit.release.xcconfig */; + baseConfigurationReference = DCE94BC8E5E955F41A2D9EBA6404EEB0 /* WeakMapTable.debug.xcconfig */; buildSettings = { - CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -4172,33 +4591,33 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/SnapKit/SnapKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/SnapKit/SnapKit-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/WeakMapTable/WeakMapTable-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/WeakMapTable/WeakMapTable-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/SnapKit/SnapKit.modulemap"; - PRODUCT_MODULE_NAME = SnapKit; - PRODUCT_NAME = SnapKit; + MODULEMAP_FILE = "Target Support Files/WeakMapTable/WeakMapTable.modulemap"; + PRODUCT_MODULE_NAME = WeakMapTable; + PRODUCT_NAME = WeakMapTable; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - E4139BB3F68FEA98AEE745065513AC29 /* Release */ = { + DFFD31690F9CC8449FD1F803388E1D46 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 4EF870D672BC32852BEDDE0A769A6355 /* RxSwift.release.xcconfig */; + baseConfigurationReference = 7D63BB28F3BAA093DDC64A233EC06F37 /* SnapKit.release.xcconfig */; buildSettings = { + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -4207,22 +4626,22 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxSwift/RxSwift-Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/SnapKit/SnapKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SnapKit/SnapKit-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; - PRODUCT_MODULE_NAME = RxSwift; - PRODUCT_NAME = RxSwift; + MODULEMAP_FILE = "Target Support Files/SnapKit/SnapKit.modulemap"; + PRODUCT_MODULE_NAME = SnapKit; + PRODUCT_NAME = SnapKit; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.1; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -4232,7 +4651,7 @@ }; E49EB03C21E96C87BF24E1F2C8C28530 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = D3E5441DBD6E65EE33714F8B5858015F /* RxGesture.release.xcconfig */; + baseConfigurationReference = C61E5D79FE23691306BC47756BF0297F /* RxGesture.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -4267,7 +4686,7 @@ }; E7F56FE6B47E48C91306E776CA3E898C /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 23008DB1376D11B8A40A9B9B617147A2 /* ReactorKit.release.xcconfig */; + baseConfigurationReference = 6AE6E5305759AB9521A78121B77D8D4B /* ReactorKit.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -4300,10 +4719,12 @@ }; name = Release; }; - F023FE8E1F7C3C9465C30A5BAD25AD57 /* Debug */ = { + E88EA7E46080ED20C4ACD4C27F5A13B0 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 55C3E5C329CDDB358F2758B5BF4BB134 /* RxSwift.debug.xcconfig */; + baseConfigurationReference = 8F1C05A6AAE90D295C98A6A46F23C0D6 /* Pods-Instagram.debug.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; @@ -4312,22 +4733,23 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/RxSwift/RxSwift-Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.4; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap"; - PRODUCT_MODULE_NAME = RxSwift; - PRODUCT_NAME = RxSwift; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Instagram/Pods-Instagram.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 5.1; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -4336,7 +4758,7 @@ }; FDE271509C11CFCD38E95705C724DE6E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 04C66455493282BE29DE06B48237DCD3 /* RxGesture.debug.xcconfig */; + baseConfigurationReference = B73D3F59AA8CD9CD1DB8DB39478B6CD7 /* RxGesture.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -4380,6 +4802,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 21F7DB82697EE82632D1E16BD8C2B785 /* Build configuration list for PBXNativeTarget "Pods-Instagram" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E88EA7E46080ED20C4ACD4C27F5A13B0 /* Debug */, + 6C514D317CCDF23EF9313621DE7DCF96 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 25AE2A8304AA799A1A0A4FD6C1577310 /* Build configuration list for PBXNativeTarget "RxCocoa" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -4389,11 +4820,11 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 3B9D6B699AFED969254317EBF1EBC5CA /* Build configuration list for PBXNativeTarget "RxSwift" */ = { + 29D79175D22BD5F4D7E72BBD7170093F /* Build configuration list for PBXNativeTarget "RxRelay" */ = { isa = XCConfigurationList; buildConfigurations = ( - F023FE8E1F7C3C9465C30A5BAD25AD57 /* Debug */, - E4139BB3F68FEA98AEE745065513AC29 /* Release */, + 46D589341333A26EBAA3450CE236302A /* Debug */, + 35D83977B1A2ABC8F0E98364B6CC7AA2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -4425,20 +4856,20 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 76C78C00354F80BA99D2E973BB4D3100 /* Build configuration list for PBXNativeTarget "Pods-Instagram" */ = { + 69ACD8654734266A348C6FF68E734010 /* Build configuration list for PBXNativeTarget "Kingfisher" */ = { isa = XCConfigurationList; buildConfigurations = ( - C459268CE832AC80715AD113690B6034 /* Debug */, - 817247A5D943B7903F6E49ABC5C0D8B5 /* Release */, + 980A58862D8A5086E2825CF9017AC8DD /* Debug */, + BFD9E4B58F44191AF73A3434AAF6831F /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83832E18BA37CE39892BD3A21B019DA6 /* Build configuration list for PBXNativeTarget "WeakMapTable" */ = { + 6E2AC950D5D2DD4907C5524E79415770 /* Build configuration list for PBXNativeTarget "WeakMapTable" */ = { isa = XCConfigurationList; buildConfigurations = ( - 47A23F0FF5EB6EFF72AB12156364E545 /* Debug */, - 790208773E70411931D94DD48A77E8CD /* Release */, + DF47966690E6DA2A88BF08AF3630B7CB /* Debug */, + 4A61356E679AC7B65E171EB4C9C9BBB7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -4461,29 +4892,29 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - CB3193EAEBAC2671A7392A280C9EB2BD /* Build configuration list for PBXNativeTarget "RxOptional" */ = { + BDB66082F8D81DEBF2D8D3564DD76335 /* Build configuration list for PBXNativeTarget "RxSwift" */ = { isa = XCConfigurationList; buildConfigurations = ( - C6E83B5CFB6B459347BF4E61A71DBCEB /* Debug */, - 5F979E20277E9518A0EB2324C80E1EC1 /* Release */, + 0F42921C18432D832D347141F32D35C6 /* Debug */, + 0AE003EA3DE315BF4B6AA81C02942D54 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - D56C6405E99353A6E4BF7FB5C4B34492 /* Build configuration list for PBXNativeTarget "RxGesture" */ = { + CB3193EAEBAC2671A7392A280C9EB2BD /* Build configuration list for PBXNativeTarget "RxOptional" */ = { isa = XCConfigurationList; buildConfigurations = ( - FDE271509C11CFCD38E95705C724DE6E /* Debug */, - E49EB03C21E96C87BF24E1F2C8C28530 /* Release */, + C6E83B5CFB6B459347BF4E61A71DBCEB /* Debug */, + 5F979E20277E9518A0EB2324C80E1EC1 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - DAE5FE0817CE9B7B99B48B9856936CB6 /* Build configuration list for PBXNativeTarget "RxRelay" */ = { + D56C6405E99353A6E4BF7FB5C4B34492 /* Build configuration list for PBXNativeTarget "RxGesture" */ = { isa = XCConfigurationList; buildConfigurations = ( - 184630E80447A93605037F683F8F1A08 /* Debug */, - CCC2D48F00DFC18E120CAADC603EBC5A /* Release */, + FDE271509C11CFCD38E95705C724DE6E /* Debug */, + E49EB03C21E96C87BF24E1F2C8C28530 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Instagram/Pods/Target Support Files/Alamofire/Alamofire-Info.plist b/Instagram/Pods/Target Support Files/Alamofire/Alamofire-Info.plist index 0c02b2a..a3f6596 100644 --- a/Instagram/Pods/Target Support Files/Alamofire/Alamofire-Info.plist +++ b/Instagram/Pods/Target Support Files/Alamofire/Alamofire-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.5.0 + 5.6.1 CFBundleSignature ???? CFBundleVersion diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-Info.plist b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-Info.plist new file mode 100644 index 0000000..f35e78c --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 7.2.2 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m new file mode 100644 index 0000000..1b89d0e --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Kingfisher : NSObject +@end +@implementation PodsDummy_Kingfisher +@end diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h new file mode 100644 index 0000000..75a7996 --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double KingfisherVersionNumber; +FOUNDATION_EXPORT const unsigned char KingfisherVersionString[]; + diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.debug.xcconfig b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.debug.xcconfig new file mode 100644 index 0000000..2dcd91e --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.debug.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "Accelerate" -framework "CFNetwork" -weak_framework "Combine" -weak_framework "SwiftUI" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Kingfisher +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap new file mode 100644 index 0000000..2a20d91 --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.modulemap @@ -0,0 +1,6 @@ +framework module Kingfisher { + umbrella header "Kingfisher-umbrella.h" + + export * + module * { export * } +} diff --git a/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.release.xcconfig b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.release.xcconfig new file mode 100644 index 0000000..2dcd91e --- /dev/null +++ b/Instagram/Pods/Target Support Files/Kingfisher/Kingfisher.release.xcconfig @@ -0,0 +1,14 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift +OTHER_LDFLAGS = $(inherited) -framework "Accelerate" -framework "CFNetwork" -weak_framework "Combine" -weak_framework "SwiftUI" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Kingfisher +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.markdown b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.markdown index 1f88daa..3b80e4d 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.markdown +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.markdown @@ -3,7 +3,7 @@ This application makes use of the following third party libraries: ## Alamofire -Copyright (c) 2014-2021 Alamofire Software Foundation (http://alamofire.org/) +Copyright (c) 2014-2022 Alamofire Software Foundation (http://alamofire.org/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -24,6 +24,32 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +## Kingfisher + +The MIT License (MIT) + +Copyright (c) 2019 Wei Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + ## Moya The MIT License (MIT) diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.plist b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.plist index a7e7f6b..c8a3e62 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.plist +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-acknowledgements.plist @@ -14,7 +14,7 @@ FooterText - Copyright (c) 2014-2021 Alamofire Software Foundation (http://alamofire.org/) + Copyright (c) 2014-2022 Alamofire Software Foundation (http://alamofire.org/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -45,6 +45,38 @@ THE SOFTWARE. FooterText The MIT License (MIT) +Copyright (c) 2019 Wei Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + License + MIT + Title + Kingfisher + Type + PSGroupSpecifier + + + FooterText + The MIT License (MIT) + Copyright (c) 2014-present Artsy, Ash Furrow Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-input-files.xcfilelist b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-input-files.xcfilelist index c619ccb..b1be27d 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-input-files.xcfilelist +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-input-files.xcfilelist @@ -1,5 +1,6 @@ ${PODS_ROOT}/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh ${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework +${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework ${BUILT_PRODUCTS_DIR}/Moya/Moya.framework ${BUILT_PRODUCTS_DIR}/ReactorKit/ReactorKit.framework ${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-output-files.xcfilelist b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-output-files.xcfilelist index 4af21ec..5b413da 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-output-files.xcfilelist +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Debug-output-files.xcfilelist @@ -1,4 +1,5 @@ ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactorKit.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-input-files.xcfilelist b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-input-files.xcfilelist index c619ccb..b1be27d 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-input-files.xcfilelist +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-input-files.xcfilelist @@ -1,5 +1,6 @@ ${PODS_ROOT}/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh ${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework +${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework ${BUILT_PRODUCTS_DIR}/Moya/Moya.framework ${BUILT_PRODUCTS_DIR}/ReactorKit/ReactorKit.framework ${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-output-files.xcfilelist b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-output-files.xcfilelist index 4af21ec..5b413da 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-output-files.xcfilelist +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks-Release-output-files.xcfilelist @@ -1,4 +1,5 @@ ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Kingfisher.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Moya.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ReactorKit.framework ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh index 4bcfde2..196748e 100755 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram-frameworks.sh @@ -177,6 +177,7 @@ code_sign_if_enabled() { if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework" install_framework "${BUILT_PRODUCTS_DIR}/Moya/Moya.framework" install_framework "${BUILT_PRODUCTS_DIR}/ReactorKit/ReactorKit.framework" install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework" @@ -191,6 +192,7 @@ if [[ "$CONFIGURATION" == "Debug" ]]; then fi if [[ "$CONFIGURATION" == "Release" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Kingfisher/Kingfisher.framework" install_framework "${BUILT_PRODUCTS_DIR}/Moya/Moya.framework" install_framework "${BUILT_PRODUCTS_DIR}/ReactorKit/ReactorKit.framework" install_framework "${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework" diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.debug.xcconfig b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.debug.xcconfig index 26e0804..508c87a 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.debug.xcconfig +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.debug.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/Then" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/Then" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit/ReactorKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture/RxGesture.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard/RxKeyboard.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional/RxOptional.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Then/Then.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable/WeakMapTable.framework/Headers" +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit/ReactorKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture/RxGesture.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard/RxKeyboard.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional/RxOptional.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Then/Then.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable/WeakMapTable.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CFNetwork" -framework "Foundation" -framework "Moya" -framework "ReactorKit" -framework "RxCocoa" -framework "RxGesture" -framework "RxKeyboard" -framework "RxOptional" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "Then" -framework "UIKit" -framework "WeakMapTable" +OTHER_LDFLAGS = $(inherited) -framework "Accelerate" -framework "Alamofire" -framework "CFNetwork" -framework "Foundation" -framework "Kingfisher" -framework "Moya" -framework "ReactorKit" -framework "RxCocoa" -framework "RxGesture" -framework "RxKeyboard" -framework "RxOptional" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "Then" -framework "UIKit" -framework "WeakMapTable" -weak_framework "Combine" -weak_framework "SwiftUI" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.release.xcconfig b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.release.xcconfig index 26e0804..508c87a 100644 --- a/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.release.xcconfig +++ b/Instagram/Pods/Target Support Files/Pods-Instagram/Pods-Instagram.release.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/Then" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable" +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher" "${PODS_CONFIGURATION_BUILD_DIR}/Moya" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit" "${PODS_CONFIGURATION_BUILD_DIR}/Then" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit/ReactorKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture/RxGesture.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard/RxKeyboard.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional/RxOptional.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Then/Then.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable/WeakMapTable.framework/Headers" +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Kingfisher/Kingfisher.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Moya/Moya.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ReactorKit/ReactorKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxCocoa/RxCocoa.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxGesture/RxGesture.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxKeyboard/RxKeyboard.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxOptional/RxOptional.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxRelay/RxRelay.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/SnapKit/SnapKit.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/Then/Then.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/WeakMapTable/WeakMapTable.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift -OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "CFNetwork" -framework "Foundation" -framework "Moya" -framework "ReactorKit" -framework "RxCocoa" -framework "RxGesture" -framework "RxKeyboard" -framework "RxOptional" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "Then" -framework "UIKit" -framework "WeakMapTable" +OTHER_LDFLAGS = $(inherited) -framework "Accelerate" -framework "Alamofire" -framework "CFNetwork" -framework "Foundation" -framework "Kingfisher" -framework "Moya" -framework "ReactorKit" -framework "RxCocoa" -framework "RxGesture" -framework "RxKeyboard" -framework "RxOptional" -framework "RxRelay" -framework "RxSwift" -framework "SnapKit" -framework "Then" -framework "UIKit" -framework "WeakMapTable" -weak_framework "Combine" -weak_framework "SwiftUI" OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)