I created an enum like this
typedef NS_ENUM(NSInteger, PermissionStages) {
thePermissionNotDetermine = 0,
thePermissionDenied = 1,
theReminderPermissionAllowed = 2,
};
And create a variable like this
PermissionStages PermissionStageVar;
I have not assign any value to it, but by default this variable
has PermissionStages enum
first value, in this case its thePermissionNotDetermine
Why is this behavior?