title: What is the right way to open titanium appcelerator windows?
body: <p>I am working on a Titanium Appcelerator iOS app that contains an initial Dashboard screen and 2 separate screens that can be accessed from the Dashboard.</p>
  
  <p>I have set up my app to use a navigation controller and everything is controlled from a main.js file using custom event listeners. I do this so that I can separate the code for each screen into separate files.</p>
  
  <p>The problem is that with each screen that loads, I have to open the window on the nav stack and then add all the elements to it. This is fine for one of the screens because it just contains a few views and labels. However, the other screen has a MapView and it takes 3 seconds or so to load after the user sees the screen open.</p>
  
  <p>What is the right way to handle this? Is there a way to preload the window before opening but to keep my current architecture?</p>
  
  <p>I asked this question in a much more confusing and specific way, <a href="https://stackoverflow.com/questions/15328219/titanium-appcelerator-mapview-takes-a-long-time-to-open">here</a> but I think that this general question is applicable to more people as the architecture style I am using is fairly common.</p>