How to pass or assign variable when load the nib file?
- by Siegfried
UISomeController *controller = [[UISomeController alloc] initWithNibName:@"UISomeController" bundle:nil];
[self.navigationController pushViewController:controller animated:YES];
Is it possible to initialize some variables in the controller at the creation time? And how to do that?