aboutsummaryrefslogtreecommitdiffstats
path: root/iBean/iBean/ThresholdListViewController.h
blob: 1ec62663324a684901c3016be43339eaa4c36a7f (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
//
//  ThresholdListViewController.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 ThresholdListViewController : UIViewController <UITableViewDataSource, UITableViewDelegate>

@property (nonatomic, strong) Configuration* configuration;
@property (nonatomic, strong) UIBarButtonItem *thresholdListEditDoneButton;

/* Utility methods */
- (void) initViewController;
- (void) initWithConfiguration: (Configuration*) configuration;

/* UI Outlets */
@property (weak, nonatomic) IBOutlet UITableView *thresholdListTableView;
@property (weak, nonatomic) IBOutlet UIToolbar *thresholdListBottomToolbar;
@property (strong, nonatomic) IBOutlet UIBarButtonItem *thresholdListEditButton;

/* UI Actions */
- (IBAction)toggleEditMode:(id)sender;

@end