forked from tbl00c/ZZFLEX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
41 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.5 KB
(100%)
...Demo/ZZFLEXDemo.xcworkspace/xcuserdata/libokun.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## ZZFLEX更新记录 | ||
|
||
### 0.2.2 | ||
1、ZZFlexVC新增```isEmpty()```方法 | ||
|
||
2、ZZFLEXRequestQueue BUB修复 | ||
|
||
### 0.2.1 | ||
1、新增已有列表页不修改cell代码、迁移至ZZFLEX列表页方案 | ||
|
||
``` | ||
self.addCells(@"ZZFDAlbumCell").toSection(sectionType).withDataModelArray(data) | ||
.configAction(^(ZZFDAlbumCell *cell, ZZFDAlbumModel *model) { // 配置cell,等价于cellForRowAtIndexPath时的配置逻辑 | ||
[cell setModel:model]; | ||
}) | ||
.viewSize(CGSizeMake(itemWidth, itemWidth)) // 设置大小 | ||
.selectedAction(^ (ZZFDAlbumModel *model) { // 点击事件,等价于didSelectRowAtIndexPath时的逻辑 | ||
[XLPhotoBrowser showPhotoBrowserWithImages:@[model.image] currentImageIndex:0]; | ||
}); | ||
``` | ||
|
||
2、UITextFiled增加enable api | ||
|
||
### 0.2.0 | ||
1、addCell新增```configAction(__kindof UIView *itemView, id dataModel)```方法,可以使用传统方式配置cell属性,示例: | ||
|
||
``` | ||
self.addCell(@"ACell").toSection(sectionTag).configAction(^(UITableViewCell *cell, id model) { | ||
[cell.textLabel setText:model.name]; | ||
[cell.detailTextLabel setText:model.phoneNumber]; | ||
[cell setBackgroundColor:model.bgColor]; | ||
}); | ||
``` |