man2manno
Jun 19, 2009, 02:18 AM
Hey guys, I know this is kind of a noobie question, but I have a View Controller that loads a nib file, but I want it to also load another one when a button is pressed. I have this:
[NSBundle loadNibNamed:@"Chart" owner:self];
In the action for my button but I get a warning and when the button is pressed the program crashes. Is that the right line of code?
Thanks
[NSBundle loadNibNamed:@"Chart" owner:self];
In the action for my button but I get a warning and when the button is pressed the program crashes. Is that the right line of code?
Thanks
