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

EAGLView.mm bug

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

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.

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

Applied in changeset commit:“5209decf03914c4b4180d59c647c43f7ee0afa44”.

walzer@cocos2d-x.org 2010-12-11 01:39
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 2011-01-27 18:29
  • Project changed from 7 to cocos2d-x
walzer@cocos2d-x.org 2011-01-27 18:32
  • Category set to 1
walzer@cocos2d-x.org 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

Status:Closed
Start date:2010-12-10
Priority:Normal
Due date:
Assignee:zhangxm
% Done:

100%

Category:-
Target version:-
Estimated time:1.00 point

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.