Hi there!
I have a problem with my OpenGL app. My app uses the accelerometer, so the EAGLView class is a UIAccelerometer delegate, but now I have to put a UITextField to let players enter it's name when entering the score. I don't know much (nearly nothing) about Interface Builder and it's components (I've worked only with OpenGL, so no interface is needed to build) but, following the Apple's tutorial, I've found that for letting a UITextField to work the main interface file must be a delegate of UITextField, but my own is already a delegate of UIAccelerometer, so I don't know how can I deal with this... If I replace the delegate the accelerometer stops working, and if I don't put the UITextField delegate I think I'm not able to modify the UITextField methods, so I have no way to close the keyboard... Any idea about this?
My app has a "GameAppDelegate" (both .m and .h), a "EAGLView" delegate (again both .m and .h) and other classes I've made for the game (objects), and the only .xib file is the "MainWindow.xib", where I'm trying to put the UITextField...
Thanks in advance!