Yeah, you can get pretty close to TextEdit by just dropping an NSTextView into the document window XIB of a document-based Mac app, hooking up the data methods in your Document class to it, and doing a little bit of wiring of menu items to the textview. Text formatting bar, rulers, Find in Page, font panel, etc. There’s a few things missing but not a ton.
The document-based app template gets you a lot for “free” too, including tabs and conversion of windows into tabs and vice versa.
The document-based app template gets you a lot for “free” too, including tabs and conversion of windows into tabs and vice versa.