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?

Convert NsNumber, NSDate to String in iOS Swift

Parse the value from string value iOS swift