Skip to content

Instantly share code, notes, and snippets.

@ukitaka
Created December 13, 2016 09:30
Show Gist options
  • Save ukitaka/2f22e7194ab76821383b1f5da478825d to your computer and use it in GitHub Desktop.
Save ukitaka/2f22e7194ab76821383b1f5da478825d to your computer and use it in GitHub Desktop.
TODO
public final class _TO {
lazy var DO: Never = { fatalError() }()
}
public let TO = _TO()
class Hoge {
func hoge() { TO.DO }
func fuga() -> Int { TO.DO }
}
@ukitaka
Copy link
Author

ukitaka commented Dec 13, 2016

TO.DO ってかける。それだけです。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment