ReflectableEnum

ReflectableEnum is a macro and a set of functions introducing reflection for enumerations in Objective-C.

Features:

  • get a string value for an enumeration’s member (which is a common problem)
  • get all values used in an enumeration (also a prevalent issue)
  • get a minimum value in an enumeration
  • get a maximum value in an enumeration
  • get an enumeration’s member for a string (if it exists)

Leave a Reply