in WiiRemoteDiscovery.h;

@interface NSObject( WiiRemoteDiscoveryDelegate )

- (void) WiiRemoteDiscovered:(WiiRemote*)wiimote;
- (void) WiiRemoteDiscoveryError:(int)code;

@end;
in python;

    wd = WiiRemoteDiscovery.new()
    class wii_remote_discovery_delegate(WiiRemoteDiscoveryDelegate):
        def wiiRemoteDiscovered_(self, wiiRemote):
            self.wiiRemote=wiiRemote
            print "discovered"
        def WiiRemoteDiscoveryError_(self, returnCode):
            print "not discovered"
    x=wii_remote_discovery_delegate()
    wd.setDelegate_(x)
    wd.start()

Traceback (most recent call last):
  File "/Users/jstoner/Documents/projects/boogiepants/wii.py", line 29, in <module>
    class wii_remote_discovery_delegate(WiiRemoteDiscoveryDelegate):
NameError: name 'WiiRemoteDiscoveryDelegate' is not defined
>>>

Do I need to do a stub implementation of WiiRemoteDiscoveryDelegate or does PyObjC have a way to handle this?
--
blog:
http://www.generosity.org/stoner/
'In knowledge is power, in  wisdom, humility.'