your testApp::setup() you can write: void testApp::setup() { window = [[UIApplication sharedApplication] keyWindow]; } This potentially could get a bit messy so best to use it sparingly (i.e. try to minimize the number of source files which do mix) but it can be done and is essential if you want to communicate between classes of different languages – e.g. if you want to use the normal iPhone UICon