I need to compare if two views are the same, I am getting the views like this 

```
let viewController = navController.viewControllers[navController.viewControllers.count - 2]
        let newController = self.storyboard!.instantiateViewController(withIdentifier: "Reservar")

```

when I print the value of the variables I get this 

```
<Resto.ReservaViewController: 0x7fc9f0e4a860>
<Resto.ReservaViewController: 0x7fc9f0d074a0>

```

They are the same ViewController, but that number at the end is different, so I think that is why the if (viewController == newController) is false