I have a named enumeration
enum{
    MyErrorCodeOne            = 1
    MyErrorCodeTwo            = 2
}MyErrorCodes;
Is there a way when I encounter 2 for instance that I NSLog "MyErroCodeOne" to the user as opposed to 2. A switch statement is not the case because I have about 50 error codes at the moment. Any help would be appreciated.
 
    