Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fishka

macrumors newbie
Original poster
Oct 28, 2011
1
0
Hi all. From what I gather, Python is a better language to use for programming cross-platform. I am hiring a programmer, and want to know if I could I create GUI in XCode4 (which I have been), and then use Python in the back end instead of Objective-C? (I want to do that so that I could reuse the code for the WIN version.) I know you could do it in XCode 3, but can't figure out in v4.
 
Are you talking about PyObjC, which allows you to write Cocoa applications in Python? If so, PyObjC is currently incompatible with Xcode 4's Interface Builder, as explained in the following Stack Overflow Question:

PyObjC on Xcode 4

If you want to write Cocoa applications without using Objective-C, take a look at MacRuby. MacRuby lets you write Cocoa applications in Ruby and has better Xcode 4 support.
 
any news on this? I couldn't find any newer information.

I like python, would have been great to use pyObjC to write GUIs. I tried to run kivy, but it didn't work out well.

Now of course I'm somewhat interested in MacRuby... thanks for the link :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.