While converting Objective-C enum
s to NS_ENUM
s, I came across like this, which seems strange to me:
enum nameA{
valueA=1,
valueB,
// ...
valueN
}nameB;
In the code, nameA
and nameB
were two different names. Does this enum
have both nameA
and nameB
as its name? How would I convert it to an NS_ENUM
?