A blog on Scala, Swift and FP
Thursday, December 24, 2015
Working on the Swift compiler with Jetbrains AppCode
Just a few weeks ago, Apple open-sourced the Swift compiler and standard library. This is exciting news for the Swift community: not only ...
Sunday, July 26, 2015
GCD and Parallel Collections in Swift
One of the benefits of functional programming is that it's straightforward to parallelize operations. Common FP idioms like map, filter ...
Monday, December 15, 2014
Simple Combinators for Manipulating CGPoint/CGSize/CGRect with Swift
One of the most painful things about Objective-C was having to modify CGPoint, CGSize or CGRect values. The clunky struct interface made eve...
Tuesday, August 26, 2014
NSNotificationCenter, Swift and blocks
The conventional way to register observers with NSNotificationCenter is to use the target-action pattern . While this gets the job done, it...
Thursday, June 26, 2014
Unit Testing in Swift
Since Swift was released at the beginning of the month, I've been doing using it for most of my iOS development. It's been a pleasa...
Monday, February 11, 2013
anorm-typed: Statically-Typed SQL Queries for Scala Play Applications
The Play framework's default persistence framework, Anorm , is a very thin wrapper around JDBC (the whole library is about 800 lines o...
View web version