I have a DataClass.h
@interface DataClass : NSObject
{
}
enum knownTypes
{
type1 = 0,
type2,
type3,
UnknownType = -1
};
Is there a way I can specify knownTypes in .m file and access from other class.
This is Util class i am creating, hence don't want to create an object to access the values in this class.
for ex: in TestClass.m , by importing DataClass.h , now i can use the enum values as type1,type2.. but if i declare the enum data in DataClass.m , i could not use those enum values.