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 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