NOTE: i changed the names, i dont actually have a type letters.
in my root view controller .h, i do
typedef enum {
a,
b,
c,
d,
e }letters;
i have several other classes, most of which need to use this "letters" type. in my root view controller, i use "#import "MyClass.h" to import the class (since i make an instance of it in rootViewController). however, this does not allow MyClass to use the type "letters".
i tried adding in MyClass.h, "#import rootViewController.h", but xcode started giving me errors (only sometimes, it was on and off). what is the best way to do this? should i just import the rootViewController to all of the classes that need this "letters" type? is it ok to have both rootViewController importing MyClass and MyClass importing rootViewController?