ios/digitalCurrency/Controllers/C2C/views/BuyCoinsDetailCell/BuyCoinsDetail2TableViewCell.m
//
//  BuyCoinsDetail2TableViewCell.m
//  digitalCurrency
//
//  Created by iDog on 2019/2/1.
//  Copyright © 2019年 GIBX. All rights reserved.
//

#import "BuyCoinsDetail2TableViewCell.h"

@implementation BuyCoinsDetail2TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.coinType1Num setFont:[UIFont fontWithName:@"Helvetica-Bold" size:15.0]];
    [self.coinType2Num setFont:[UIFont fontWithName:@"Helvetica-Bold" size:15.0]];
    self.coinType1Width.constant = (kWindowW-141)/2;
    [self.coinType1Num addTarget:self action:@selector(textfieldAction:) forControlEvents:UIControlEventEditingChanged];
    [self.coinType2Num addTarget:self action:@selector(textfieldAction:) forControlEvents:UIControlEventEditingChanged];
    // Initialization code
}
- (void)textfieldAction:(UITextField *)textField
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(textFieldTag:TextFieldString:)]) {
        [self.delegate textFieldTag:textField.tag  TextFieldString:textField.text];
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
