Gorgeous Swift nested-class-in-closure-literal approach to delegates:
gist.github.com/austinzheng/8f
Nice, . (but why the [self]?)
Conversation
Is that pattern matching in the delegate? Looks quite similar to Scala.
1
Replying to
Unfortunately, no, that's just the function syntax. No pattern matching function heads in Swift.

