[Pyobjc-dev] How to get Python class into Objc namespace
Brought to you by:
ronaldoussoren
|
From: Steve S. <sst...@ma...> - 2008-05-09 00:38:35
|
Hi, all, I'm trying to instantiate a class 'APythonClass', defined in APythonClass.py, derived from NSObject, in Objective-C. I'm in XCode 3.0 using the Cocoa-Python template. I made a header file (.h) that describes the Python class properly and I've included it in my Objective-C source file. I've included the Python class in main.py. When I try to build I get a link error: ".objc_class_name_APythonClass", referenced from:blah, blah, blah How the heck to I get my APythonClass symbol into the right place to make this work. Google searches lead me nowhere good. If someone will just point me to the right resource, I'll blog it and make it findable by the next poor sot. Thanks, S |