Posts


About the Builder Pattern in Objective‑C

When dealing with complex object creation in an iOS application you may feel the need for a cleaner and more fluent approach. During my latest development my colleague @alexiskinsella set up a pattern based on providers in order to mimic the factory behaviour we often find in languages such as Java. Recently, in the occasion of a side project, I am studying a slightly different approach, based on this article by Matthias Wessendorf.

Continue reading...



How to resolve “Unable to start status bar server. Failed to check into com.apple.UIKit.statusbarserver: unknown error code” exception

Ever wondered how to resolve the following error while executing GHUnitTest by Command Line? *** Assertion failure in -[UIStatusBarServerThread main], /SourceCache/UIKit_Sim/UIKit-2372/UIStatusBarServer.m:96<br /> *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Unable to start status bar server. Failed to check into com.apple.UIKit.statusbarserver: unknown error code’

Continue reading...