Mac OS X framework initialisers are called before a connection to the window server has been made, and so must do that explicitly if they do things like loading NIBs.