mikefrederick / MFSideMenu

Facebook-like side menu for iOS
Other
1.17k stars 291 forks source link

Convert enums to NS_ENUM for Swift support #165

Open matt-alltrails opened 10 years ago

matt-alltrails commented 10 years ago

I am using MFSideMenu in a Swift project and it works really well with one exception. You can only access an Objective-C enum from Swift if it is defined with NS_ENUM, so I am not able to use MFSideMenuPanMode, MFSideMenuState, and MFSideMenuStateEvent. Please change these enums to use NS_ENUM.

mikefrederick commented 10 years ago

@matheda mind doing a pull request for this?

ghost commented 9 years ago

@matheda - Did you find a solution for this ? Can't seem to find a good workaround.