An extremely minimalist text editor based on Xcode's private DVTKit framework. That's right, a bare-bones editor that only works if a much more powerful one is installed.
download
Click here for the source code. Run Build.tool to compile the app. XcodeView.h may be helpful if you're working on a similar project.