Re: [Pyobjc-dev] Looking for example demonstrating calling python from Objective-C
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2018-12-05 10:53:27
|
I suggest passing an object inherited from NSObject into objective C code. That’s all that there is to this. Every subclass you create that is e.g. a NSView or AppDelegate or whatever is an actual example of objective C invoking Python. Diez Von meinem iPad gesendet > Am 19.11.2018 um 17:29 schrieb Dmitry Wolf <dii...@gm...>: > > I'm trying to figure out how to call python from cocoa/objective-c code, but haven't found any example code that actually works. There seem to be all sorts of examples of pure python calling into frameworks and objective-c code, but nothing showing how to set up calls from a standard objective-c app into python. > > Actually I just copy pasted this question from 2006 thread https://sourceforge.net/p/pyobjc/mailman/message/11676132/ > Because I have exactly this question :D > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |