






#import "ExpansionArtBeganWasArmContactViewController.h"
#import "NSString+PublicDry.h"

@implementation XXGSelectMobileAccountModel

@end

@interface ExpansionArtBeganWasArmContactViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *musicalRun;
@property (nonatomic, strong) UITableView *hisStepEyeView;
@property (nonatomic, assign) NSInteger invokeInspired;
@property (nonatomic, strong) UIButton *commonThreeButton;
@property (nonatomic, strong) UIButton *fitSkinMonthButton;

@end

@implementation ExpansionArtBeganWasArmContactViewController

- (XXGSelectMobileAccountModel *)musicalRun {
    return self.yetLearnTab;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.reportsHasButton.hidden = YES;
    self.peopleRedButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = CupDenyLeap.cutReuseIcyOur.longitudeSystemInvisibleMapFair;
    titleLabel.textColor = [CupDenyLeap ringMatchColor];
    titleLabel.font = [UIFont systemFontOfSize:CupDenyLeap.rarePutOther.negativePeer];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CupDenyLeap.rarePutOther.eyeRestFill);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.hueOriginSex);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = CupDenyLeap.rarePutOther.runCondensed;

    
    UIView *ownTagView = [[UIView alloc] init];
    ownTagView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:ownTagView];
    [ownTagView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.reuseFillAll);
    }];

    
    _commonThreeButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_commonThreeButton setTitle:CupDenyLeap.cutReuseIcyOur.dayObscures forState:UIControlStateNormal];
    [_commonThreeButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_commonThreeButton setBackgroundColor:UIColor.systemGray5Color];
    _commonThreeButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_commonThreeButton addTarget:self action:@selector(standardMathSolvePlaceGeneralAction:) forControlEvents:UIControlEventTouchUpInside];
    [ownTagView addSubview:_commonThreeButton];
    [_commonThreeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(ownTagView);
        make.width.equalTo(ownTagView).multipliedBy(0.5);
    }];

    
    _fitSkinMonthButton = [CupDenyLeap endSourceApplierAchievedLigatureColor:CupDenyLeap.cutReuseIcyOur.textKin];
    [_fitSkinMonthButton addTarget:self action:@selector(resetGreekPlanarRenewingProgramAction:) forControlEvents:UIControlEventTouchUpInside];
    [ownTagView addSubview:_fitSkinMonthButton];
    [_fitSkinMonthButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(ownTagView);
        make.width.equalTo(ownTagView).multipliedBy(0.5);
    }];

    
    _hisStepEyeView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
    _hisStepEyeView.backgroundColor = UIColor.systemGray6Color;
    _hisStepEyeView.contentInset = UIEdgeInsetsMake(0, 0, 10, 0);
    _hisStepEyeView.separatorStyle = UITableViewCellSeparatorStyleNone;
    _hisStepEyeView.rowHeight = CupDenyLeap.rarePutOther.typeChestAny;
    _hisStepEyeView.delegate = self;
    _hisStepEyeView.dataSource = self;
    [_hisStepEyeView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"XXGSelectMobileAccountCell"];

    [self.view addSubview:_hisStepEyeView];
    [_hisStepEyeView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(CupDenyLeap.rarePutOther.globallyTap);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(ownTagView.mas_top);
    }];

    
    if (self.musicalRun.manLossBarJob.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_hisStepEyeView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _invokeInspired = 0;
    }
}



- (void)standardMathSolvePlaceGeneralAction:(UIButton *)sender {
    [[CutStringManager shared] anyRedUplinkWindow];
    if (self.mixCatVisible && [self.mixCatVisible respondsToSelector:@selector(cancelRotationSendLowerWithinFlashOrderedSleet)]) {
        [self.mixCatVisible cancelRotationSendLowerWithinFlashOrderedSleet];
    }
}

- (void)resetGreekPlanarRenewingProgramAction:(UIButton *)sender {
    [[CutStringManager shared] anyRedUplinkWindow];
    if (self.mixCatVisible && [self.mixCatVisible respondsToSelector:@selector(ciphersCornerAbsoluteGoogleCourseCosmicTabPieceModel:retryDogAccount:)]) {
        NSString *retryDogAccount = self.musicalRun.manLossBarJob[self.invokeInspired];
        [self.mixCatVisible ciphersCornerAbsoluteGoogleCourseCosmicTabPieceModel:self.musicalRun retryDogAccount:retryDogAccount];
    }
}



- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return self.musicalRun.manLossBarJob.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *pong = [tableView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:indexPath];
    pong.backgroundColor = UIColor.whiteColor;
    pong.selectionStyle = UITableViewCellSelectionStyleNone;
    pong.textLabel.text = self.musicalRun.manLossBarJob[indexPath.row];
    pong.textLabel.textColor = UIColor.darkGrayColor;
    pong.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (indexPath.row == self.invokeInspired) {
        pong.accessoryType = UITableViewCellAccessoryCheckmark;
        pong.tintColor = [CupDenyLeap ringMatchColor];
    } else {
        pong.accessoryType = UITableViewCellAccessoryNone;
    }

    return pong;
}



- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    NSInteger kinHandball = self.invokeInspired;
    self.invokeInspired = indexPath.row;

    
    NSMutableArray *alwaysSplit = [NSMutableArray array];
    [alwaysSplit addObject:[NSIndexPath indexPathForRow:kinHandball inSection:0]];
    if (kinHandball != indexPath.row) {
        [alwaysSplit addObject:indexPath];
    }
    [tableView reloadRowsAtIndexPaths:alwaysSplit withRowAnimation:UITableViewRowAnimationNone];
}

@end
