I have an enum named RandomEnum in file foo.h:
// foo.h typedef enum RandomEnum { ran_1 = 0, ran_2 } RandomEnum;
In another file, bar.h, I\
As @Chuck said, it will work if you do this if you don't want to declare a typedef:
typedef
-(RandomEnum)echo:(enum RandomEnum)ran;