pod引用方式
pod 'XXLazyKit', :git => 'https://github.com/PittWong/XXLazyKit.git'
1.類擴(kuò)展,提供便捷的常用接口
2.一句宏定義搞定懶加載
3.一句宏定義搞定常用控件設(shè)置
4.常用折線統(tǒng)計(jì)圖,柱狀圖
5.XXButtonLikeCell解決如基本資料等設(shè)置類list用tableView不便的情況
懶加載控件
@property (nonatomic ,weak) UIButton *button;
@property (nonatomic ,weak) UITableView *tableView;
/******************************/
XXLazyButton(self.view, button)
XXLazyTableView(self.view, tableView)
快速設(shè)置控件屬性
XXLazySetTableView([UITableViewCell class], @"cell", [UIColor redColor]);
XXLazySetButton(button, self, buttonClick:, @"pitt", imageName1, imageName2, 0);
XXButtonLikeCell
3BA25AF1-88D1-4E67-8245-B49CE01D1469.png
折線統(tǒng)計(jì)圖,柱狀圖
6864D13F-7399-41CF-A956-4A0D2568DAEE.png