title: How do you check current view controller class in Swift?
body: <p>As far as I know, this would work in Objective-C:</p>
  
  <pre><code>self.window.rootViewController.class == myViewController
  </code></pre>
  
  <p>How can I check if the current view controller is a specific one?</p>