Hi
I sorted out the problem
there are 2 alternative ways to do this
1. add new UIViewController subclasses to your EAGLView project
2. start a new view based application and then add all your EAGLview classes into it.
import ur EAGLView.h class into viewcontroller .h class and create an object of it. e.g.,
#import "EAGLView.h"
........
EAGLView *myGL;
then ue the following linnes of code to switch from your view controller to gl view
myGL = [[EAGLView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
myGL.animationInterval = 1.0 / 60.0;
[myGL startAnimation];
self.view = myGL;
[myGL release];
your IBOutlet will pass on the controll to the glview.