2015-03-03 15:56:32 -05:00
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
@class IASKSpecifier;
|
|
|
|
@protocol IASKSettingsStore;
|
|
|
|
|
|
|
|
/// Encapsulates the selection among multiple values.
|
|
|
|
/// This is used for PSMultiValueSpecifier and PSRadioGroupSpecifier
|
|
|
|
@interface IASKMultipleValueSelection : NSObject
|
|
|
|
|
|
|
|
@property (nonatomic, assign) UITableView *tableView;
|
|
|
|
@property (nonatomic, retain) IASKSpecifier *specifier;
|
|
|
|
@property (nonatomic, assign) NSInteger section;
|
|
|
|
@property (nonatomic, copy, readonly) NSIndexPath *checkedItem;
|
|
|
|
@property (nonatomic, strong) id<IASKSettingsStore> settingsStore;
|
|
|
|
|
2017-04-11 16:15:18 -07:00
|
|
|
- (id)initWithSettingsStore:(id<IASKSettingsStore>)settingsStore;
|
2015-03-03 15:56:32 -05:00
|
|
|
- (void)selectRowAtIndexPath:(NSIndexPath *)indexPath;
|
|
|
|
- (void)updateSelectionInCell:(UITableViewCell *)cell indexPath:(NSIndexPath *)indexPath;
|
|
|
|
|
|
|
|
@end
|