Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8698635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:46:15+00:00 2026-06-13T01:46:15+00:00

I have task to make simple app from three Views: in first: UITableView (it

  • 0

I have task to make simple app from three Views:

  • in first: UITableView (it needs to be first View when app starts)
  • in second: UITextField
  • in third: Cocos2d Layer

And maybe one more View for menu to switch between them. How can I mix ViewControllers and Layers in one project? Do i need start project from Xcode or Cocos2d template?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:46:16+00:00Added an answer on June 13, 2026 at 1:46 am

    One possible approach is starting with a Cocos2D project and then using CCUIViewWrapper to display any view as a CCNode. This approach is the best one if you can handle all of your views inside of the same Cocos2D scene.

    If you are planning of building, e.g., a navigation controller based app, then the opposite strategy could be more adequate: start with a “normal” app and then, when you need it (i.e., in your third view controller), add Cocos2d’s GLView to your view controller view:

    [myViewController.view.layer addSublayer:[[CCDirector sharedDirector] glView].layer];
    

    or:

    [myViewController.view addSubview:[[CCDirector sharedDirector] glView]];
    

    You will need to import QuartzCore/QuartzCore.h to be allowed to use CALayers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make an android simple application in which, I have one task
I have a task to make a survey to be displayed in SharePoint 2007
i have task which takes a parameter and has three modes of results Example
I have a task that runs periodically 10 second. I do some picturebox refreshing
I have simple PyGTK app. Since I have to run multiple periodic tasks to
I have a simple rake task which consumes pretty much data via ActiveRecord. (contacts
i Have been given this simple task , I want to connect to facebook
I have an iPhone app with a main view that has a UILabel and
I have an app with customers who have tasks. To create a new task
For school I have to make this simple working To-Do website. I have basically

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.