• 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
Design Advice - Bread Crumbs, NSPathControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Design Advice - Bread Crumbs, NSPathControl


  • Subject: Design Advice - Bread Crumbs, NSPathControl
  • From: "Rob Evans" <email@hidden>
  • Date: Sun, 4 Jan 2009 12:34:03 -0200

Folks,

I'd like to include a "Bread Crumbs" control in my application and
wonder if extending NSPathControl would be appropriate. I'd like my
control to look something like what you see in Apple's Instruments [1]
or WebKits WebInspector [2]. Since these are path like structures, I
naturally thought I should subclass NSPathControl and provide my own
NSPathComponentCell to get the specific look I'm after.

I've written some code that seems to work but my NSPathControl
subclass, when drawn, isn't as tall as I'd like it to be.

Am I on the right track? Can the height of an NSPathControl be,
well... controlled.

[1] http://lpetr.org/blog/wp-content/uploads/2007/06/safari_webinspector1.png
[2] http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/Art/instruments_window.jpg
_______________________________________________

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: Design Advice - Bread Crumbs, NSPathControl
      • From: Mudi Dandan <email@hidden>
  • Prev by Date: Re: Binding of "Object" and "Value" in NSPopupButtonCell
  • Next by Date: Cocoa Client/Server App
  • Previous by thread: Re: .DS_Store files, dirContentsAtPath? (newb)
  • Next by thread: Re: Design Advice - Bread Crumbs, NSPathControl
  • Index(es):
    • Date
    • Thread