title: iOS3, iOS4, xibbed UIViewController and displaying data
body: <p>I'm writing an app that will run on iOS3.0 and up.</p>
  
  <p>The app has a custom <code>UIViewController</code> (say), which I'm instantiating from a .xib file. It's view comprises a single <code>UILabel</code>, which I've correctly declared and synthesized etc. in my custom <code>UIViewController</code> header and implementation files.</p>
  
  <p>I'd like to set the text of this <code>UILabel</code> dynamically, and for it to be shown to the user by the time my <code>UIViewController</code> appears. For sake of argument please assume the text setting method is expensive.</p>
  
  <p>The catch is on iOS3.0 with my <code>UIViewController</code> at least, <code>-(id)initWithNibName:(NSString *) aNibNameOrNil bundle:(NSBundle *) aNibBundleOrNil</code> returns before <code>-(void)viewDidLoad</code> does, but on my iOS4.0 device it's the other way around. The text label can therefore be <code>nil</code> when I don't want it to be.</p>
  
  <p>Thus, I don't know where I can set the text in such a way as to keep both iOS3.0 and iOS4.0 happy.</p>
  
  <p>Any advice here?</p>