From: Michael R. <ro...@te...> - 2001-04-25 20:58:49
|
Deirdre writes: > I hadn't really thought about doing it this way, but it seemed that it > might need a whole bunch more wrappering to do it that way, or am I wrong? You are right. I think there's a project for this on SourceForge called PyObjC. > In other words, if there's an AppKit class for NSObject, and I need to add > a controller subclass, I can do that directly in Jython? > > It seems like the CPython would require wrapping NSObject, right? Or am I > missing something? No, you're not missing anything. You've just run into the pervasive 'Law of Conservation of Difficulty'. Java/jython integration is much easier, but Interface Builder is basically Objective-C with bridges for the Java versions of AppKit classes. I have no wise words on the best approach, but I'm also taking a fist shot at the Jython/Java way. Michael ************************************************ Assoc. Prof. Michael Rose Center for Tele-Information, Technical University of Denmark (45) 45 25 51 72 mailto:ro...@te... Off the Desktop - http://converge.cti.dtu.dk/news 'and what is the use of a computer' thought Alice 'without pictures or conversation' with apologies to Lewis Carroll ************************************************* |