| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //
- // JYFSCell.m
- // jitao
- //
- // Created by 罗云飞 on 2018/1/19.
- // Copyright © 2018年 罗云飞. All rights reserved.
- //
- #import "JYFSCell.h"
- @implementation JYFSCell
- - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
-
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
- _title = [UILabel new];
- _title.text = @"交易方式";
- _title.font = NewFont(fitScreenWidth(12));
- [_title setSingleLineAutoResizeWithMaxWidth:0];
- [self.contentView addSubview:_title];
-
- _title.sd_layout
- .leftSpaceToView(self.contentView, 15)
- .heightIs(fitScreenWidth(12))
- .topSpaceToView(self.contentView, 10);
- }
- return self;
- }
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|