Chaining an array of promises

Typically, when we have multiple unrelated asynchronous tasks, we want to execute them concurrently and possibly combine the results when all tasks are completed. Occasionally, though, »

PromiseKit and `ensure`

Update: PromiseKit added ensureThen (discussion [https://github.com/mxcl/PromiseKit/pull/841]). Intro The essence of functional programming is to express computation in small, self contained »

Logging errors in Swift

Error reporting and handling is tricky. In C, it's done by returning and examining error codes, which is very error prone since it' »

Developer / Designer Workflow

(You can find the Xcode project and the Sketch file for this post here [https://github.com/rocketinsights/blog-samples/tree/master/Components].) There are two approaches »