[Pyobjc-dev] Some questions about pyObjc2
Brought to you by:
ronaldoussoren
|
From: Ian B. <ian...@ya...> - 2009-02-19 18:25:23
|
I recently upgraded to Leopard and XCode3 and I'm in the process of porting my main pyObjC/py2app project to a python-cocoa project in XCode. I have a few questions: 1. It seems like a python-cocoa project is reliant on the user's installation of python... is this correct? Is their a way to make a self contained bundle that includes it's own python installation. I'm actually fine with using the current apple installation of python with Leopard, but I'm worried about compatibility issues. What is the difference between a python-cocoa project and a pyObjc project in XCode now? 2. My understanding is that we define an IBOutlet as a class attribute and then the @IBAction decorator provides access to these outlets in the action methods name space, is this correct? Does this necessarily prevent access to outlets in non action methods such as "awakeFromNib", or am I missing something entirely here :) 3. Previously I had been using a combination of XCode and Idle to work on my projects. I mainly debug by printing messages to the console. If my goal is just to work with XCode or another integrated developement environment, what is the best method to develop and debug python cocoa projects and to get access to the python terminal from time to time. Thanks in advance for your help. Ian Bloom |