My app is ObjC cocoa based 

It also loads and executes PyObjC classes.

I require my loaded PyObjC code to access an ObjC class (myControllerClass) 
defined within an ObjC framework linked to the main application.

The desired Python looks something like:

#py
import AppKit

taskController = myControllerClass.sharedController()

#py

Do I need to define a py wrapper from my framework and import it to accomplish 
this?
And if so, how is the wrapper constructed.

Or am I missing something simple here.

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com







_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to