kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

-[CPTAxis labelFormatter] should be typed as NSFormatter instead of NSNumberFormatter #508

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The labelFormatter and minorTickLabelFormatter properties of CPTAxis should be 
of type NSFormatter instead of NSNumberFormatter as they only feature core-plot 
uses is stringForObjectValue: which is defined in NSFormatter. So the 
developers using core-plot could decide which concrete subclass of NSFormatter 
they want to provide. In a lot of cases developers have custom number 
formatters which are not a subclass of Apple's NSNumberFormatter.

Original issue reported on code.google.com by frank.il...@googlemail.com on 15 Feb 2013 at 8:17

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 20 Feb 2013 at 2:25

GoogleCodeExporter commented 8 years ago
This issue was closed by revision c85bafa128b1.

Original comment by eskr...@mac.com on 23 Feb 2013 at 5:40