-
Notifications
You must be signed in to change notification settings - Fork 935
Open
Description
I use FUIButton without IB so i make that in my .m:
self.boutton_commencer.buttonColor = [UIColor carrotColor];
self.boutton_commencer.shadowColor = [UIColor alizarinColor];
self.boutton_commencer.shadowHeight = 3.0f;
self.boutton_commencer.cornerRadius = 6.0f;
self.boutton_commencer.titleLabel.font = [UIFont boldFlatFontOfSize:16];
[self.boutton_commencer setTitleColor:[UIColor cloudsColor] forState:UIControlStateNormal];
[self.boutton_commencer setTitleColor:[UIColor cloudsColor] forState:UIControlStateHighlighted];
And i my .h i set that:
@Property (strong, nonatomic) FUIButton *boutton_commencer;
But when i test this code i get this error:
2015-04-21 19:41:10.833 WeProov[85487:6502034] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIColor carrotColor]: unrecognized selector sent to class 0x3bc00c8'
Thanks you !
Metadata
Metadata
Assignees
Labels
No labels