Re: Using NSRulerView with a non-text view
Re: Using NSRulerView with a non-text view
- Subject: Re: Using NSRulerView with a non-text view
- From: Graham Cox <email@hidden>
- Date: Tue, 17 Feb 2009 10:25:33 +1100
On 17 Feb 2009, at 4:18 am, Joel Reymont wrote:
Has anyone used NSRulerView with graphic or other non-text views?
Sure - it works fine. It certainly doesn't appear to care or have any
knowledge of the kind of view it encloses, and there's no reason why
it should. You tell it everything it needs to know when you register
the settings - how far apart the marks are and how many submarks that
is divided into and so forth. It asks its delegate for everything else.
--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