Re: [Pyobjc-dev] Using OS-X frameworks from Python
Brought to you by:
ronaldoussoren
|
From: Arnar B. <ar...@gm...> - 2008-02-11 09:29:48
|
Thank you Ronald, On Feb 11, 2008 9:11 AM, Ronald Oussoren <ron...@ma...> wrote: > The tool for this is pyobjc-metadata in the pyobjc repository. There is little to no documentation at the moment. > > I have to wrap another 3th party framework in the near future, and will use that opportunity to write some documentation and push pyobjc-metadata to pypi (making it easier to install). In theory, a working wrapper is just one script invocation away, although the tool uses a regex-based parser to scan header files and that parser might be easy to confuse. Very good. Have you thought about using a more sophisticated parser, perhaps based on ANTLR or similar? In the meantime, I figured out the bus errors. My selectors were wrong, I was missing the names of the parameters (which I guess in Obj-C are part of the method name). Now I'm dealing with some commnication errors that I'm sure are more related to the Wiimote library than the objc-bridge. thanks, Arnar |