Posts in September 2013

Testing Singletons in iOS with Kiwi

Testing Singletons in iOS with Kiwi

A recent problem I ran into whilst getting up to speed with BDD and Kiwi on iOS was testing singletons. By nature singletons are static objects, they shouldn’t as they are “instantiated” instead they return an already live copy of themselves for mutation. This was... [+]