title: How do I resolve error "Class appDelegate has no initializers"?
body: <p>I'm receiving the error:</p>
  
  <blockquote>
    <p>Class AppDelegate has no initializers</p>
  </blockquote>
  
  <p>and cannot seem to understand why. I am following <a href="https://www.youtube.com/watch?v=c-Uwa5v_3sc" rel="nofollow noreferrer">this tutorial</a>. I am a beginner so any help would be VERY appreciated!</p>
  
  <p>My code:</p>
  
  <pre><code>import UIKit
  
  @UIApplicationMain
  
  class AppDelegate: UIResponder, UIApplicationDelegate {
      var window: UIWindow?
      var centerContainer: MMDrawerController
  
      func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -&gt; Bool {
          // Override point for customization after application launch.
  
          _ = self.window!.rootViewController
  
          let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
  
          let centerViewController = mainStoryboard.instantiateViewController(withIdentifier: "ViewController") as! ViewController
  
          let leftViewController = mainStoryboard.instantiateViewController(withIdentifier: "LeftSideViewController") as! LeftSideViewController
  
          let leftSideNav = UINavigationController(rootViewController: leftViewController)
          let centerNav = UINavigationController(rootViewController: centerViewController)
  
  
          centerContainer = MMDrawerController(center: centerNav, leftDrawerViewController: leftSideNav)
  
  
          centerContainer.openDrawerGestureModeMask = MMOpenDrawerGestureMode.panningCenterView;
  
          centerContainer.closeDrawerGestureModeMask = MMCloseDrawerGestureMode.panningCenterView;
  
          window!.rootViewController = centerContainer
          window!.makeKeyAndVisible()
  
          return true
      }
  }
  </code></pre>