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

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift