I am new to programming for the iPhone. In my project, I have an enum
in a header file:
enum SelectionType
{
BookSelection,
StartChapter,
EndChapter
}SType;
In my project, I want to know which enum
I have right now. For that, I tried the following, but it doesn't work:
NSLog(@"stype is %c",SType);
Which format specifier should I use to get the enum in NSLog
?