Skip to content

Instantly share code, notes, and snippets.

@shaps80
Created February 27, 2017 23:15
Show Gist options
  • Save shaps80/a18c958f219eb137c1349278d100806e to your computer and use it in GitHub Desktop.
Save shaps80/a18c958f219eb137c1349278d100806e to your computer and use it in GitHub Desktop.
final class Example {
func emptyTask() {
TODO
}
func slowTask() {
FIXME
print("This still executes")
}
}
@available(*, deprecated, message: "Unimplemented code")
var TODO: Never {
fatalError("Unimplemented")
}
@available(*, deprecated, message: "Fix this code")
var FIXME: Void { return }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment