On Jun 29, 2005, at 11:16 AM, Robert Brown wrote:

> I've got an object written in Python (descended from NSObject using  
> PyObjC) that I'd like to have access to in Objective-C.  There's an  
> example where some Python code is packaged as a plugin, then loaded  
> in an Objective-C app, but it only ends up specifying one of the  
> objects instantiated in the nib.  How would you go about using the  
> Python objects directly, like you would a framework, for instance?

NSClassFromString, objc_lookUpClass, -[NSBundle classNamed:], etc.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to