In a project a root view controller is being swapped at some point to recreate a whole window hierarchy. A pretty standard code is called simply using
windows