Task

Create an enumeration of constants with and without explicit values.




typedef NS_ENUM(NSInteger, fruits) { apple, banana, cherry };
 
typedef NS_ENUM(NSInteger, fruits) { apple = 0, banana = 1, cherry = 2 };