Enumeration example in objective C

Solution: 

You can use the below function for enumeration.

typedef enum value_type {

  type1,

  type2,

  type3,

  type4,

}type;

Comments

Popular posts from this blog

How to blink a button iOS swift?

iOS flutter while run to iPhone it had the error - Cannot find type 'PhoneNumberKit' in scope