Michael, many thanks for you example.
I found out, that I do not need to do anything. Because I can just
call "NSDocumentController.sharedDocumentController().documents()" and
I get what I need. It runs perfectly and out of the box. it is
amazing. I need to recheck the pyOjcC bridge docs as
Georg wrote:
Hello,
I want wo be able to make my program scriptable with python.
My program is written in ObjectC in XCode 3 (target only for MacOSX
10.5).
I want to embed it and use
Py_Initialize();
PyRun_SimpleString(".
Can anyone give me some advice how I wrap my cocoa classes to be
I didn’t make myself clear what I want to do:
I have a app written in ObjectC and want to embed python to be able to
run scripts from within my app. The user should be abel to write his
own scripts to modify the model data. So I need to expose the data-
classes to python.
for c++ it is des
> Can anyone give me some advice how I wrap my cocoa classes to be able to
> access them from within the python script?
>
> I found the examples on how to wrap c/c++ functions but nothing about
> ObjectC.
You'll want to use PyObjC:
http://pyobjc.sourceforge.net/
Already included in Leopard, so
Hello,
I want wo be able to make my program scriptable with python.
My program is written in ObjectC in XCode 3 (target only for MacOSX
10.5).
I want to embed it and use
Py_Initialize();
PyRun_SimpleString(".
Can anyone give me some advice how I wrap my cocoa classes to be able
to ac