1.1.2
OnTap 泛型支持推导cell
NavigationRow<NavigationCell>("自定义 Navigation Cell")
.height(52)
.onTap { cell in
print(cell) // NavigationCell
}
TableRow<BannerCell>(1993)
.onTap { (view, data) in
print(view, data) // BannerCell 1993
}
WrapperRow<BannerView>(1994)
.onTap { (view, data) in
print(view, data) // BannerView 1994
}