使う機会が少なくていつも忘れてしまうし、どの書き方がいいのかよくわからなかったのでメモしとく!

MMDrawerControllerのサンプル見ててみつけました。こんな感じで書けるみたい↓↓

1typedef NS_ENUM(NSInteger, MMDrawerAnimationType){
2    MMDrawerAnimationTypeNone,
3    MMDrawerAnimationTypeSlide,
4    MMDrawerAnimationTypeSlideAndScale,
5    MMDrawerAnimationTypeSwingingDoor,
6    MMDrawerAnimationTypeParallax,
7};