Skip to content

Instantly share code, notes, and snippets.

@chriseidhof
Created June 15, 2014 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriseidhof/cb1b87f8ca9a35b674c3 to your computer and use it in GitHub Desktop.
Save chriseidhof/cb1b87f8ca9a35b674c3 to your computer and use it in GitHub Desktop.
enum PageType {
case Markdown
case HTML
case XML
}
extension PageType : DebugPrintable {
var debugDescription : String {
switch self {
case .Markdown: return "Markdown"
case .HTML: return "HTML"
case .XML: return "XML"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment