title: Swift containerview loses mapView outlet
body: <p>Have a container view with a embedded VC and within it a view of GMSMapView set as</p>
  
  <pre><code>@IBOutlet weak var mapView: GMSMapView!
  </code></pre>
  
  <p>Within viewDidLoad of the embedded VC I set the delegate, etc.</p>
  
  <pre><code>mapView.delegate = self
  mapView.settings.myLocationButton = false
  mapView.settings.setAllGesturesEnabled(true)
  mapView.settings.compassButton = false
  </code></pre>
  
  <p>The parent VC then calls a function in the embedded VC after getting the data. Within the function I create a marker but the mapView is now nil.</p>
  
  <p>mapView is correctly wired up. If I don't call the function, the map shows.</p>
  
  <p>Within the function doing</p>
  
  <pre><code>print(mapView)
  </code></pre>
  
  <p>results in nil or even removing the weak on the outlet is still nil</p>
  
  <p>I'm at a lost of the cause. Anyone have an idea of what would cause the mapView to be nil?</p>
  
  <hr>
  
  <p>Missed the solution in my search. Found the solution on another <a href="https://stackoverflow.com/questions/33922428/containerview-embedded-in-viewcontroller-outlets-are-nil?rq=1">SO</a> question. My apologies for the duplicate.</p>