Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions MATSOL/Classes/BaseConverterViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@
#import <UIKit/UIKit.h>
#import "Conversor.h"
#import "MATSOLDefines.h"
#import "CopyableLabel.h"


typedef enum{
MBaseConverterButtonFrom=-1,
MBaseConverterButtonTo=-2,
MBaseConverterButtonDelete=-3
}MBaseConverterButton;

@interface BaseConverterViewController : UIViewController<UIActionSheetDelegate, UIPickerViewDelegate> {
IBOutlet UILabel *fromLabel;
IBOutlet UILabel *toLabel;
@interface BaseConverterViewController : UIViewController<UIActionSheetDelegate, UIPickerViewDelegate, UITextFieldDelegate> {
IBOutlet CopyableLabel *fromLabel;
IBOutlet CopyableLabel *toLabel;

IBOutlet UILabel *fromIndicator;
IBOutlet UILabel *toIndicator;
Expand All @@ -35,8 +37,8 @@ typedef enum{
}

@property (strong, nonatomic) IBOutlet UIImageView *backgroundImage;
@property (nonatomic, strong) IBOutlet UILabel *fromLabel;
@property (nonatomic, strong) IBOutlet UILabel *toLabel;
@property (nonatomic, strong) IBOutlet CopyableLabel *fromLabel;
@property (nonatomic, strong) IBOutlet CopyableLabel *toLabel;
@property (nonatomic, strong) IBOutlet UILabel *fromIndicator;
@property (nonatomic, strong) IBOutlet UILabel *toIndicator;
@property (nonatomic, strong) NSMutableArray *buttonsConverter;
Expand Down
6 changes: 4 additions & 2 deletions MATSOL/Classes/BaseConverterViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#import "BaseConverterViewController.h"



@implementation BaseConverterViewController
@synthesize fromLabel;
@synthesize toLabel;
Expand Down Expand Up @@ -124,12 +125,13 @@ - (void)viewDidLoad {

//Update the UI
[self lockButtons];

}



#pragma mark -
#pragma mark Buttons Utilities

-(void)typeStuff:(id)sender{
UIButton *whoAmI=(UIButton *)sender;

Expand Down
Loading