I have a RootViewController which loads another view called MainViewController like this:
And in the MainViewController I have an IBOutlet to an ActivityIndicatorView that I have connected in my MainView.xib
I can build my app without a warning, but when I run the app it causes this exception :
I'm not shure if it has anything to do with this error, but I have declared a @property and @synthesize for loadIndicator in the MainViewController.
Can somebody please direct me to the right direction? Thanks.
Code:
MainViewController *viewController = [[MainViewController alloc] initWithNibName:@"MainView" bundle:nil];
self.mainViewController = viewController;
And in the MainViewController I have an IBOutlet to an ActivityIndicatorView that I have connected in my MainView.xib
I can build my app without a warning, but when I run the app it causes this exception :
Code:
'NSUnknownKeyException', reason: '[<RootViewController 0x44e660> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key loadIndicator.'
I'm not shure if it has anything to do with this error, but I have declared a @property and @synthesize for loadIndicator in the MainViewController.
Can somebody please direct me to the right direction? Thanks.