EAGLView.mm bug

Inside of EAGLView.mm there is a method named initWithCoder. That method does not set the static variable ‘view’ to self before exiting. This makes it impossible to declare an EAGLView inside of an XIB and point cocos2d to render into that view. This is pretty important if you want to mix cocos2d with UIKit, since loading of the view calls initWithCoder and not initWithFrame. I’ve made the change locally and it allows me to use UIKit on top of cocos2d.

Thanks!

Yes, you are right. I will fix the bug soon.
Thanks!

bug #252