#import #import /// The HBDiscreteSliderTableCell class in CepheiPrefs is a subclass of the standard slider /// cell, which displays a vertical line at every whole number. Additionally, when dragging the /// slider, it jumps to these lines so the user’s preference will always be a whole number. /// /// It is no longer necessary to use this as of iOS 8.2, which has built in `isSegmented` and /// `segmentCount` parameters on PSSliderCell. This class is kept for backwards compatibility, and /// will use the built-in implementation on iOS 8.2 and newer. /// /// Requires iOS 7.0 or later. A normal slider is shown for older versions. /// /// ### Specifier Parameters /// All parameters specific to /// [PSSliderCell](http://iphonedevwiki.net/index.php/Preferences_specifier_plist#PSSliderCell) /// are applicable here. There are no custom parameters. /// /// ### Example Usage /// ```xml /// /// cell /// PSSliderCell /// cellClass /// HBDiscreteSliderTableCell /// default /// 5 /// defaults /// ws.hbang.common.demo /// key /// Discrete /// label /// Discrete /// max /// 15 /// min /// 1 /// /// ``` @interface HBDiscreteSliderTableCell : PSControlTableCell /// The slider control. @property (nonatomic, retain) PSDiscreteSlider *control; @end