From d1da22bada00ab58aa3420ebc9f019279a670a4a Mon Sep 17 00:00:00 2001 From: Rohan Aurora Date: Tue, 21 Oct 2014 19:41:28 -0700 Subject: [PATCH] Fix error (Issue #10). Update UI_APPEARANCE_SELECTOR tag. Add semi-colon after UI_APPEARANCE_SELECTOR tag. Prevent Prefix attribute must be followed by an interface or protocol error. --- MRoundedButton.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/MRoundedButton.h b/MRoundedButton.h index 2dccb4b..58ad154 100644 --- a/MRoundedButton.h +++ b/MRoundedButton.h @@ -35,15 +35,15 @@ extern CGFloat const MRoundedButtonMaxValue; @interface MRoundedButton : UIControl @property (readonly, nonatomic) MRoundedButtonStyle mr_buttonStyle; -@property (nonatomic, assign) CGFloat cornerRadius; UI_APPEARANCE_SELECTOR -@property (nonatomic, assign) CGFloat borderWidth; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *borderColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *contentColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *foregroundColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *borderAnimateToColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *contentAnimateToColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, strong) UIColor *foregroundAnimateToColor; UI_APPEARANCE_SELECTOR -@property (nonatomic, assign) BOOL restoreSelectedState; UI_APPEARANCE_SELECTOR +@property (nonatomic, assign) CGFloat cornerRadius UI_APPEARANCE_SELECTOR; +@property (nonatomic, assign) CGFloat borderWidth UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *borderColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *contentColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *foregroundColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *borderAnimateToColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *contentAnimateToColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, strong) UIColor *foregroundAnimateToColor UI_APPEARANCE_SELECTOR; +@property (nonatomic, assign) BOOL restoreSelectedState UI_APPEARANCE_SELECTOR; @property (nonatomic, weak) UILabel *textLabel; @property (nonatomic, weak) UILabel *detailTextLabel;