Skip to content

Commit

Permalink
Merge pull request #224 from damarte/master
Browse files Browse the repository at this point in the history
Changed constants names to avoid name collision
  • Loading branch information
dogo authored Oct 17, 2016
2 parents 6302c01 + 4ac20e3 commit 584c38e
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 90 deletions.
58 changes: 29 additions & 29 deletions SCLAlertView/SCLAlertView.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ typedef void (^SCLForceHideBlock)(void);
*/
typedef NS_ENUM(NSInteger, SCLAlertViewStyle)
{
Success,
Error,
Notice,
Warning,
Info,
Edit,
Waiting,
Question,
Custom
SCLAlertViewStyleSuccess,
SCLAlertViewStyleError,
SCLAlertViewStyleNotice,
SCLAlertViewStyleWarning,
SCLAlertViewStyleInfo,
SCLAlertViewStyleEdit,
SCLAlertViewStyleWaiting,
SCLAlertViewStyleQuestion,
SCLAlertViewStyleCustom
};

/** Alert hide animation styles
Expand All @@ -44,14 +44,14 @@ typedef NS_ENUM(NSInteger, SCLAlertViewStyle)
*/
typedef NS_ENUM(NSInteger, SCLAlertViewHideAnimation)
{
FadeOut,
SlideOutToBottom,
SlideOutToTop,
SlideOutToLeft,
SlideOutToRight,
SlideOutToCenter,
SlideOutFromCenter,
SimplyDisappear
SCLAlertViewHideAnimationFadeOut,
SCLAlertViewHideAnimationSlideOutToBottom,
SCLAlertViewHideAnimationSlideOutToTop,
SCLAlertViewHideAnimationSlideOutToLeft,
SCLAlertViewHideAnimationSlideOutToRight,
SCLAlertViewHideAnimationSlideOutToCenter,
SCLAlertViewHideAnimationSlideOutFromCenter,
SCLAlertViewHideAnimationSimplyDisappear
};

/** Alert show animation styles
Expand All @@ -60,14 +60,14 @@ typedef NS_ENUM(NSInteger, SCLAlertViewHideAnimation)
*/
typedef NS_ENUM(NSInteger, SCLAlertViewShowAnimation)
{
FadeIn,
SlideInFromBottom,
SlideInFromTop,
SlideInFromLeft,
SlideInFromRight,
SlideInFromCenter,
SlideInToCenter,
SimplyAppear
SCLAlertViewShowAnimationFadeIn,
SCLAlertViewShowAnimationSlideInFromBottom,
SCLAlertViewShowAnimationSlideInFromTop,
SCLAlertViewShowAnimationSlideInFromLeft,
SCLAlertViewShowAnimationSlideInFromRight,
SCLAlertViewShowAnimationSlideInFromCenter,
SCLAlertViewShowAnimationSlideInToCenter,
SCLAlertViewShowAnimationSimplyAppear
};

/** Alert background styles
Expand All @@ -76,9 +76,9 @@ typedef NS_ENUM(NSInteger, SCLAlertViewShowAnimation)
*/
typedef NS_ENUM(NSInteger, SCLAlertViewBackground)
{
Shadow,
Blur,
Transparent
SCLAlertViewBackgroundShadow,
SCLAlertViewBackgroundBlur,
SCLAlertViewBackgroundTransparent
};

/** Content view corner radius
Expand Down Expand Up @@ -559,4 +559,4 @@ typedef NS_ENUM(NSInteger, SCLAlertViewBackground)
@property(copy, nonatomic) SCLAlertViewBuilder *(^addButtonWithBuilder)(SCLALertViewButtonBuilder *builder);
@property(copy, nonatomic) SCLAlertViewBuilder *(^addTextFieldWithBuilder)(SCLALertViewTextFieldBuilder *builder);

@end
@end
Loading

0 comments on commit 584c38e

Please sign in to comment.