title: Swift Call function from another ViewController
body: <p>I am trying to call a function in the 'attendees' viewController from the viewContoller named 'swipePage':</p>
  
  <p>Attendees:</p>
  
  <pre><code>func showMatchedScreen(){
      matchedView.isHidden = false
  }
  </code></pre>
  
  <p>swipePage:</p>
  
  <pre><code>attendees().showMatchedScreen()
  </code></pre>
  
  <p>However I keep getting the following error on the line above:</p>
  
  <blockquote>
    <p>fatal error: unexpectedly found nil while unwrapping an Optional value</p>
  </blockquote>
  
  <p>Does anyone know why this is happening?</p>