title: getInstance before initWithNibName:
body: <p>I have a class named <code>IGMapViewController</code></p>
  
  <p>In that I have</p>
  
  <pre><code>static IGMapViewController *instance =nil;
  
  +(IGMapViewController *)getInstance {
      @synchronized(self) {
          if (instance==nil) {
              instance= [IGMapViewController new];
          }
      }
      return instance;
  }
  
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      if (self) {
      // more code
          instance = self;
      }
  
      return self;
  }
  </code></pre>
  
  <p>If use the object in more then 1 class but only use <code>initWithNibName</code> in one class.</p>
  
  <p>In a class named <code>IGRouteController</code> in the init method i use <code>_mapViewController = [IGMapViewController getInstance];</code> this happens before the <code>initWithNibName</code> gets executed in another class.</p>
  
  <p>In <code>IGRouteController</code> I have a method <code>updateRouteList</code> in that method I use:</p>
  
  <p><code>[_mapViewController drawSuggestedRoute:suggestedRoute];</code></p>
  
  <p>It all does run but I can't see the result.</p>
  
  <p>If i use:</p>
  
  <pre><code>IGMapViewController *wtf = [IGMapViewController getInstance];
  [wtf drawSuggestedRoute:suggestedRoute];
  </code></pre>
  
  <p>Then it does work great.</p>
  
  <p>So is it possible to get a instance and init later with a nib?</p>