I have the following question about NS_ENUM I'm creating one with three options:
typedef NS_ENUM(NSInteger, VersionStatus) {
OPTION1,
OPTION2,
OPTION3
};
How do I use else within a switch?
How will the comparison parameter come from a Service? Do they follow the creation order?
Being
OPTION1 = 1 (ou zero) , OPTION2 = 2, OPTION3