Skip to content

Instantly share code, notes, and snippets.

@ksmandersen
Last active August 29, 2015 14:15
Show Gist options
  • Save ksmandersen/4af33879ed16c04d7d98 to your computer and use it in GitHub Desktop.
Save ksmandersen/4af33879ed16c04d7d98 to your computer and use it in GitHub Desktop.
Swift Segfault
case SomeEnum {
case A
case B
}
let someValue = SomeEnum.A
if someValue == .A {
// Do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment