Files
pyzule-rw/extras/CepheiPrefs.framework/Headers/HBStepperTableCell.h
zx 5fe28ee86c feat: INJECTION !!
PYZULE FINALLY DOESNT SUCK!
2024-09-03 00:13:00 -04:00

53 lines
1.4 KiB
Objective-C

#import <Preferences/PSControlTableCell.h>
/// The HBStepperTableCell class in CepheiPrefs allows setting a value using a stepper control
/// ("minus" and "plus" buttons).
///
/// Requires iOS 6.0 or later.
///
/// ### Specifier Parameters
/// <table class="graybox">
/// <tr>
/// <td>label</td> <td>Required. The label displayed when the value is plural. Use <code>%i</code>
/// to denote where the number should be displayed.</td>
/// </tr>
/// <tr>
/// <td>max</td> <td>Required. The highest possible numeric value for the stepper.</td>
/// </tr>
/// <tr>
/// <td>min</td> <td>Required. The lowest possible numeric value for the stepper.</td>
/// </tr>
/// <tr>
/// <td>singularLabel</td> <td>Required. The label displayed when the value is singular.</td>
/// </tr>
/// </table>
///
/// ### Example Usage
/// ```xml
/// <dict>
/// <key>cellClass</key>
/// <string>HBStepperTableCell</string>
/// <key>default</key>
/// <real>5</real>
/// <key>defaults</key>
/// <string>ws.hbang.common.demo</string>
/// <key>key</key>
/// <string>Stepper</string>
/// <key>label</key>
/// <string>%i Things</string>
/// <key>max</key>
/// <real>15</real>
/// <key>min</key>
/// <real>1</real>
/// <key>singularLabel</key>
/// <string>1 Thing</string>
/// </dict>
/// ```
@interface HBStepperTableCell : PSControlTableCell
/// The stepper control.
@property (nonatomic, retain) UIStepper *control;
@end