Hey Guys,
I have a view with a label on it. In my .h file i have
and of course i have this in my .m:
Now, everything runs fine when i run this, i can see the view and all, no errors. But when i try to connect the label i have with the IBOutlet and run the application it crashes immediately when i try to load the view, without any error messages.
I tried doing the same with buttons on the same view and this also bugs.
Am i missing something?
EDIT: I found i'm having this error
this class is not key value coding-compliant for the key statusLabel. :S
EDIT 2:
Solved it:https://forums.macrumors.com/threads/556417/
Thanks,
Chris
I have a view with a label on it. In my .h file i have
Code:
@interface NewAccount : UIViewController {
UILabel *statusLabel;
}
@property(nonatomic, assign) IBOutlet UILabel *statusLabel;
and of course i have this in my .m:
Code:
@synthesize statusLabel;
I tried doing the same with buttons on the same view and this also bugs.
Am i missing something?
EDIT: I found i'm having this error
this class is not key value coding-compliant for the key statusLabel. :S
EDIT 2:
Solved it:https://forums.macrumors.com/threads/556417/
Thanks,
Chris