objcs: write enums