Re: [Pyobjc-dev] problem with NSTableView
Brought to you by:
ronaldoussoren
From: Martina O. <Ma...@Oe...> - 2003-03-13 20:14:46
|
Hi Chris, > here is the python code of the knownEntities Object > that acts as the datasource. > > class entityTable(NSObject): > change this to: from AppKit import NSTableDataSource class entityTable(NSTableDataSource): PyObjc needs to know the method signatures (parameter and return types). If it doesn't know them it assumes they are of type ID, which causes the crash. The NSTableDataSource class declares the proper method signatures signatures for you. ciao Martina |