3 ms·
Edit.app is the original NeXTSTEP text editor from the 1989. It supported plain text and rich text files. Famously, the first web browser was based on the ric
by thought_alarm 6y ago
Edit.app is the original NeXTSTEP text editor from the 1989. It supported plain text and rich text files. Famously, the first web browser was based on the rich text capabilities built into NeXSTEP.
TextEdit.app is the OpenStep rewrite of Edit.app and dates to the mid 1990s. It was likely one of the first OpenStep apps. It supported the same rich text files as the original Edit.app.
Apple bought NeXT, OpenStep became Cocoa, TextEdit was ported to Java, and then back to garbage collected Objective-C, then ARC Objective-C, (then Swift, probably).
Along the way it picked up features for reading/writing/editing HTML and Microsoft Word documents.
Apple used to publish the source code for TextEdit as part of their Xcode sample code, but they stopped a few years ago.
- fiddlerwoaroof 6y agoYeah, I think TextEdit.app is supposed to be a showcase for the Cocoa text system, really.
- Wowfunhappy 6y ago> TextEdit was ported to Java Wait, what? Wow, that’s nuts!
- thought_alarm 6y agoJava was supposed to be the primary programming language for OS X. That's why they renamed OpenStep to Cocoa (Java and Cocoa go great together). But AppKit was still pure Objective-C, and bridging between AppKit's Obj-C APIs and the Java language presented problems. 3rd-party developers (eventually) preferred the write directly in Objective-C and Apple dropped the Java bridge some years later.
- anaerobicover 6y ago> Apple used to publish the source code for TextEdit as part of their Xcode sample code, but they stopped a few years ago. The URL still works if you want it, but, yeah, it's obviously not up-to-date: https://developer.apple.com/library/archive/samplecode/TextEdit/Introduction/Intro.html https://developer.apple.com/library/archive/samplecode/TextE... > (then Swift, probably). Not yet at least; there's no Swift symbols in the binary on Big Sur.