use NS_ENUM instead of plain enum.