Building GUI in XCode 4 with Python ...

Discussion in 'Mac Programming' started by fishka, Oct 28, 2011.

  1. fishka macrumors newbie

    Joined:
    Oct 28, 2011
    #1
    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.
     
  2. szymczyk macrumors regular

    Joined:
    Mar 5, 2006
    #2
    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.
     
  3. thundersteele macrumors 68030

    Joined:
    Oct 19, 2011
    Location:
    Switzerland
    #3
    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 :)
     

Share This Page