handsomecode/InteractiveSideMenu

MenuViewController Declaration in ViewDidLoad Causing an Error

KevinMaldjian opened this issue · 0 comments

I have copied the code from the HostViewController implementation section into my file that belongs to the HostViewController but I was immediately greeted with this error:

"Cannot assign value of type 'MenuViewController' to type 'MenuViewController!'"

This error is from line
menuViewController = self.storyboard!.instantiateViewController(withIdentifier: "NavigationMenu") as! MenuViewController