Hi All
I've been playing around with cocos2d for a day now and all was great with my examples when trying 'attachInView: window' where the code was attaching cocos2d to the main window. However in my app I need to use cocos2d in a UIViewcontroller (one of the UITabViewController tabs) and so I attached Cocos2d to the main blank UIView that's in my nib file (which has nothing else).
However the app becomes extremely slow, unresponsive almost. All other views (from the tab) no longer accept touch events and only the cocos2d view seems to receive touch. Moreover, when the tabbar button for the cocos2d view is tapped, it takes more than 2 seconds on a 3GS to load a simple view with three images (one bg image and two other which are appox 280x280 pixels each). Rotation Animations are also slow.
Any idea what I'm doing wrong?