Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

knut

macrumors newbie
Original poster
Jun 30, 2009
21
0
Hi All

can you help me please with next problem.

I have two .xib files .
test1.xib and test2.xib which are using same viewcontrollers files. so
at this moment my application is load test1.xlib file . how can I load test2.xib instead of test1.xib ?


Thanks
 
You can use UIViewController's
Code:
(id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle
Initializer.

Initialize the view-controller with the nibName you want it to load.

cheers,
daniel
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.