Projects > cpp > Issues > Bug #252

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github bug

Bug #252 [Closed]
zhangxm 2010-12-10 18:01 . Updated about 11 years ago

Inside of 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.

zhangxm 2010-12-10 23:09
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:“5209decf03914c4b4180d59c647c43f7ee0afa44”. 2010-12-11 01:39
  • Status changed from Resolved to Closed 2011-01-27 18:29
  • Project changed from 7 to cocos2d-x 2011-01-27 18:32
  • Category set to 1 2012-05-25 08:18
  • Project changed from cocos2d-x to cpp
  • Category deleted (1)
  • Target version deleted (cocos2d-0.99.4-x-0.7.1)

Atom PDF

Start date:2010-12-10
Due date:
% Done:


Target version:-
Estimated time:1.00 point