Refactored to NS_ENUM and NS_OPTION

This commit is contained in:
michael starke
2013-06-13 23:31:19 +02:00
parent 90f1b9641b
commit cc58ec3770
17 changed files with 91 additions and 107 deletions

View File

@@ -8,7 +8,7 @@
#import <Foundation/Foundation.h>
typedef enum {
typedef NS_ENUM(NSUInteger, MPActionType) {
MPActionAddEntry, // Add an new entry
MPActionAddGroup, // Add a new group
MPActionEdit, // Edit entry or group
@@ -19,8 +19,7 @@ typedef enum {
MPActionOpenURL, // open url in default browser
MPActionToggleInspector,
MPActionLock, // show the lock screen
}
MPActionType;
};
@interface MPActionHelper : NSObject