Even if you can put pure Objective-C code in your GLB program the compiler won't know about all of Apple's stuff (NSString, UIDevice, currentdevice, and whatever else they inherit from) unless you copy all of the header files that define everything over from XCode... hence it's no doubt easier just to compile the functions that need Apple's classes, functions, and whatever else in XCode with simple IMPORT commands in GLB.