Convert Constants to NS_ENUM in iOS

Constants
file.h
extern const int COACHMARK_ALL;
extern const int COACHMARK_NEW;
@interface ...
...
@end
file.m
const int COACHMARK_ALL = 8;
const int COACHMARK_NEW = 3;
@implementation ...
...
@end
NS_ENUM
file.h
typedef NS_ENUM(NSInteger, CoachMark) {
  CoachMarkAll = 8,
  CoachMarkNew = 3,
  CoachMarkMagicNumber = 1,
};
@interface ...
...
@end

More info on NS_ENUM is available at NSHipster.