• 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
Re: Custom NSPathControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom NSPathControl


  • Subject: Re: Custom NSPathControl
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 6 May 2010 09:47:47 +0200

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.

-- Uli Kusterer
Sole Janitor
http://www.the-void-software.com



_______________________________________________

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

  • Follow-Ups:
    • [SOLVED] Re: Custom NSPathControl
      • From: Graham Cox <email@hidden>
References: 
 >Custom NSPathControl (From: Graham Cox <email@hidden>)

  • Prev by Date: Synthesized ivar for std::tr1::shared_ptr<MyClass>?
  • Next by Date: Re: [SOLVED] Re: Linking a specific controller instance to user defaults
  • Previous by thread: Re: Custom NSPathControl
  • Next by thread: [SOLVED] Re: Custom NSPathControl
  • Index(es):
    • Date
    • Thread