josshad / EHPlainAlert

Plain style IOS alert
MIT License
46 stars 18 forks source link

Prefix alert type and alert position with EH* #11

Closed tciuro closed 6 years ago

tciuro commented 7 years ago

To avoid conflicts, I propose the following:

typedef enum : NSUInteger {
    EHPlainAlertError,
    EHPlainAlertSuccess,
    EHPlainAlertInfo,
    EHPlainAlertPanic,
    EHPlainAlertUnknown
} EHPlainAlertType;

typedef enum : NSUInteger {
    EHPlainAlertPositionBottom = 0,
    EHPlainAlertPositionTop
} EHPlainAlertPosition;