Swift
Swift: workaround for closure as protocolSwift: workaround for closure as protocol
July 13, 2014July 13, 2014 0 Comments
In Java, it was common to implement callbacks as anonymous classes. It was nice to be able to define the callback right where you define {...}