I don't want to force my users to update to iOS 6 and hence I wanted to find a way to use NSCoder with custom types and enumerations.
I have found this article that explains the recently introduced NS_ENUM macro, that basically makes it easier to the runtime library to retrieve the the metadata of the custom enumeration / type.
Is there an alternative way to encode custom enumerations?
I have found this answer, is encoding as INT all I need to do? Enumerations are int but I am not sure if they can change to int32 or int64.