[Pyobjc-dev] NSDocument based app
Brought to you by:
ronaldoussoren
From: Peter M. <zig...@po...> - 2002-11-06 05:21:24
|
Hi, First, I'd like to say "nice work!". Second, I've built a python NSDocument based RTF text editor. It's the classic bit of example code that shows how easy Cocoa is. It works, but there is a bug. When the application is first launched it doesn't create the standard untitled window. File -> New works, as does pretty much everything else. I created an Objective-C version of the program that is identical to the python one (I copied the project folder, removed the python source and added the Objective-C Document subclasses and a normal main.m). It has the proper behaviour on start, which means that it isn't my code (I think). My guess is that it has something to do with the execve() call. It's only a guess though. Maybe I should test it with an embeddable python install (I'm using Apple's). If I just grab the standard python.org distribution and install it, will it work? Or do I need to get fink? BTW, do you want it as sample code? Other than that small bug it's a working editor. Peter |