Re: [Pyobjc-dev] Spotty luck with demos
Brought to you by:
ronaldoussoren
From: <dan...@no...> - 2010-03-03 18:36:33
|
I found the absolute best resource to be Cocoa Programming for Mac OS X, by Aaron Hillegass. I simply ignored all of the memory management stuff and used PyObjC rather than ObjC. The only gotcha I remember is adding @endSheetMethod onto things such as openPanelDidEnd_returnCode_contextInfo_(). dan On Mar 3, 2010, at 5:55a, ext Jim Carroll wrote: > I'm trying to figure out if I should be using PyObjC instead of > wxPython for Mac apps... but I'm having trouble getting started. In > the demo files, I'm able to run Grady, and ClassBrowser but not > OpenGLDemo, which fails with the error, "(ArgumentError: argument 3 > <type 'exceptions.TypeError'>: wrong type) and when I try DotView, > the app immediately quits without ever showing. > > I'm on SnowLeopard on a 64 bit macbook (but running 32 bit everything) > using a Framework install of Python 2.6. I installed PyObjC=2.2 using > easy_install, and py2app 0.3.6. I do have pyOpenGL installed, and can > run wxPython OpenGL apps. > > I'm completely impressed with Miro, which uses PyObjC to embed VLC, > and has a decent startup time, and generally works like a charm... but > can't seem to find the path to writing similar apps myself. What are > the best resources for getting started? > > Thanks, > -Jim > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Pyobjc-dev mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyobjc-dev |