Skip to content

Commit

Permalink
Update: Update deprecated API use
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Viciano committed Dec 28, 2017
1 parent aeed652 commit 7503a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GIGUtils/Instantiator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7503a9e

Please sign in to comment.