美文网首页
快速代码

快速代码

作者: Alan龙马 | 来源:发表于2018-08-17 14:44 被阅读48次

缩略图

imageView2/1

UICollectionViewCell

CustomerCenterClvCell

image.png

UITableViewCell

MineSimpleTitleTbvCell
image.png
MineIncomeTbvCell
image.png
MineSimpleChoiceTbvCell
image.png
MineSimpleTbvCell
image.png
MineSimpleTFTbvCell
image.png
MineSimpleUserTbvCell
image.png
MineTbvCell
image.png
MinePayTbvCell
image.png
MineYaoTbvCell
image.png
MineOnlineTbvCell
image.png
MineAuthCodeTbvCell
image.png

自定义控件

[CustomPickerView showCustomTypeWithTitle:@"时间设置" ScaleHeight:0.5 ConfirmBlock:^(NSDate *date) {
        
    }];
image.png

  [CustomTimeView showCustomTypeWithTitle:@"countDownTimer" ScaleHeight:0.4 ConfirmBlock:^(NSDate *date) {
        NSString *strTime =[date timestampChangeFormatter:@"HH:mm"];//转为字符串
        [self.btnStart setTitle:strTime forState:0];
    }];
image.png
NSArray *arr = @[@"电话",@"上门",@"微信",@"面谈"];
[CustomTypeView showCustomTypeWithArr:arr Title:@"执行方式" ScaleHeight:0.5 ConfirmBlock:^(NSInteger index) {
    
}];
image.png
NSArray *arr = @[@"按键1",@"按键2"];
[CustomCallPhoneView showCustomPhoneWithArr:arr Title:@"按键设置" ContentHeight:230 ConfirmBlock:^(NSInteger index) {
        self.jianCell.labSubTitle.text = arr[index];
 }];
image.png

控制器

 SickDescribeVC *vc = [[SickDescribeVC alloc]init];
 vc.title = @"过敏病史";
 vc.labTitle.text = @"用户过敏病史";
 vc.txvDetail.placeholderLab.text = @"请详细的输入用户过敏减史";
 [self.navigationController pushViewController:vc animated:true];
image.png
 [CustomShowInfoView showCustomDateViewWithText:@"确定删除该照片吗?" ConfirmBlock:^{
      
    }];
image.png

相关文章

网友评论

      本文标题:快速代码

      本文链接:https://www.haomeiwen.com/subject/ddzzbftx.html