title: Accessing a String Enum by index
body: <p>I have an enum in C and the index needs to be represented by a String.</p>
  
  <p>How can a Swift enum of String type be used by integer index?</p>
  
  <p>I would like to copy the enum to Swift, set the type to string and define all of the raw values to display text, and then use the C enum value to extract the raw value text for the Swift String enum.</p>
  
  <p>Otherwise I will just create an array of strings.. But the enum would be more usable.</p>