/**注釋*/
@property (nonatomic, strong) UILabel *
/**注釋*/
@property (nonatomic, strong) UIButton *
/**注釋*/
@property (nonatomic, strong) UIImage *
/**注釋*/
@property (nonatomic, strong) UITableView *
/**注釋*/
@property (nonatomic, strong) UITableViewCell *
/**注釋*/
@property (nonatomic, strong) UICollectionView *
/**注釋*/
@property (nonatomic, strong) UICollectionViewFlowLayout *
/**注釋*/
@property (nonatomic, strong) UICollectionViewCell *
/**注釋*/
@property (nonatomic, strong) UIImageView *
/**注釋*/
@property (nonatomic, strong) NSArray *
/**注釋*/
@property (nonatomic, strong) NSMutableArray *
/**注釋*/
@property (nonatomic, assign) BOOL
/**注釋*/
@property (nonatomic, assign) NSInteger
/**注釋*/
@property (nonatomic, copy) NSString *
/**注釋*/
@property (nonatomic, strong) NSString *
/**注釋*/
@property (nonatomic, assign) CGFloat
/** 強(qiáng)制引用轉(zhuǎn)化弱引用 */
__weak typeof(self) weakself = self;
———————SDautolayout下自定義Button
self.StoreBtn = [UIButton new];
? ?[self.StoreBtn setTitle:@"" forState:UIControlStateNormal];
? ?[self.StoreBtn setImage:[UIImage imageNamed:@""] forState:UIControlStateNormal];
? ?[self.StoreBtn setTitleColor:<#(nullable UIColor *)#> forState:UIControlStateNormal];
? ?self.StoreBtn.titleLabel.textAlignment = NSTextAlignmentCenter;
? ?self.StoreBtn.imageView.contentMode = UIViewContentModeScaleToFill;
? ?self.StoreBtn.titleLabel.font = [UIFont systemFontOfSize:24*kscale];
? ?[self.StoreBtn addTarget:self action:@selector(StoreBtn:) forControlEvents:UIControlEventTouchUpInside];
? ?[self.StoreBtn addTarget:self action:@selector(<#selector#>) forControlEvents:UIControlEventTouchUpInside];
? ?[self addSubview:self.StoreBtn];
self.StoreBtn.sd_layout
.widthIs(118*kscale)
.rightSpaceToView(lineView,1)
.topSpaceToView(self,0*kscale)
.heightRatioToView(self,1);
self.StoreBtn.imageView.sd_layout
.widthRatioToView(self.StoreBtn,0.33)
.topSpaceToView(self.StoreBtn,5)
.centerXEqualToView(self.StoreBtn)
.heightRatioToView(self.StoreBtn,0.33);
self.StoreBtn.titleLabel.sd_layout
.topSpaceToView(self.StoreBtn.imageView,10*kscale)
.leftSpaceToView(self.StoreBtn,0)
.rightSpaceToView(self.StoreBtn,0)
.bottomSpaceToView(self.StoreBtn,5);——————一次想不全后續(xù)及時(shí)添加