Skip to content

Instantly share code, notes, and snippets.

@ebruning
Created November 13, 2013 21:11
Show Gist options
  • Save ebruning/7456485 to your computer and use it in GitHub Desktop.
Save ebruning/7456485 to your computer and use it in GitHub Desktop.
convert int to enum
card.cardType = (CardType)[[cardArray valueForKey:@"type"] integerValue];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment