Hi all,
What's the current "best practice" for learning PyObjC? I've been
developing in Python/Tkinter for quite some time, and I've learned
enough Objective-C/Cocoa to create a small extension that calls into
some Cocoa methods (it's actually a Tcl extension that I can call, via
Tkinter, to change my app's dock icon). I'm planning to work through
some samples in the latest Hillegass book to get familiar with the full
Cocoa toolchain, i.e. Xcode, IB, etc.)
I'm finding myself a bit lost, however, in how to download, build, and
play with PyObjC itself. Based on what I've gathered from the PyObjC
site, I can do the following:
1. Download version 2.0 from SVN or use easy_install 2.2b.
2. Build as outlined in the instructions.
3. Follow the "Creating your first PyObjc application" tutorial, which
requires PyObjC 1.3.1.
I'm especially curious about the tutorial--is it up to date? I've read a
lot about changes between PyObjC 1.x and 2.x, but it's not clear to me
what those changes are. I do know that the differences between older
Cocoa tutorials (pre-Leopard) and new tutorials are big enough to make
it hard to learn from the old ones, owing especially to big changes in
Interface Builder.
My strong preference is to keep my Python toolchain reasonably close to
what I'm doing already, i.e. doing my development outside of Xcode and
using py2app for bundling, rather than using Xcode.
Does this sound like a good approach, or am I missing something
glaringly obvious? What do others who are shipping PyObjC apps do?
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig