Cocoa categories to extend NSMenu, including convenience methods for menu items with icons and represented objects.
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 |
|---|---|
| DSMenuCategories.h | 1.97 KB |
| DSMenuCategories.m | 4.39 KB |
| DSMenuCategories.zip | 2.7 KB |






Recent comments
1 day 5 hours ago
3 days 5 hours ago
3 days 21 hours ago
3 days 22 hours ago
4 days 5 hours ago
4 days 6 hours ago
4 days 18 hours ago
1 week 1 hour ago
1 week 1 day ago
1 week 3 days ago