title: Cannot convert value of type 'Any' to specified type in swift
body: <p>I have created one array like below</p>
  
  <pre><code>var childControllers = NSArray()
  childControllers = NSArray(objects: OBDPage1, OBDPage2, OBDPage3, OBDPage4)
  self.loadScrollView(page: 0)// calling method
  </code></pre>
  
  <p>now I want to use array object like below </p>
  
  <pre><code>func loadScrollView(page: Int){ // method
      if page &gt;= childControllers.count {
          return
      }
      // replace the placeholder if necessary
      let controller: OBDPage1ViewController? = childControllers[page]
  }
  </code></pre>
  
  <p>but I am getting below error </p>
  
  <blockquote>
    <p>Swift-CarAssist/Swift-CarAssist/OBDCarMonitorDeatilViewController.swift:90:67: Cannot convert value of type 'Any' to specified type 'OBDPage1ViewController?'</p>
  </blockquote>
  
  <p>can any one tell me where I am going wrong as I am new to swift.</p>
  
  <p>Thanks in advance.
  Priyanka</p>