From 7503a9e7f291896fc2cfbb3454bf401868e2a294 Mon Sep 17 00:00:00 2001 From: Pablo Viciano Date: Thu, 28 Dec 2017 08:49:13 +0100 Subject: [PATCH] Update: Update deprecated API use --- Source/GIGUtils/Instantiator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/GIGUtils/Instantiator.swift b/Source/GIGUtils/Instantiator.swift index 0ac316f..ce11e64 100644 --- a/Source/GIGUtils/Instantiator.swift +++ b/Source/GIGUtils/Instantiator.swift @@ -41,7 +41,7 @@ public extension Instantiable { let storyboard = UIStoryboard(name: Self.storyboard, bundle: bundle) var viewController: UIViewController? - if Self.identifier.characters.count > 0 { + if Self.identifier.count > 0 { viewController = storyboard.instantiateViewController(withIdentifier: identifier) } else { guard let vc = storyboard.instantiateInitialViewController() else {