Skip to content

Commit 418a1cb

Browse files
authored
Merge pull request #2 from NextFaze/hotfix/swift-enum-support
Change NS_OPTIONS to NS_ENUM to fix Swift bridging
2 parents f37ab12 + f334575 commit 418a1cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LMSideBarController/LMSideBarController.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
/**
1414
The side bar controller direction enums.
1515
*/
16-
typedef NS_OPTIONS(NSUInteger, LMSideBarControllerDirection) {
16+
typedef NS_ENUM(NSUInteger, LMSideBarControllerDirection) {
1717
LMSideBarControllerDirectionLeft,
1818
LMSideBarControllerDirectionRight,
1919
};
2020

2121
/**
2222
The side bar controller state enums.
2323
*/
24-
typedef NS_OPTIONS(NSUInteger, LMSideBarControllerState) {
24+
typedef NS_ENUM(NSUInteger, LMSideBarControllerState) {
2525
LMSideBarControllerStateWillOpen,
2626
LMSideBarControllerStateDidOpen,
2727
LMSideBarControllerStateWillClose,

0 commit comments

Comments
 (0)