I would like to convert a UIRemoteNotificationType into a string for use in analytics tracking. Something like "badge:sound:alert". What would be the preferred method for doing this using the latest CLANG Objective-C language features available in Xcode 5?
I've seen a number of other questions on doing single value NSEnum values using various techniques, notably here, and here. However, none of these discuss a solution for NS_OPTION based enums which contain multiple bitmask values.
My initial thought is that I'll need an NSDictionary to map the values and NSArray to collect them after iterating, is there a more elegant way to approach this?