Tools
Download Search CocoaTraces for Mac OS X 10.4 for easily searching in Cocoa Traces from any application supporting system services!
Site Statistics
41141 Total Views
41 Traces
41 Fragments
47 Comments
54 Tags
41 Traces
41 Fragments
47 Comments
54 Tags
Tags
audio badge category class crash dock fade file finder font gradient hack help icon indicator kqueue LoginItems menu metadata NSButton NSCell NSControl NSDictionary NSDirectoryEnumerator NSDocument NSMenu NSPopUpButton NSProgressIndicator NSScrollView NSSound NSSpeechChannel NSString NSTableColumn NSTableView NSTabView NSToolbar NSURLConnection NSURLRequest NSView NSWindow preferences readme record report SerialPort shell speech support TabBar timer tooltip wrapper xml zoom
Display a file path like in Sherlock
Tags: NSView, fileRelated Traces
- Make views dockable (about 1 year)
- Easily create and display gradients in Cocoa (12 months)
- An advanced Safari style tab bar (11 months)
- An NSWindow subclass for easy attaching of views to other windows (8 months)
Add a new comment or fragment
Fields marked with * are mandatory.
An NSView that displays a file path. This looks kind of like how Sherlock displays the location of a file. Basically you get each folder's display name with its icon in front of it, and little grey triangles between them, and you get the icon of each file or folder and its display name.
If the path is too long, this takes items out of the middle and displays an ellipsis character (...) instead.
You can also right-click or control-click on this to get a contextual menu that contains "Reveal in Finder" and "Show Real Names" menu choices. Real names displays the actual path, starting with "/", and using the actual file names instead of their display names. As a shortcut, double-clicking this view is the same as "Reveal in Finder".
Finally, this also lets you hook up buttons to the view to let you choose an existing, or new file or folder name.