Apple の 2015 WWDC Protocol-Oriented Programming in Swift セッションのこのコード行は何をしますか?
var draw: (CGContext)->() = { _ in () }
このコード行が使用されているデモ プレイグラウンドとファイルの Swift 2.1 バージョンは、https://github.com/alskipp/Swift-Diagram-Playgrounds/blob/master/Crustacean.playground/Sources/CoreGraphicsDiagramView にあります。迅速
すべての Drawable に対して CGContextStrokePath(context) がどのように呼び出されるかを理解しようとしています。