Cocoa categories to extend NSTextView, including attributes and selection utilities, convenience methods to append, get and set strings, attributed strings, and RTF data.
This code is compatible with Mac OS X 10.3 and later. Much of it dates from the pre-bindings etc days, so there may be better ways to do things now, but hopefully you will find some of these useful.
If you use them, I'd appreciate mention in your application credits or website, and let me know! If you have any improvements or bug fixes, I'd appreciate them, too.
Click on the .h and .m attachments to view the source code, or the .zip file to download them. Note: you can download all of the categories in one archive via the DSCategories page.
| Attachment | Size |
|---|---|
| DSTextViewCategories.h | 2.8 KB |
| DSTextViewCategories.m | 8.16 KB |
| DSTextViewCategories.zip | 3.15 KB |






Recent comments
14 hours 38 min ago
2 days 15 hours ago
3 days 7 hours ago
3 days 7 hours ago
3 days 15 hours ago
3 days 15 hours ago
4 days 3 hours ago
6 days 11 hours ago
1 week 17 hours ago
1 week 2 days ago