Command Pattern in Swift 2
Today I wonder how simple and elegant I was able to implement the command pattern with Swift 2. I started as usual with a bunch of classes until I realised that Swift closures provide exactly what is needed to implement the command objects.… Continue Reading
