Skip to content

Commit fa66dad

Browse files
committed
Use NS_ENUM
1 parent 179fe19 commit fa66dad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/DRKonamiGestureRecognizer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
/**
3131
Konami code states. Mostly used internally, but you will need to use 'DRKonamiGestureStateRecognized'.
3232
*/
33-
typedef enum DRKonamiGestureState
33+
typedef NS_ENUM(NSInteger, DRKonamiGestureState)
3434
{
3535
DRKonamiGestureStateNone = 0,
3636
DRKonamiGestureStateBegan,
@@ -45,7 +45,7 @@ typedef enum DRKonamiGestureState
4545
DRKonamiGestureStateB, // 10
4646
DRKonamiGestureStateA, // 11
4747
DRKonamiGestureStateRecognized // 12
48-
} DRKonamiGestureState;
48+
};
4949

5050
/**
5151
@class DRKonamiGestureRecognizer

0 commit comments

Comments
 (0)