Hello I am just a beginner.
I have created a new xib file. Now I am trying to call it like the code below but it does not work.
This is what I have done in file's owner:
UIViewController *controller;
controller = [[UIViewController alloc]initWithNibName:@"UserFeedback" bundle:nil];
[self.view addSubview:controller.view];
The error that I am getting is:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "UserFeedback" nib but the view outlet was not set.'