Pyobjc creating multiple instances instead of one?!
Div Shekhar <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
pyobjc seems to be creating multiple instances for what should be a single instance. To recreate: follow the cocoa tutorial (currency converter) and put NSLog statements in the init() for the app delegate and the controller classes. With objective-c, the output is: Controller init AppDelegate init With pyobjc, the output is: Controller init AppDelegate init AppDelegate init Controller init Controller init Controller init Controller init (with different values of 'self') What's going on here?! I'm using Xcode 3.2.3 on OS X 10.6. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev