I have two separate projects, one in Cocos2dx v3.6 and one in Swift. I want to start the game from the Swift project. How can i do this?
I copied the entire cocos2dx project to my Swift project, and then created one View Controller in swift and tried to open CCDirector as the root view of the project. but could not find the director, I'm trying to import cocos2dx with this #import "cocos2d.h" , but it gives me the error "undefined file".

Apple Swift version 1.2
source share