I\'m getting the error above, but unsure how to go about fixing it. This is my code:
.h:
#import @protocol ColorLineDelegate &
Looks like your project might be using ARC then properties should be declared this way:
ARC
#import @protocol ColorLineDelegate -(void)valueWasChangedToHue:(float)hue; @end @interface ColorLine : UIButton @property (nonatomic, weak) id delegate; @end