title: CLLocation2D doesn't get value assigned from a variable
body: <p>I'm getting values for latitude and longitude from Firebase and store as String into aLatitudeArray and aLongitudeArray. That part works well, arrays are populated as the childs change in Firebase. I want then reconstruct an array of CLLocation2D from the earlier arrays, but when I assign the values to a variable it get nil. My function is :</p>
  
  <pre><code>func drawAlerts() {   // to rewrite based on aLatituteArray and aLongitudeArray generated from firebase incoming data
          var alertDrawArrayPosition = 0
          while alertDrawArrayPosition != (alertNotificationArray.count - 1) {
  
              var firebaseAlertLatidute = aLatitudeArray[alertDrawArrayPosition]  // get String from alertLaitudeArray
              let stringedLatitude: Double = (firebaseAlertLatidute as NSString).doubleValue // converts it to Double 
  
  
              var firebaseAlertLongitude = aLongitudeArray[alertDrawArrayPosition]  // get string from alertLongitudeAray
              let stringeLongitude: Double = (firebaseAlertLongitude as NSString).doubleValue //converts it to Double
  
              var recombinedCoordinate: CLLocationCoordinate2D!
  //
              recombinedCoordinate.latitude = stringedLatitude  // Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value
              recombinedCoordinate.longitude = stringeLongitude  // Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value
  
  //            alertNotificationArray.append(recombinedCoordinate!) // Build alertNotificationArray
  
  
  
              alertDrawArrayPosition = ( alertDrawArrayPosition + 1 )
  
  
  
          }
      }
  </code></pre>
  
  <p>I read many posts but no solution suggested worked.</p>
  
  <p>At run values are :</p>
  
  <p>firebaseAlertLatidute  String  "37.33233141" </p>
  
  <p>stringedLatitude    Double  37.332331410000002 ( extra 0000002 added after conversion )</p>
  
  <p>firebaseAlertLongitude  String  "-122.0312186"</p>
  
  <p>stringeLongitude    Double  -122.0312186</p>
  
  <p>recombinedCoordinate    CLLocationCoordinate2D? nil none ( this is from the error line ).</p>
  
  <p>And from console I get this prints:</p>
  
  <p>fir aLongitudeArray ["-122.0312186"]</p>
  
  <p>fir aLatitudeArray ["37.33233141"]</p>
  
  <p>Why is not assigning the value?</p>