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

Custom NSPathControl


  • Subject: Custom NSPathControl
  • From: Graham Cox <email@hidden>
  • Date: Wed, 5 May 2010 21:20:59 +1000

I have a UI that is designed to break down a huge collection of items into a manageable subset that the user can work with at a time. Each item effectively has a sort of "path", that describes its hierarchy, not in terms of its location on disk, which is irrelevant, but its place in the whole big collection of objects which is vaguely analogous to a file path.

I was looking at NSPathControl as a way to neatly show which item was selected including its hierarchical information, but quickly realised that this control is very strongly tied to NSURLs as a specific form of path and was not designed to be readily abstracted.

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.

thanks for any help,

--Graham


_______________________________________________

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:
    • Re: Custom NSPathControl
      • From: Uli Kusterer <email@hidden>
    • Re: Custom NSPathControl
      • From: Quincey Morris <email@hidden>
    • Re: Custom NSPathControl
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Ticker Style Scrolling Text
  • Next by Date: Communication between Cocoa and Carbon threads
  • Previous by thread: Re: Drawing glitches in NSTableView with variable row hight (just like Console.app)
  • Next by thread: Re: Custom NSPathControl
  • Index(es):
    • Date
    • Thread