Jesse Grosjean just released the source code to the fine TaskPaper app with a very generous license.
Current status: Spelunking for stuff I didn’t know about Objective-C.
My books...