From f1fbf9b1eacf8065e72fe10d6cf2efcff5d039c3 Mon Sep 17 00:00:00 2001 From: Ashwin M J Date: Sun, 19 Aug 2018 14:23:32 +0530 Subject: [PATCH] Update README to reflect changes in Swift 4 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dad4d3f..cf976e9 100644 --- a/README.md +++ b/README.md @@ -67,10 +67,10 @@ func application(application: UIApplication, didFinishLaunchingWithOptions launc class ContainerViewController: SlideMenuController { override func awakeFromNib() { - if let controller = self.storyboard?.instantiateViewControllerWithIdentifier("Main") { + if let controller = self.storyboard?.instantiateViewController(withIdentifier: "Main") { self.mainViewController = controller } - if let controller = self.storyboard?.instantiateViewControllerWithIdentifier("Left") { + if let controller = self.storyboard?.instantiateViewController(withIdentifier: "Left") { self.leftViewController = controller } super.awakeFromNib()