Updated iOS functions for C++11 strict enum