• 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: NSRulerView custom labels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRulerView custom labels


  • Subject: Re: NSRulerView custom labels
  • From: Joel Reymont <email@hidden>
  • Date: Mon, 16 Feb 2009 06:28:13 -0800 (PST)

Richard,

Richard Bannister wrote:
> Folks
>
> I'm working on an app that will be using timestamps in a NSRulerView -
> in the format 0:01, 0:02, et al.

Have you seen this?

http://www.noodlesoft.com/blog/2008/10/05/displaying-line-numbers-with-nstextview/

I'm exploring using NSRulerView for labeling stock charts. I think it
should work, unless NSRulerView specifically checks to make sure the
scroll view is a text one.

The Noodle Soft example shows how you can draw horizontal text (line
numbers) on the vertical ruler. I think you can use that approach to
draw your timestamps. I will use it to draw dates and price levels.

     Thanks, Joel

---
http://tinyco.de
_______________________________________________

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: 
 >NSRulerView custom labels (From: Richard Bannister <email@hidden>)

  • Prev by Date: Re: TableView leaks a lot of memory
  • Next by Date: Elements of Garageband Tutor window?
  • Previous by thread: NSRulerView custom labels
  • Next by thread: CALayers Lost After Switching Window's ContentView
  • Index(es):
    • Date
    • Thread