adding typedef to NS_ENUM and removing enum