• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[SOLVED] Re: Custom NSPathControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Re: Custom NSPathControl


  • Subject: [SOLVED] Re: Custom NSPathControl
  • From: Graham Cox <email@hidden>
  • Date: Fri, 7 May 2010 10:33:55 +1000

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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >Custom NSPathControl (From: Graham Cox <email@hidden>)
 >Re: Custom NSPathControl (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
  • Next by Date: QTMovieView binding
  • Previous by thread: Re: Custom NSPathControl
  • Next by thread: Communication between Cocoa and Carbon threads
  • Index(es):
    • Date
    • Thread