[Pyobjc-dev] re: NSObject-derived class initialization
Brought to you by:
ronaldoussoren
From: Sean G. <pr...@cf...> - 2003-07-15 22:26:21
|
Hello all, If I missed this on some FAQ, sorry. I am wondering if there is some preferred way of handling initialization of NSObject-derived Python classes in PyObjC? I am fine with calling "object.alloc( ).init( )," is there a way to have a "def init( self )" sort of function, that could call a super method at the end? It would be nice if __init__ was still called, but I can see how arguments could be made to the contrary. Thanks, Sean |