Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python for iOS (like RubyMotion)

RubyMotion has been released, and I am wondering, if a similar solution is available, or coming for Python?

like image 553
utdiscant Avatar asked May 04 '12 21:05

utdiscant


2 Answers

RubyMotion isn't a new cross-platform framework (like Kivy, Papaya, Rhodes, etc.) but rather an implementation of the Ruby programming language ON TOP OF the native iOS language Objective-C. Because of this, a RubyMotion object IS an Obj-C Object, but you get to use the dynamic Ruby syntax and idioms to deal with it, instead of the static-oriented Objective-C approaches.

You must still learn the Apple SDK, you just talk to it with "toll-free" Ruby code. With Titatnium, for example, you learn that platform's APIs which work on multiple OSes, albeit at a cost of UI mismatches and performance penalties.

MacRuby is the desktop progenitor of RubyMotion, and the Python analogue to it would be PyObjC. The Sourceforge site for PyObjC looks dormant to me (last updated in late 2009) so someone would have to first revive it, and then make similar modifications (replacing garbage-collection style memory management with some form of automatic reference counting and binary compilation) in order to build a similar Python solution for iOS.

I wouldn't expect it to drop out of the sky anytime soon, but surprises are always welcome.

like image 73
SciPhi Avatar answered Nov 13 '22 14:11

SciPhi


Depends what you are after and what for. Papaya do what they call a social engine (for games really). But you can write with Python for that. http://papayamobile.com/

like image 1
mmopy Avatar answered Nov 13 '22 14:11

mmopy