assign GMSMapView to UIView in Swift

I have created these two variables var googleMap = GMSMapView() @IBOutlet weak var mapView: UIView! I'm assigning googleMap to mapView in viewDidLoad() override func viewDidLoad() {