NSRulerView custom hash-marks through delegation documentation is wrong
||Date Originated:||24-May-2013 04:58 PM|
The header for NSRulerView states the following:
// You should never need to call this, but you might want to override it. This method is called by -drawRect: to draw the actual hash-marks and labels on the ruler. If you want to do custom hash-marks and labels you should first look at doing it with a delegate. You can do whatever kind of custom hash-marks you want through delegation as long as the hash-marks and labels are evenly spaced. But if you need to do hash-marks or labels that are not evenly spaced you will need to override this.
I'll point out specifically the mention of "You can do whatever kind of custom hash-marks you want through delegation…" — there are no delegate methods that I can see on NSRulerView that would let you do anything of the sort.
I'd love to be proven wrong, but I assume this is a mistake.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!