Category Archives: Swift

Curried Functions in Swift

Apple’s programming language Swift includes several features commonly used in functional programming but unheard of in more mainstream languages. This blog post explores the lesser-known feature known as curried functions. I first encountered currying when studying the functional language Haskell, … Continue reading

Posted in Swift | Tagged , | 19 Comments

Instantiating Classes by Name in Swift

This article demonstrates how to create a Swift class instance based solely on the class name and possibly an argument for its initializer method. It relies on Objective-C interop to perform the actual object creation, which is hidden behind a generic … Continue reading

Posted in Swift | Tagged | 16 Comments

Ruminations on Swift

It’s been awhile since I have found anything worth blogging about in the iOS development world. The first day of WWDC 2014 changed all that. Had Apple only announced their new programming language, Swift, that would have been enough to … Continue reading

Posted in Swift | 13 Comments