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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to