Working in Swift, I'd like to convert an enum (of type Int) into NSNumber and back. I can convert from enum to Number but I can't convert back. What's the recommended approach?Working in Swift, I'd like to convert an enum (
Working in Swift, I'd like to convert an enum (of type Int) into NSNumber and back. I can convert from enum to Number but I can't convert back. What's the recommended approach?Working in Swift, I'd like to convert an enum (