Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Building a GUI for open source tools question...

I am making great progress with the iOS course and my goal is to publish a simple checkers application as my first app. My plan was to use an opensource game engine for the logic and i would created the gui. My question is how do i "tie" an objective-c app to open source code that may be written in another language?

To be specific i want to use raven-checkers for the logic and i will create the gui. Do i have to port/rewrite the python code to objective-c?

https://code.google.com/p/raven-checkers/

What resources are available to help with learning how to accomplish this?

2 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

The best approach would be to port the python code to Objective-C. There are several reasons for doing this and the main one is that by porting it, you will be forced to understand it which will help you maintain your app. There are some obscure projects out there like this one: http://www.iospython.org/ that might help in embedding the Python code into your iOS app.

After i finish the iOS course i will look into python.

Thanks for your help.