A random collection of useful bits of Cocoa, as found in Watson and in other sundry Karelia applications and testbeds. Feel free to adapt these for use in your Cocoa applications.
| NSView: Set and get a view's single subview | /AppKit_Categories |
| NSBrowser: access its scroller | /AppKit_Categories |
| NSImage: Normalize bitmap's size to 72DPI | /AppKit_Categories |
| NSWorkspace: Return the user's temporary directory | /AppKit_Categories |
| NSTabView: Return the tab view item with the given identifier | /AppKit_Categories |
| Return an array of the selected rows | /AppKit_Categories/NSTableView |
| NSWorkspace: Open a URL in the background (10.2) | /AppKit_Categories |
| Get Ascending and Descending Sort indicator images, 10.1 and 10.2 compatible | /AppKit_Categories/NSTableView |
·
Karelia Home