Re: Pyobjc creating multiple instances instead of one?!
Div Shekhar <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
Doh! Was stuck on this for 2 days, and figured it out 5 mins after I sent the email.
Forgot to do the correct init stuff:
self = super(currconvpyAppDelegate, self).init()
...
return self
which is the python equivalent of the objective-c:
if (self = [super init]) {
...
}
return self;
Sorry - at least hope this helps other people who get stuck. :)
------------------------------------------------------------------------------
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