Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum Foo {
- case north, south, east, west
- case foo(Int), bar(Int)
- case foo(Int)
- case foo = 1
- func foo() {
- switch self {
- case .foo:
- case .foo(let x):
- case let .foo(x):
- case foo:
- case let x:
- default:
- }
- }
- func foo() {
- foo()
- foo
- foo {
- }
- if foo.bar {
- }
- a.b.c()
- a.b.c.d()
- a . foo
- a
- .b
- .c
- .d()
- a.?b.?c()
- }
- }
Add Comment
Please, Sign In to add comment