How to pass or assign variable when load the nib file?

Posted by Siegfried on Stack Overflow See other posts from Stack Overflow or by Siegfried
Published on 2010-06-02T05:59:07Z Indexed on 2010/06/02 6:03 UTC
Read the original article Hit count: 214

Filed under:
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?

© Stack Overflow or respective owner

Related posts about iphone