|Jan 10, 2013, 04:36 PM||#1|
call custom objc class from python
In my Xcode project, I have python and .m files. I need to use a class from my .m in python. I cannot figure out how to call the class. The objc.lookUpClass does not work. I don't know how to add the class because it is not in a separate bundle. Or do I have to convert my objc to python?
Also I need to access ServiceManagement/ServiceManagement.h from python. Is this possible?
|Jan 14, 2013, 08:33 PM||#2|
I don't know the specifics of what your dev environment is, but I presume its some sort of Python/Cocoa bridge. Do the python source files have a matching .h header? If so you could always import the source file there and your framework should handle the rest.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How do I reference a subview in a custom UIView class?||moonman239||iPhone/iPad Programming||1||Nov 7, 2013 01:38 PM|
|Referencing a child class in a parent class, good or bad?||SAIRUS||iPhone/iPad Programming||11||Aug 28, 2013 11:59 AM|
|How to create property thats also a custom made class?||tradingjam||Mac Programming||4||Aug 12, 2012 03:51 PM|
|Difference between Public class and private class.||zijianz||iPhone/iPad Programming||4||Jun 29, 2012 09:29 PM|
All times are GMT -5. The time now is 02:38 PM.