blob: 3ddfe2b09248ce79140723c3512d82d57aad92e3 (
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
32
|
//
// InstaBeanViewController.h
// iBean
//
// Created by Eddie Ehlin on 2012-12-28.
// Copyright (c) 2012 Eddie Ehlin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface InstaBeanViewController : UIViewController
@property (weak, nonatomic) IBOutlet UILabel *extractionProgressLabel;
@property (weak, nonatomic) IBOutlet UIStepper *extractionSettingStepper;
@property (weak, nonatomic) IBOutlet UILabel *extractionSettingLabel;
@property (weak, nonatomic) IBOutlet UIButton *extractionButton;
@property (nonatomic) double extractionProgress;
@property (nonatomic) BOOL extractionInProgress;
@property (weak, nonatomic) NSTimer* timer;
//Utility methods
- (void) updateExtractionSettingLabel;
- (void) initInstaBean;
- (void) updateExtractionProgressLabel;
- (void) haltExtractionTimer;
//Event/signal based methods
- (IBAction)setExtractionTimer:(id)sender;
- (IBAction)startExtraction:(id)sender;
@end
|