I have aded a new View in my app, its just a .xib file On button click i am calling this new view... AS
UIViewController *newView = [[UIViewController alloc] initWithNibName:@"Welcome" bundle: [NSBundle mainBundle]];
[self.view addSubview:newView.view];
It call successfully the new view. I have set some labels and button newView that are shown on button click. now the problem is this, 1- i have to send or pass some data to newView from main and also 2- when i connect a UILabel using CONTROL Drag in interface builder on selecting File's Owner Of newView with desired Label it gives me error on button click
'[<UIViewController 0x89d05b0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key Users.'
'User' is the UILabel type variable In my .h file that is declared as
@property(nonatomic ,retain) IBOutlet UILabel *Users;
any suggestion or help would be appriciated