aboutsummaryrefslogtreecommitdiffstats
path: root/iBean/iBean/SettingsViewController.h
blob: efddfb24f3cc265c986250d8b4b828e2e98d51de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
//  SettingsViewController.h
//  iBean
//
//  Created by Eddie Ehlin on 2013-01-27.
//  Copyright (c) 2013 Eddie Ehlin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class Configuration;

@interface SettingsViewController : UITableViewController <UIAlertViewDelegate>

@property (nonatomic, strong) Configuration *configuration;

/* Utility methods */
- (void) initViewController;

/* UI Outlets */
@property (weak, nonatomic) IBOutlet UISwitch *countExtractionsSwitch;
@property (weak, nonatomic) IBOutlet UISwitch *useThresholdsSwitch;
@property (weak, nonatomic) IBOutlet UIStepper *extractionCountStepper;
@property (weak, nonatomic) IBOutlet UILabel *extractionCountLabel;

/* UI Actions */
- (IBAction)countExtractionsSwitchChanged:(id)sender;
- (IBAction)useThresholdsSwitchChanged:(id)sender;
- (IBAction)extractionCountStepperChanged:(id)sender;
- (IBAction)resetExtractionCount:(id)sender;

@end