2

I want to write a computer algebra system for iOS (just for fun), and I think it would be better if the kernel code was written in Python. So I want a way to:

Call Python code from Objective-C on iOS, Access the properties and methods of Python objects from Objective-C:

I am going to do all the GUI (View) code in Objective-C, I won't need to call Cocoa from Python.

2
  • pyobjc.sourceforge.net Commented Apr 29, 2012 at 11:28
  • PyObjC isn't well supported on iOS unfortunately. Commented Apr 29, 2012 at 16:18

1 Answer 1

3

Two options:

1) Use kivy (http://kivy.org/#home), its compatible with iOS but you'll have to write the UI in python (I haven't tried to do otherwise so there might be a way).

2) Use something like PyObjC (http://pyobjc.sourceforge.net/). You can write your logic in normal python modules and then use from objective-C UI code.

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.