|
43 | 43 |
|
44 | 44 | @interface LGPlusButtonsView : UIView |
45 | 45 |
|
46 | | -typedef enum |
| 46 | +typedef NS_ENUM(NSUInteger, LGPlusButtonsViewPosition) |
47 | 47 | { |
48 | 48 | LGPlusButtonsViewPositionBottomRight = 0, |
49 | 49 | LGPlusButtonsViewPositionBottomLeft = 1, |
50 | 50 | LGPlusButtonsViewPositionTopRight = 2, |
51 | 51 | LGPlusButtonsViewPositionTopLeft = 3 |
52 | | -} |
53 | | -LGPlusButtonsViewPosition; |
| 52 | +}; |
54 | 53 |
|
55 | | -typedef enum |
| 54 | +typedef NS_ENUM(NSUInteger, LGPlusButtonsAppearingAnimationType) |
56 | 55 | { |
57 | 56 | LGPlusButtonsAppearingAnimationTypeNone = 0, |
58 | 57 | LGPlusButtonsAppearingAnimationTypeCrossDissolve = 1, |
59 | 58 | LGPlusButtonsAppearingAnimationTypeCrossDissolveAndSlideHorizontal = 2, |
60 | 59 | LGPlusButtonsAppearingAnimationTypeCrossDissolveAndSlideVertical = 3, |
61 | 60 | LGPlusButtonsAppearingAnimationTypeCrossDissolveAndPop = 4 |
62 | | -} |
63 | | -LGPlusButtonsAppearingAnimationType; |
| 61 | +}; |
64 | 62 |
|
65 | | -typedef enum |
| 63 | +typedef NS_ENUM(NSUInteger, LGPlusButtonAnimationType) |
66 | 64 | { |
67 | 65 | LGPlusButtonAnimationTypeNone = 0, |
68 | 66 | LGPlusButtonAnimationTypeRotate = 1, |
69 | 67 | LGPlusButtonAnimationTypeCrossDissolve = 2 |
70 | | -} |
71 | | -LGPlusButtonAnimationType; |
| 68 | +}; |
72 | 69 |
|
73 | 70 | @property (assign, nonatomic, readonly, getter=isShowing) BOOL showing; |
74 | 71 | @property (assign, nonatomic, getter=isAlwaysVisible) BOOL alwaysVisible; |
|
0 commit comments