I'm developing my first iPhone app.
One day, I renamed some files including xib file and its view controller.
After that, my app began to use old xib file.
I deleted xib file, but the old xib still was used.
The code to init view controller was:
MyViewController *vc = [[MyViewController alloc] init];
I modified the code to:
MyViewController *vc = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
Then my app used the new xib instead of the old xib.
The question is, is it possible that old xib files are displayed not only on developing apps but also on released apps for some reasons?
Can I avoid old nix caching on released apps if I use initWithNibName:
instead of init
?