zl程序教程

您现在的位置是:首页 >  其他

当前栏目

tableviewCell折叠状态2

状态 折叠
2023-09-27 14:28:41 时间

//

//  LHQContentViewCell.h

//  11 - 投资管理 - 李洪强

//

//  Created by vic fan on 16/4/12.

//  Copyright © 2016 李洪强. All rights reserved.

//

 

#import <UIKit/UIKit.h>

 

@class LHQDelegateModel;

@interface LHQContentViewCell : UITableViewCell

-------------

//

//  LHQContentViewCell.m

//  11 - 投资管理 - 李洪强

//

//  Created by vic fan on 16/4/12.

//  Copyright © 2016 李洪强. All rights reserved.

//

 

#import "LHQContentViewCell.h"

#import "LHQDelegateModel.h"

@interface LHQContentViewCell ()

//

@property (weak, nonatomic) IBOutlet UITextView *content;

//借款额度已使用

@property (weak, nonatomic) IBOutlet UILabel *account;

//当月使用

@property (weak, nonatomic) IBOutlet UILabel *Income;

//能否按时还息

@property (weak, nonatomic) IBOutlet UILabel *YESOrNo;

@end

 

 

@implementation LHQContentViewCell

 

 

-(void)customedWithModel:(LHQDelegateModel *)model

{

    NSArray *modelArr = model.contentArr;

    _account.text = modelArr[0];

    _Income.text = modelArr[1];

    _YESOrNo.text = modelArr[2];

    _content.text = modelArr[3];

}

 

@end

 

 

 

-(void)customedWithModel:(LHQDelegateModel *)model;

 

@end