I've a nib file in which i added 2 views. Now, i want to initate(init) my second view in my code, because i show it again and again after initate. so when i try to load nib file like:
UINib *nib = [UINib nibWithNibName:@"Taxi_Login_View" bundle:nil];
NSArray *nibArray = [nib instantiateWithOwner:self options:nil];
UIView *alert = [nibArray objectAtIndex: 1];
I get second view successfully after initate. But my first view also initate that i don't want. I just want to initate second view not first. Now what i do for this.