[Pythonmac-SIG] PyObj-c question ...

Ronald Oussoren oussoren at cistron.nl
Wed Oct 8 06:46:52 EDT 2003


On 8 okt 2003, at 12:37, Jack Jansen wrote:

>
> On Wednesday, October 8, 2003, at 11:22 AM, Ronald Oussoren wrote:
>> I don't fully understand what your trying to do, but the most direct 
>> answer is 'no you cannot implement some methods of a class in python 
>> and others in Objective-C'.
>
> But you can create a baseclass in one language and subclass that in 
> the other, and tie them together through the NIB file, to get a very 
> similar effect, can't you?

Of course, that's no problem.

However, IMHO you should have a very good reason to write methods in 
ObjC (like "I have loads of existing code that I want to reuse" or 
"Python isn't fast enough for this method").

Ronald




More information about the Pythonmac-SIG mailing list