Swift Collection's prefix for quick tests March 16, 2019
This is a small trick that I use when I'm writing a script in Swift that performs some operation in a large number of objects, usually files. More often than...
A world of coding 💻, by Alejandro Martinez
This is a small trick that I use when I'm writing a script in Swift that performs some operation in a large number of objects, usually files. More often than...
In the past few days the Swift community has been awoken again with the promise of a better way of using Swift for scripting, all thanks to swift-sh.I made a...
This is an update to an previous post about using blocks to simplify in Objective-C.Swift makes working with functions much enjoyable simplifying its syntax and, specially, closing the gap between...
The other day, while I was writing a Swift script, I added an option to make it run continuosly so it could be on a server doing its job without...
The use of blocks has spread over all Objective-C code. Normally we see them as callbacks (completion blocks) for animations or for async tasks (GCD, another cool kid) but they...