[Pyobjc-dev] Accessing python classes in obj-c
Brought to you by:
ronaldoussoren
From: Jiva D. <ji...@de...> - 2003-12-08 20:17:42
|
So I understand that I can create Python files and the templates supplied with PyObjC automatically will load those Python files and do what ever I want them to. I also understand if I instantiate a python class in python, and access it in obj-c, I will get a proxy object to the python object. However, what if I have an objective-c application, and I want to write a portion of it in python. So, in other words, I want to be able to create a class in Python, and instantiate an object in objective-c that is of that class. How would I do that? Would I have to use something like SWIG? -- Jiva DeVoe jiva at devoesquared.com http://www.devoesquared.com |