Thanks Uli, though I found NSPathControl quite easy to get to do what I wanted in the end - I guess I got too hung up on the 'URL' APIs and overlooked the usual -setStringValue: that it inherits.
Elsewhere, I have a very heavily modded UKDistributedView we could talk about... ;-) --Graham On 06/05/2010, at 5:47 PM, Uli Kusterer wrote: > On 05.05.2010, at 13:20, Graham Cox wrote: >> So is using NSPathControl even possible for this, or would I just be better >> off writing a complete new control from scratch? NSPathControl does some >> neat things like fading overlong text within a subcell that I could use, as >> well as displaying an icon and a triangle for the next item. What about >> subclassing the subcell? I guess I'm just looking for some direction here or >> even better, some code out there I can use. > > If you decide to go the "roll your own" route, check out my UKFilePathView at > <http://github.com/uliwitness/UliKit/>. It was written before NSPathControl, > and is also for files, but since complete source is available, you shouldn't > have a problem adapting it to your needs. > > It does text fading/truncation, icons, triangles and a bunch of other things. > If you make it more generic, feel free to send me a pull request (or e-mail > me your changes, or whatever...) and I'd happily re-integrate them. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com