0

So I have a program that I have been developing for a while (for fun) on XCode written in C++ as a command line tool program. However I just recently had the idea to turn it into a Mac OSX application. The idea would be to use cocoa/objective-c to create the UI and keep the C++ backend. However, I don't know how to add this in to a project that has already been created as a command line program. Would I have to create a brand new project as a cocoa application and copy/paste my existing code over? Or is there a simpler way to achieve what it is I'm looking to do?

1
  • not an exact duplicate, but this question is similar and may be useful. Commented Nov 13, 2013 at 4:57

1 Answer 1

1

A project can contain multiple targets. You can probably do what you want by creating a target that matches the app type you want and then adding existing files as necessary to that target.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.