Is there a method to return the identifier string for a given element’s numerical value? For instance, logging a UITouch’s phase returns an int, but having the actual string value would be easier to read.
I suppose I could write my own switch statement to do this, but I’m hoping there’s a built-in means.
No. But if you’re looking for a relatively-neat way of maintaining your own solution to this (e.g. a switch statement), you could investigate X-macros (see e.g. http://www.drdobbs.com/184401387).