From 03f8ba466393fec4ebd502099ab85ce195f2c0c4 Mon Sep 17 00:00:00 2001 From: Yoichi Tagaya Date: Sat, 10 Dec 2016 21:59:04 +0900 Subject: [PATCH] Fix a protocol name renamed in Swinject 2.0.0-beta.3. --- Sources/SwinjectStoryboardOption.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SwinjectStoryboardOption.swift b/Sources/SwinjectStoryboardOption.swift index da44ba4..f98f5dd 100644 --- a/Sources/SwinjectStoryboardOption.swift +++ b/Sources/SwinjectStoryboardOption.swift @@ -9,14 +9,14 @@ import Swinject #if os(iOS) || os(OSX) || os(tvOS) -internal struct SwinjectStoryboardOption: ServiceKeyOptionType { +internal struct SwinjectStoryboardOption: ServiceKeyOption { internal let controllerType: String internal init(controllerType: Container.Controller.Type) { self.controllerType = String(reflecting: controllerType) } - internal func isEqualTo(_ another: ServiceKeyOptionType) -> Bool { + internal func isEqualTo(_ another: ServiceKeyOption) -> Bool { guard let another = another as? SwinjectStoryboardOption else { return false }