1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Cocos2d version2.0で推奨しない処理

Last updated at Posted at 2012-07-29

CCMenuItemFont

    // version 2.0
    CCMenuItemFont* menu = [CCMenuItemFont itemWithString:@"menu" target:self selector:@selector(onDo:)];

    // version 0.9
    CCMenuItemFont * menu = [CCMenuItemFont itemFromString:@"menu" target:self selector: @selector(onDo:)];

CCDirector

    // version 2.0
    [[CCDirector sharedDirector] addChildViewController:viewController];


    // version 0.9
    [[[CCDirector sharedDirector] openGLView] addSubview:viewController.view];

CCTouchDispatcher

    // version 2.0
    [[CCDirector sharedDirector] touchDispatcher];

    // version 0.9
    [CCTouchDispatcher sharedDispatcher];


ここも合わせて読む

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?