0

Possible Duplicate:
Can you swap the NIB file for a UIViewController that's already on-screen?

How would I go about loading a new NIB file without making the old object nil and re-allocating it?

To clarify, what I need to do is change the currently loaded nib file.

Earlier:

viewController1 = [[UIViewController alloc] initWithNibName:@"Nib" bundel:nil];

Wanted:

[viewController1 someMethodToChangeLoadedNib:@"NewNib"];

Or some way to circumvent typing [viewController1.view removeFromSuperview] then viewController1 = nil and reallocating.

Community
  • 1
  • 1
Chad
  • 275
  • 3
  • 13
  • http://stackoverflow.com/questions/2016944/can-you-swap-the-nib-file-for-a-uiviewcontroller-thats-already-on-screen This SO Post looks similar. – ARC Sep 15 '11 at 01:21

0 Answers0