Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit dec910c

Browse files
committed
Use NS_ENUM for PTKCardType.
This makes it usable as a Swift enum.
1 parent be207d9 commit dec910c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PaymentKit/PTKCardType.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
#ifndef PTKCardType_h
1010
#define PTKCardType_h
1111

12-
typedef enum {
12+
typedef NS_ENUM(NSInteger, PTKCardType) {
1313
PTKCardTypeVisa,
1414
PTKCardTypeMasterCard,
1515
PTKCardTypeAmex,
1616
PTKCardTypeDiscover,
1717
PTKCardTypeJCB,
1818
PTKCardTypeDinersClub,
1919
PTKCardTypeUnknown
20-
} PTKCardType;
20+
};
2121

2222
#endif

0 commit comments

Comments
 (0)